Hi Wiliam,
William Ferguson schrieb:
Sorry Roland, I don't follow. Maybe cause its Friday afternoon.
Indeed two hours to weekend :-))
I have a single mirror for central defined in
$MAVE_NHOME$\conf\settings.xml that points to a Proximity Server that is
proxying central as well as a couple of other repositories.
If I remove that mirror then it will attempt to hit central directly
right?
I posted a possible solution earlier here:
http://www.nabble.com/forum/ViewPost.jtp?post=10284989&framed=y
There you find a skeleton settings.xml, the profile section is important
because there you can overwrite the standard setting for central repo.
Regardless of the plugin version you're using, i recommend to edit
~\.m2\settings.xml, because this file is used by mvn cli version and
also by the eclipse plugin (0.0.10 and 0.0.11).
To overwrite the standard central repo has another advantage, some maven
plugins define different repo ID's in their pom's (like
apache.snapshots, codehaus.org, snapshots.codehaus.org etc.), so if
you're central repo url point to you're proxy this plugins will be
resolved also because mvn tries as a fallback to resolve dependencies
from central and this points to you're proxy. And everything is working ;)
We use the same config here, and we can use maven from CLI and in eclipse.
Roland
But then I'll need to define another repository that points to my
Proximity Server?
Can anyone confirm whether this relates to
http://jira.codehaus.org/browse/WAGON-73 and if so whether the change
that has been applied actually fixies the issue?
William
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email