You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Bengt Rodehav (Jira)" <ji...@apache.org> on 2022/04/28 13:32:00 UTC
[jira] [Created] (KARAF-7428) karaf-maven-plugin and version ranges
Bengt Rodehav created KARAF-7428:
------------------------------------
Summary: karaf-maven-plugin and version ranges
Key: KARAF-7428
URL: https://issues.apache.org/jira/browse/KARAF-7428
Project: Karaf
Issue Type: Bug
Components: karaf
Affects Versions: 4.3.6
Reporter: Bengt Rodehav
I use Karaf 4.3.6 and I'm trying to upgrade our Camel version to the latest (2.14.2). It turns out I get a problem with karaf-maven-plugin, goal features-add-to-repository.
The new Karaf feature descriptor for Camel now starts with the following three lines:
<repository>mvn:org.apache.cxf.karaf/apache-cxf/[3.4,3.4]/xml/features</repository>
<repository>mvn:org.ops4j.pax.cdi/pax-cdi-features/[1,2)/xml/features</repository>
<repository>mvn:org.hibernate.validator/hibernate-validator-osgi-karaf-features/[6.2,6.3)/xml/features</repository>
But this causes the karaf-maven-plugin to try to download a file called "org/apache/cxf/karaf/apache-cxf/%5B3.4,3.4%5D/apache-cxf-%5B3.4,3.4%5D-features.xml" which of course fails.
I cannot determine whether this is a problem with the karaf-maven-plugin or with Camel's karaf feature descriptor?
If I comment out the above three lines it seems to work (it builds anyway - haven't actually tested it yet).
This has been discussed on Karaf User mailing list:
[https://www.mail-archive.com/user@karaf.apache.org/msg23664.html]
--
This message was sent by Atlassian Jira
(v8.20.7#820007)