JBoss Community

Re: jBPM 5.2.0 & Maven

created by gardellajp in jBPM - View the full discussion

Suppose that artifact is not in maven central repository yet, so you can add this to your pom.xml:

 

<repositories>

        <!-- use this repository for stable releases -->

        <repository>

            <id>jboss-public-repository-group</id>

            <name>JBoss Public Maven Repository Group</name>

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

            <layout>default</layout>

            <releases>

                <enabled>true</enabled>

                <updatePolicy>never</updatePolicy>

            </releases>

            <snapshots>

                <enabled>false</enabled>

            </snapshots>

        </repository>

 

        <!-- use this repository for snapshot releases -->

        <repository>

            <id>jboss-snapshot-repository-group</id>

            <name>JBoss SNAPSHOT Maven Repository Group</name>

            <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>

            <layout>default</layout>

            <releases>

                <enabled>false</enabled>

            </releases>

            <snapshots>

                <enabled>true</enabled>

                <updatePolicy>never</updatePolicy>

            </snapshots>

        </repository>

    </repositories>

 

With this repositories, maven will can find the artifact and it's dependencies.

 

Juan

Reply to this message by going to Community

Start a new discussion in jBPM at Community