Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6223

Fabric8 Maven Plugin appends and does not replace SNAPSHOT versions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • jboss-fuse-6.3
    • Fabric8 v1
    • None
    • % %
    • Hide

      Example pom.xml containing the Fabric8 Maven Plugin configuration is attached.

      Project is deployed using mvn fabric8:deploy -DskipTests

      Show
      Example pom.xml containing the Fabric8 Maven Plugin configuration is attached. Project is deployed using mvn fabric8:deploy -DskipTests

    Description

      When using the Fabric8 Maven Plugin, snapshot versions are appended to a profile rather than being replaced.

      If a SNAPSHOT 1.0 version is initially deployed to a profile, followed by deploying a SNAPSHOT 1.1 both versions will be configured in the profile:

      JBossFuse:karaf@root> fabric:profile-display myCamel
      Profile id: myCamel
      Version   : 1.0
      Attributes: 
      	abstract: false
      	parents: feature-camel
      Containers: 
      
      Container settings
      ----------------------------
      Bundles : 
      	mvn:com.example/camel-blueprint/1.0-SNAPSHOT
      	mvn:com.example/camel-blueprint/1.1-SNAPSHOT
      
      Agent Properties : 
      	  lastRefresh.myCamel = 1477517260648
      
      
      Configuration details
      ----------------------------
      PID: io.fabric8.web.contextPath
        com.example/camel-blueprint camel-blueprint
      
      
      
      Other resources
      ----------------------------
      Resource: ReadMe.txt
      JBossFuse:karaf@root>
      

      This behavior was introduced with 6.2.1 R3 and looks to be related to the change made for ENTESB-5433. Prior to 6.2.1 R3 the snapshot version would be replaced.

      Attachments

        Issue Links

          Activity

            People

              johnpoth John Poth
              rhn-support-jsherman Jason Sherman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: