Hi Team,

The issue has appeared several times in user mail list, Today, I built
my apache-karaf-3.0.0-SNAPSHOT based on the newest karaf source.

After I started karaf and executed "feature:repo-add camel 2.10.0" on
Windows cmd shell, the following error happened:

karaf@root()> feature:repo-add camel 2.10.0
Adding feature url
mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
Error executing command: Error resolving artifact
org.apache.camel.karaf:apache-camel:xml:features:2.10.0: Could not
transfer artifact
org.apache.camel.karaf:apache-camel:xml:features:2.10.0 from/to central
(http://repo1.maven.org/maven2/): Error transferring file: repo1.maven.org

I have set the following in etc\org.ops4j.pax.url.mvn.cfg file:

1)org.ops4j.pax.url.mvn.settings
BTW: My proxy setting has been set in my maven setting file.

2)org.ops4j.pax.url.mvn.proxySupport=true

So, I wish team can confirm the issue because I think that the issue is
very important because most of user/company have a proxy server to
access internet.

BTW: I also tried karaf 2.3.0 and similar error still happened as following:

karaf@root> features:addurl
mvn:org.apache.camel/camel-example-osgi/2.10.0/xml/features
Error executing command: Unable to add repositories:
        URL
[mvn:org.apache.camel/camel-example-osgi/2.10.0/xml/features] could not
be resolved.

Thanks
--Tang

Reply via email to