4 Replies Latest reply on Aug 10, 2009 10:16 PM by Huisheng Xu

    jBPM4 - Maven usage

    Jim Dwyer Novice



      Placing the following pom snippet:


      org.jbpm.jbpm4
      jbpm
      provided
      4.0


      gives me the following error:

      Error building POM (may not be this project's POM).

      Project ID: org.jbpm.jbpm4:jbpm

      Reason: Parent element is a duplicate of the current project for project org.jbpm.jbpm4:jbpm


      Why? What is the correct GroupId, ArtifactId, version. What are the jbpm-jboss5 artifacts for? I am using JBoss 5.

      Any help would be appreciated.

      J

        • 1. Re: jBPM4 - Maven usage
          Jim Dwyer Novice

          Placing the following pom snippet:

          <dependency>
           <groupId>org.jbpm.jbpm4</groupId>
           <artifactId>jbpm</artifactId>
           <scope>provided</scope>
           <version>4.0</version>
           </dependency>
          



          gives me the following error:

          Error building POM (may not be this project's POM).

          Project ID: org.jbpm.jbpm4:jbpm

          Reason: Parent element is a duplicate of the current project for project org.jbpm.jbpm4:jbpm


          Why? What is the correct GroupId, ArtifactId, version. What are the jbpm-jboss5 artifacts for? I am using JBoss 5.

          Any help would be appreciated.

          J


          • 2. Re: jBPM4 - Maven usage
            Ronald van Kuijk Master

            afaik:

             <dependency>
             <groupId>org.jbpm.jbpm4</groupId>
             <artifactId>jbpm-api</artifactId>
             </dependency>
             <dependency>
             <groupId>org.jbpm.jbpm4</groupId>
             <artifactId>jbpm-test-base</artifactId>
             <scope>test</scope>
             </dependency>
             <dependency>
             <groupId>org.jbpm.jbpm4</groupId>
             <artifactId>jbpm-jpdl</artifactId>
             <scope>runtime</scope>
             </dependency>
            


            • 3. Re: jBPM4 - Maven usage
              Huisheng Xu Newbie

              So happy to see something use jBPM4 with Maven2, there is our dependency in maven2.


              <!-- jbpm start -->

              org.jbpm.jbpm4
              jbpm-jpdl
              4.0


              org.apache.ant
              ant


              jboss
              jboss-j2ee


              org.jbpm.jbpm4
              jbpm-test-base


              juel
              juel


              org.jboss.identity.idm
              idm-core


              org.jboss.identity.idm
              idm-hibernate


              org.hibernate
              hibernate-entitymanager


              log4j
              log4j


              org.slf4j
              slf4j-jdk14



              • 4. Re: jBPM4 - Maven usage
                Huisheng Xu Newbie

                 

                
                 <!-- jbpm start -->
                 <dependency>
                 <groupId>org.jbpm.jbpm4</groupId>
                 <artifactId>jbpm-jpdl</artifactId>
                 <version>4.0</version>
                 <exclusions>
                 <exclusion>
                 <groupId>org.apache.ant</groupId>
                 <artifactId>ant</artifactId>
                 </exclusion>
                 <exclusion>
                 <groupId>jboss</groupId>
                 <artifactId>jboss-j2ee</artifactId>
                 </exclusion>
                 <exclusion>
                 <groupId>org.jbpm.jbpm4</groupId>
                 <artifactId>jbpm-test-base</artifactId>
                 </exclusion>
                 <exclusion>
                 <groupId>juel</groupId>
                 <artifactId>juel</artifactId>
                 </exclusion>
                 <exclusion>
                 <groupId>org.jboss.identity.idm</groupId>
                 <artifactId>idm-core</artifactId>
                 </exclusion>
                 <exclusion>
                 <groupId>org.jboss.identity.idm</groupId>
                 <artifactId>idm-hibernate</artifactId>
                 </exclusion>
                 <exclusion>
                 <groupId>org.hibernate</groupId>
                 <artifactId>hibernate-entitymanager</artifactId>
                 </exclusion>
                 <exclusion>
                 <groupId>log4j</groupId>
                 <artifactId>log4j</artifactId>
                 </exclusion>
                 <exclusion>
                 <groupId>org.slf4j</groupId>
                 <artifactId>slf4j-jdk14</artifactId>
                 </exclusion>
                 </exclusions>
                 </dependency>