Carlos Sanchez wrote:
> I use one id per configuration, for instance having all with the same
> id allows you to have only one <server> entry in the settings.xml
> sharing username and password

I'm not sure what you mean by configuration.

The two cases in archiva which now share the the id 'apache.snapshots'
are both
<url>http://people.apache.org/repo/m2-snapshot-repository</url>, and so
I would think it desirable feature that they share a single id for
matching elements in settings.xml.

For example, if you have a local mirror or proxy of that repository, you
can write a single settings.xml fragment that catches both, or if the
repository is down, you can stop maven trying to access it with a single
<repository> and <pluginRepository> instead of duplicating them for two ids.

Max.

Reply via email to