maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Delaney" <mdela...@upromise.com>
Subject Setting up mirrors
Date Tue, 09 Mar 2010 00:49:30 GMT
All,

Using Maven 2.2.1, I'm trying to setup (in the 
$M2_HOME/conf/settings.xml file) some mirrors. Looking at the 
documentation 
(http://maven.apache.org/guides/mini/guide-mirror-settings.html) for 
2.2.1, it says that, in the <mirrorOf> tag, I can set repository 
includes and repository excludes but I can't seem to get it working as 
expected. Can anyone provide some help?

<mirrors>
<mirror>
<id>new-repository</id>
<url>http://repo.upromise.com:8080/archiva/repository/new-repo</url>
<mirrorOf>!*,platform-release,platform-snapshot</mirrorOf>
</mirror>
<mirror>
<id>full</id>
<url>http://repo.upromise.com:8080/archiva/repository/full</url>
<mirrorOf>*,!platform-release,!platform-snapshot</mirrorOf>
</mirror>
</mirrors>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message