Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1223

Support mvn:* urls in karaf-maven-plugin:features-create-kar

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1, 4.0.0.M3
    • karaf
    • None

    Description

      The features-create-kar goal of the karaf-maven-plugin plugin currently only supports references to local feature files. The featuresFile tag should also support mvn:* urls.
      This may also avoid the following problem if the features file is added with the correct groupId/artifactId.

      In a single pom the karaf-maven-plugin with goal features-create-kar is executed twice to generate two separate kar files from two independent features.xml files.
      The resulting kar files are deployed to the "deploy" folder and at Karaf's startup it seems that only one of them is loaded.
      The plugin adds the feature files with the same groupId/artifactId to the kar files and while deploying they overwrite each other.

      Attachments

        1. CreateKarMojo.java_20120504.patch
          9 kB
          Lukas Roedl
        2. CreateKarMojo.java.patch
          6 kB
          Lukas Roedl

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            roedll Lukas Roedl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: