5 Replies Latest reply on Dec 6, 2010 2:53 PM by hmesha

    jbpm5 maven repo reference

    hmesha

      Hi all,

       

      I'm working on integrating jbpm5 snapshot into a maven based project. I want to include dependency in my pom.xml for jbpm-flow to be able to interact with jbpm5 process runtime. However once I include the following dependency I get errors in my pom,xml about missing set of artifacts. What am I missing here?

       

              <dependency>
                  <groupId>org.jbpm</groupId>
                  <artifactId>jbpm</artifactId>
                  <version>${jbpm.version}</version>
              </dependency>
                             
              <dependency>
                  <groupId>org.jbpm</groupId>
                  <artifactId>jbpm-flow</artifactId>
                  <version>${jbpm.version}</version>
              </dependency>

       

      Any help would be appreciate it.

       

      Thanks,

       

      Hany Mesha

        • 1. Re: jbpm5 maven repo reference
          salaboy21

          do you have a Maven Repo that contains that version of jBPM?

          Greetings

          • 2. Re: jbpm5 maven repo reference
            hmesha

            Thanks for your reply. I have defined jboss maven repo in the profiles section of my project parent pom.xml as follow

             

            <repository>

                 <id>jboss</id>
                 <url>http://repository.jboss.org/nexus/content/groups/public/</url>
            </repository>

            • 3. Re: jbpm5 maven repo reference
              hmesha

              I get the the following error trying to build the jbpm5 src code out of the snapshot.

               

              [INFO] ------------------------------------------------------------------------
              [ERROR] BUILD ERROR
              [INFO] ------------------------------------------------------------------------
              [INFO] Error building POM (may not be this project's POM).

               


              Project ID: null:drools-api:jar:null

               

              Reason: Cannot find parent: org.drools:drools for project: null:drools-api:jar:null for project null:drools-api:jar:null

               


              [INFO] ------------------------------------------------------------------------
              [INFO] For more information, run Maven with the -e switch
              [INFO] ------------------------------------------------------------------------
              [INFO] Total time: 6 seconds
              [INFO] Finished at: Thu Dec 02 20:41:10 EST 2010
              [INFO] Final Memory: 30M/335M
              [INFO] ------------------------------------------------------------------------

              • 4. Re: jbpm5 maven repo reference
                krisverlaenen

                Assuming you're including the SNAPSHOT version, you should also add the JBoss Nexus Snapshot repository as in the jBPM parent pom here:

                https://github.com/krisv/jbpm/blob/master/pom.xml

                 

                Kris

                • 5. Re: jbpm5 maven repo reference
                  hmesha

                  Thanks, Kris. I was able to do just that. The key was to add jboss snapshot repository to my setting.

                   

                  Cheers

                   

                  Hany