Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1522

Add ability to prepare a Fuse/Camel maven project to be deployed on Fabric using fabric8-maven-plugin

    XMLWordPrintable

Details

    Description

      Would be nice to be able to visually add support for fabric8-maven-plugin in the project wizard.

      Today the user have to manually add and configure the fabric8-maven-plugin. This task is very error prone since there are many different and incompatible versions of this plugin.
      There are many properties have to be configured that is critical to work correctly inside the Fabric environment. Specially the paretProfiles, features and bundles.

      			<plugin>
      				<groupId>io.fabric8</groupId>
      				<artifactId>fabric8-maven-plugin</artifactId>
      				<version>${fabric8-maven-plugin.version}</version>
      				<configuration>
      					<jolokiaUrl>http://localhost:8181/jolokia</jolokiaUrl>
      					<profile>your-project-profile-name</profile>
      
      					<version>1.0</version>
      					<baseVersion>1.0</baseVersion>
      
      					<!-- jboss-fuse-minimal profile provides: 
      						Repositories: 
      							mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${version:servicemix-nmr}/xml/features 
      							mvn:org.jboss.fuse/jboss-fuse/6.1.0.redhat-379/xml/features 
      						Features: 
      							camel-core 
      							camel-jms 
      							camel-spring 
      							camel-jetty 
      							camel-blueprint 
      							jasypt-encryption 
      							fabric-bundle 
      							camel-jdbc 
      							camel-jaxb 
      					-->
      					<parentProfiles>jboss-fuse-minimal</parentProfiles>
      
      					<!-- some features are already provided by parent profiles. 
      					    The other ones are specified here -->
      					<features>cxf camel-cxf</features>
      
      					<!-- insert here your individual OSGI bundles -->
      					<bundles>mvn:org.apache.commons/commons-dbcp2/2.0.1 mvn:org.apache.commons/commons-pool2/2.2 wrap:mvn:jtds/jtds/1.3.1</bundles>
      				</configuration>
      			</plugin>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rafael.soares Rafael Soares
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: