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

Abel Amadou edited comment on KARAF-5999 at 5/3/21, 4:37 PM:
-------------------------------------------------------------

Hello [~jbonofre], 

Hope all is well. This is still an issue and it is now preventing upgrading to 
the latest Camel version. As you can see in Camel feature file there is an 
embedded CXF repository with a version range *[3,4)* 
[https://github.com/apache/camel-karaf/blob/camel-karaf-3.8.x/platforms/karaf/features/src/main/resources/features.xml#L21]
 . This is error message currently getting when building:

 
{code:java}
[ERROR] Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:4.2.9:features-add-to-repository 
(add-thirdparty-features) on project ddf: Error populating repository: Can't 
resolve artifact org.apache.cxf.karaf:apache-cxf:xml:features:[3,4): Failure to 
find org.apache.cxf.karaf:apache-cxf:xml:features:[3,4){code}
Note when building with older version of Camel that did not introduced the CXF 
version range e.g. Camel 3.7.3, I do not get any error.

 


was (Author: abel.amadou):
Hello [~jbonofre]

Hope all is well. This is still an issue and it is now preventing upgrading to 
the latest Camel version. As you can see in Camel feature file there is an 
embedded CXF repository with a version range *[3,4)* 
[https://github.com/apache/camel-karaf/blob/camel-karaf-3.8.x/platforms/karaf/features/src/main/resources/features.xml#L21]
 . This is error message currently getting when building:

 
{code:java}
[ERROR] Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:4.2.9:features-add-to-repository 
(add-thirdparty-features) on project ddf: Error populating repository: Can't 
resolve artifact org.apache.cxf.karaf:apache-cxf:xml:features:[3,4): Failure to 
find org.apache.cxf.karaf:apache-cxf:xml:features:[3,4){code}
Note when building with older version of Camel that did not introduced the CXF 
version range e.g. Camel 3.7.3, I do not get any error.

 

> features-add-to-repository doesn't support feature inner repository with range
> ------------------------------------------------------------------------------
>
>                 Key: KARAF-5999
>                 URL: https://issues.apache.org/jira/browse/KARAF-5999
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.1.6, 4.2.1
>            Reporter: Jean-Baptiste Onofré
>            Priority: Major
>
> If a feature repository contains {{<repository/>}} with version range, it 
> fails in the mojo.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to