In our corporate global settings file, we have:

 <mirror>
      <id>Nexus</id>
      <name>Nexus Mirror</name>
      <url>http://maven.basistech.net/nexus/content/groups/public</url>
      <mirrorOf>*,!apache.org,!sonar,!apache.snapshots</mirrorOf>
    </mirror>

That * turns out to be a very bad idea, and I'd like some advice in
fixing maven to make it a less bad idea.

Using m3, there are absolutely no logging messages about mirrors. So,
the following happens:

1) I create a new repo on my local repo manager.
2) I forget to add it to this list with ,!whatever
3) I try to use it.

What i get is error messages telling me that the item can't be found
in the mirror URL, but no log messages of the form: 'mapping repo X to
mirror Y'.  So I spent quite some time spinning my wheels before
realizing what was going on. And, once I have this mistake in place, I
can't override it in the local pom, since mirrors can't be in there.

A little logging would go a long way here. Can anyone point me at
which piece of the universe actually implements this so I can open a
JIRA and add a few log messages?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to