/redhat-fuse

Product repo for Red Hat Fuse

Primary LanguageJava

Red Hat Fuse

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.

Dependency Management via BOMs

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.

For Karaf

<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>

For EAP

<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>

For Spring Boot

<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>

Maven Plugin Dependencies

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.

fabric8-maven-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>fabric8-maven-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

karaf-maven-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>karaf-maven-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

karaf-services-maven-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>karaf-services-maven-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

spring-boot-maven-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>spring-boot-maven-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

camel-maven-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>camel-maven-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

camel-api-component-maven-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>camel-api-component-maven-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

camel-package-maven-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>camel-package-maven-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

camel-restdsl-swagger-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>camel-restdsl-swagger-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

camel-salesforce-maven-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>camel-salesforce-maven-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

cxf-codegen-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>cxf-codegen-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

cxf-java2swagger-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>cxf-java2swagger-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

cxf-java2wadl-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>cxf-java2wadl-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

cxf-java2ws-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>cxf-java2ws-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

cxf-wadl2java-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>cxf-wadl2java-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>

cxf-wsdl-validator-plugin

<plugin>
  <groupId>org.jboss.redhat-fuse</groupId>
  <artifactId>cxf-wsdl-validator-plugin</artifactId>
  <version>${fuse.version}</version>
</plugin>