Show Table of Contents
7.5. Dependency Management
In order to use correct Maven dependencies in your Red Hat JBoss BPM Suite project, relevant Bill Of Materials (BOM) and parent POM files must be added to the project's
pom.xml file. Adding the BOM and parent will ensure that correct versions of plugins and transitive dependencies from the provided Maven repositories are included in the project.
To ensure correct dependency usage in your project, declare the following parent in the project's
pom.xml file:
org.jboss.ip.component.management:ip-parent:1.2.1-redhat-2
and add the following two BOM files as dependencies in the
dependencyManagement section:
org.jboss.ip.component.management:ip-dependency-management-all:1.2.1-redhat-2org.jboss.component.management:jboss-dependency-management-all:6.1.2.Final-redhat-5
Use the entries from the code sample below for this purpose.
<parent>
<groupId>org.jboss.ip.component.management</groupId>
<artifactId>ip-parent</artifactId>
<version>1.2.1-redhat-2</version>
</parent>
...
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.ip.component.management</groupId>
<artifactId>ip-dependency-management-all</artifactId>
<type>pom</type>
<version>1.2.1-redhat-2</version>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.component.management</groupId>
<artifactId>jboss-dependency-management-all</artifactId>
<type>pom</type>
<version>6.1.2.Final-redhat-5</version>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.