Hi to all,

My archiva proxy has a the regular 'internal' and 'snapshot' repositories.

Many proxies to apache, jboss and java.devnet, for release and/or snapshots.

ie :

<url>http://people.apache.org/repo/m2-snapshot-repository</url>
<username/>
<password/>
<id>apachesnapshots</id>
<name>Apache Snapshot Repository</name>
</remoteRepository>

<remoteRepository>
<url>http://repository.jboss.com/maven2</url>
<id>jboss</id>
<name>JBoss Repository</name>
</remoteRepository>

All are proxied to archiva 'internal' repo.

<proxyConnector>
<order>1</order>
<sourceRepoId>internal</sourceRepoId>
<targetRepoId>apachesnapshots</targetRepoId>

...

<proxyConnector>
<order>4</order>
<sourceRepoId>internal</sourceRepoId>
<targetRepoId>jboss</targetRepoId>
...

I should mix release/snapshot since I got the following in my settings.xml :

<mirror>
<id>archiva</id>
<url>
http://myrepository.mycorp.com/archiva/repository/internal
</url>
<mirrorOf>*</mirrorOf>
</mirror>


I wonder how I could trick my settings.xml to get ALL releases from
internal and ALL snapshots from snapshot.

Regards

Reply via email to