karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-1223) Support mvn:* urls in karaf-maven-plugin:features-create-kar
Date Fri, 24 Feb 2012 06:42:49 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215439#comment-13215439
] 

Jean-Baptiste Onofré commented on KARAF-1223:
---------------------------------------------

I don't see a huge value to that as the feature file should be local to be able to create
the kar.
However, I can see an interesting use case to create kar over existing features (present on
a repo).
                
> Support mvn:* urls in karaf-maven-plugin:features-create-kar
> ------------------------------------------------------------
>
>                 Key: KARAF-1223
>                 URL: https://issues.apache.org/jira/browse/KARAF-1223
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-tooling
>    Affects Versions: 3.0.0
>            Reporter: Lukas Roedl
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>         Attachments: CreateKarMojo.java.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message