You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Markus Tippmann (JIRA)" <ji...@apache.org> on 2016/05/27 10:21:12 UTC

[jira] [Commented] (KARAF-4434) Version range not correctly resolved for distribution build

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

Markus Tippmann commented on KARAF-4434:
----------------------------------------

This seems to be the same for the repository version in feature.xml

<repository>mvn:groupid/artifactid/LATEST/xml/features</repository>
or 
<repository>mvn:groupid/artifactid/[0.0.1,1)/xml/features</repository>

results in:
${karaf.home}/system/groupid/artifactid/LATEST/artifactid-LATEST-features.xml
or
${karaf.home}/system/groupid/artifactid/[0.0.1,1)/artifactid-[0.0.1,1)-features.xml




> Version range not correctly resolved for distribution build
> -----------------------------------------------------------
>
>                 Key: KARAF-4434
>                 URL: https://issues.apache.org/jira/browse/KARAF-4434
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 4.0.4
>            Reporter: Markus Tippmann
>             Fix For: 4.1.0, 4.0.6
>
>
> using karaf-mave-plugin 4.0.4 without any obscure configuration, just bootFeatures, to build a distribution.
> One feature contains a bundle location with a version range like:
> <bundle>mvn:groupid/artifactid/[1.0,2)<bundle>
> The assembly succeeds to build, but the distribution afterwards contains:
> system/groupid/artifactid/[1.0,2)/artifactid-[1.0,2).jar
> So it looks like the karaf assemble goal does not use the resolved version but copies the version string from the feature XML.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)