This project defines set of platform BOMs and Maven plugins so that Fuse users can have a consistent set of Maven bom GAVs to import into their projects regardless of the platform they are using (Karaf, EAP, or SpringBoot) all controlled via a single version.
You just need to add the <dependencyManagement>..</dependencyManagement>
section to your Maven build to pick up the correct set of Fuse supported artifacts.
Note: we assume that you add the fuse.version
property to your build and set it to a released version of this project.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>fuse-karaf-bom</artifactId>
<version>${fuse.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>fuse-eap-bom</artifactId>
<version>${fuse.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>fuse-springboot-bom</artifactId>
<version>${fuse.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
You can also stay aligned with the the Fuse recommended version of a few critical Maven plugins. Note that Fuse repackages these Maven plugins with a different group id and version from their upstream versions.
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>karaf-services-maven-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>camel-maven-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>camel-api-component-maven-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>camel-package-maven-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>camel-restdsl-swagger-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>camel-salesforce-maven-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>cxf-java2swagger-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>cxf-java2wadl-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>cxf-java2ws-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>cxf-wadl2java-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>cxf-wsdl-validator-plugin</artifactId>
<version>${fuse.version}</version>
</plugin>