Hi,
I noticed that in order for karaf to pick up our Nexus server I have to add it
to org.ops4j.pax.url.mvn.repositories definitions. Is that expected? I couldn’t
find any documentation on this.
With my standard settings.xml, which has a mirror definition, I get:
karaf@root()> feature:install webconsole
Error executing command: Error resolving artifact
org.apache.servicemix.specs:org.apache.servicemix.specs.activation-api-1.1:jar:2.2.0:
Could not find artifact
org.apache.servicemix.specs:org.apache.servicemix.specs.activation-api-1.1:jar:2.2.0
karaf@root()>
If I rename the settings file:...
Erwins-MacBook-Pro:src erwin$ mv ~/.m2/settings.xml{,.bak}
karaf@root()> feature:install webconsole
karaf@root()>
… all is well.
In addition to Karaf-3.0.2 I am using Maven-3.2.1 and Java 7 on OS-X Maverick.
Please advise.
Kind Regards,
Erwin