[
https://issues.apache.org/jira/browse/KARAF-3601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498000#comment-14498000
]
Martin Lichtin commented on KARAF-3601:
---------------------------------------
I use the 3.0.3 karaf-maven-plugin as documented on
http://karaf.apache.org/manual/latest/developers-guide/karaf-maven-plugin.html
and the "features-add-to-repository" goal, again as documented.
This goal does exactly what I need: "Copying all bundles required for a given
set of features into a directory".
I don't want to create a custom Karaf distribution and/or use Kar files.
So would appreciate to keep this goal and not remove it. It does a great job
and is very useful.
> karaf-maven-plugin - support feature <conditional>
> --------------------------------------------------
>
> Key: KARAF-3601
> URL: https://issues.apache.org/jira/browse/KARAF-3601
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 3.0.3
> Reporter: Martin Lichtin
> Assignee: Freeman Fang
>
> This is a followup on
> http://karaf.922171.n3.nabble.com/How-does-conditional-work-in-feature-files-tp4038880p4038888.html
> When configuring the plugin with:
> {noformat}
> <descriptors>
>
> <descriptor>mvn:org.apache.karaf.features/spring/3.0.3/xml/features</descriptor>
>
> <descriptor>mvn:org.apache.karaf.features/standard/3.0.3/xml/features</descriptor>
> </descriptors>
> <features>
> <feature>webconsole</feature>
> ...
> {noformat}
> karaf-maven-plugin will not include the bundles that are inside the
> "webconsole" conditional of "standard".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)