Show Table of Contents
6.4. Dependency Management
In order to use correct Maven dependencies in your Red Hat JBoss Fuse 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 plug-ins 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.fuse.bom:jboss-fuse-parent:6.2.1.redhat-084
and add the following two BOM files as dependencies in the
dependencyManagement section:
org.jboss.fuse.bom:jboss-fuse-parent:6.2.1.redhat-084
Use the entries from the code sample below for this purpose.
<parent>
<groupId>org.jboss.fuse.bom</groupId>
<artifactId>jboss-fuse-parent</artifactId>
<version>6.2.1.redhat-084</version>
</parent>
...
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.fuse.bom</groupId>
<artifactId>jboss-fuse-parent</artifactId>
<version>6.2.1.redhat-084</version>
<type>pom</type>
<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.