[
https://issues.apache.org/jira/browse/KARAF-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072176#comment-15072176
]
Amichai Rothman commented on KARAF-4222:
----------------------------------------
Note that while there is a workaround of using karaf-maven-plugin to create a
custom feature and manually add the missing bundles to it for offline
deployment, this doesn't always work. For example, the transaction feature
specifies org.apache.aries.transaction.blueprint with both versions 1.1.1 and
2.0.0. Attempting to add these to the custom feature results in only one of
them being added, and the other still has to be copied manually to the
distribution folder. The solution to this issue should handle this properly and
add multiple versions of the same bundle to the offline repo.
> Add a flag to add-features-to-repo and install-kar to include conditions
> ------------------------------------------------------------------------
>
> Key: KARAF-4222
> URL: https://issues.apache.org/jira/browse/KARAF-4222
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-tooling
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 4.0.4
>
>
> Right now, the add-features-to-repo goal (and depending of the config, the
> install-kar one) doesn't include the conditional artifacts in the resulting
> system folder.
> It may cause issue to create an offline-ready distribution.
> I will add a flag in the add-features-to-repo and install-kar goals to
> include all conditional resources.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)