Jason van Zyl wrote:

If you want Maven specific use the RepositorySystem in that branch (will go to trunk in a few days), and use Mercury directly if you want something Maven independent.

In case you decided to try out Mercury - look at IT https://svn.apache.org/repos/asf/maven/mercury/trunk/mercury-it/src/test/java/org/apache/maven/mercury/repository/tests/ComprehensiveRepositoryTest.java sets up 2 local repos, 2 remote repos and reads/writes to them. The idea is: you create a repository out of either URL of a local directory, then obtain and use either reader or writer via repo.getReader()/getWriter()

Or create a VirtualRepositoryReader() on top of a repository collection - it will search them all.

http://docs.codehaus.org/display/MAVEN/HowTo+use+Mercury+for+accessing+repositories

Mercury is also available as a set of Ant tasks. Poke me if you need more details ..

thanks,
Oleg

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

Reply via email to