Btw. I changed the build in decanter to generate a 1.2.1 feature file instead of a 1.3.0 one.
Probably that made the problem in karaf 4 visible.

Before my change decanter was specifying a 1.2.1 feature.xml as a template but then called the K4 karaf maven plugin which changed the namespace to 1.3.0. So the result did not work in karaf 3. I changed the build to use the plugin from karaf 3 which correctly uses the 1.2.1 namespace. This is more a quick fix though. I think we should also support the 1.2.1 namespace with the karaf maven plugin version 4.

Christian


On 12.03.2015 23:32, Achim Nierbeck wrote:
Hi,

did we change something recently in the sources for K4?
The latest snapshots of Karaf can't seem to be able to add a feature 1.2.1
file to the repo.

karaf@root()> feature:repo-add
mvn:org.apache.karaf.decanter/apache-karaf-decanter/3.0.0-SNAPSHOT/xml/features
Adding feature url
mvn:org.apache.karaf.decanter/apache-karaf-decanter/3.0.0-SNAPSHOT/xml/features
Error executing command: Unsupported namespace:
http://karaf.apache.org/xmlns/features/v1.2.1 :
mvn:org.apache.karaf.decanter/apache-karaf-decanter/3.0.0-SNAPSHOT/xml/features

Just happened today with freshly build Karaf(4) and Karaf-Decanter

regards, Achim



--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to