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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1, 4.0.0.M3
    • Component/s: karaf
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: