hmm, not really sure what's the problem.
If alll your configuration is correct, it should just work.
You can double check
1. if your nexus configuration correct? Does it really work as expected?
2. server1 can connect server2
Freeman
On 2012-6-27, at 下午2:45, manish.shri wrote:
Hi Freeman,
Thanks for your response to my query above. The problem was
maven
repository. It was not able to connect to the internet because of
firewall
issues. Now got resolved.
Now I have the same issue getting reproduced on one of the
servers.
The setup is as follows.
1. Server lets say Server1 has an instance of SMX 4.4.2. This
server
does not have an internet connectivity.
2. Maven has been installed on the server.
3. A nexus repository has been setup on another server lets say
Server2. This server has an internet connectivity to download the
maven
repositories.
4. The maven on Server1 is pointing to the Nexus repository
mirror on
Server2 to get the repositories.
5. After I try to add the *features:addurl
mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.3/xml/features*
I get the same error which I used to get on my local SMX setup
"Could not add Feature Repository:
java.lang.RuntimeException: URL
[mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.3/xml/features]
could
not be resolved."
Also changed the org.ops4j.pax.url.mvn.cfg file in SMX and set the
value of
"org.ops4j.pax.url.mvn.repositories =" to point to the Nexus
repository.
Please suggest a solution for the same.
Thanks in advance.
--
View this message in context:
http://servicemix.396122.n5.nabble.com/ServiceMix-Cellar-configuration-error-tp5713309p5713786.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042