I just upgraded from karaf 3.0.1 to karaf 3.0.3.
With 3.0.3 I were not able to install the war feature:
karaf@root()> feature:install -v war
Installing feature war 3.0.2
Installing feature http 3.0.2
Installing feature pax-http 3.1.2
Installing feature pax-jetty 8.1.15.v20140411
Found installed bundle: org.apache.servicemix.specs.activation-api-1.1 [65]
Found installed bundle:
org.apache.geronimo.specs.geronimo-servlet_3.0_spec [66]
Found installed bundle: javax.mail [67]
Found installed bundle: org.apache.geronimo.specs.geronimo-jta_1.1_spec [68]
Found installed bundle:
org.apache.geronimo.specs.geronimo-annotation_1.1_spec [69]
Found installed bundle:
org.apache.geronimo.specs.geronimo-jaspic_1.0_spec [70]
Found installed bundle: org.objectweb.asm.all [71]
Found installed bundle: org.eclipse.jetty.aggregate.jetty-all-server [72]
Checking configuration file
mvn:org.ops4j.pax.web/pax-web-features/3.1.2/xml/jettyconfig
Error executing command: Error resolving artifact
org.ops4j.pax.web:pax-web-features:xml:jettyconfig:3.1.2: Could not find
artifact org.ops4j.pax.web:pax-web-features:xml:jettyconfig:3.1.2
The cause of the problem is a local repository definition in
${user.home}/.m2/settings.xml:
<settings>
<localRepository>${user.home}/.m2/temp_repository</localRepository>
<mirrors>
<mirror>
<id>MY_NEXUS</id>
<url>http://mynexus/nexus/content/groups/public/</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
</settings>
If I remove the localRepository tag from settings.xml the installation
works fine.
It this a known bug?
Should I file a jira?
Thank you
Richard