Hi all,

I also tried to setup a company repsitory the same way Khin tried and
encountered exactly the same problems.
I then followed Alexandre's advice and installed and configured the
Maven-Standalone-Proxy (maven-proxy-standalone-0.2-app.jar). After deleting
my local repo and starting the proxy, I called maven on a project. First
result:  I got the same problems as without the proxy (plugins could not be
found).
BUT: The proxy-error message was verry helpfull. It said that the
maven-metadata.xml for the plugin which should be retrieved from the mirror
could not be found. This file was in fact not there. I only had a
maven-metadata-central.xml in the plugin root dir. After renaming all
maven-metadata-central.xml files in my own remote repo to maven-metadata.xml
everything worked fine. After that, I turned off the proxy, deleted my local
repo again, removed the proxy from settings.xml and called maven again.
Result: the plugins were downloaded from my own remote repo without any
problems - you see - it works without proxy.

Cheers,

Markus


lso did not work at firstAs the proxy error messages are much more
informative compared to maven, I found out, that the 
--
View this message in context: 
http://www.nabble.com/-m2-Internal-Repositories-t1258457.html#a3649303
Sent from the Maven - Users forum at Nabble.com.

Reply via email to