[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aether-users] define multiple local repositoris
|
What you are trying to achieve with multiple local repositories?
Some background information. Maven uses local repository for two more or less orthogonal reasons. Local repository serves as a local cache for artifacts downloaded from remote repositories. As any cache, local repository is a performance optimization, albeit very important one, and the same build output is expected regardless of local repository used, its initial content, etc. Local repository is also used as a way to share artifacts built on the local system. Semantically, it is the same as deploying artifacts to file:// repository and than using the file:// repository in the build. Either way, I don't see why one would want to have multiple local repositories.
Hello,
is it somehow possible to define more than one local Repository for aether?
i am affraid if I will use this code more than once... it will only react for the last definition:
LocalRepository localRepo = new LocalRepository(myLocalRepoURI);
session.setLocalRepositoryManager(system.newLocalRepositoryManager(session, localRepo));
Thanks MIra
_______________________________________________
aether-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit