Generally good to just have one local repo per user. This defaults to
~/.m2/repository
Based on the pom.xml all the needed dependencies will be pulled from the
remote repos automatically so : no worries.
If you really want more than one local repo for the same user id, take a
look at settings.xml:
http://maven.apache.org/run-maven/index.html#Quick_Start
http://maven.apache.org/guides/mini/guide-configuring-maven.html
In continuous integration - it may be good to have one local repository
per project and a script that deletes the local repository before a
nightly build is performed; else if someone changes the coordinates of a
project, cruft can result in build issues that are hard to track down.
-
-------- Original Message --------
Subject: Multiple Local Repositories
From: iamanandkris
To: [email protected]
Date: 11/01/2012 08:14 AM
> Hi
>
> Can we have more than one local maven repositories in a computer? So that I
> can use one repo for on of my projects and other for other projects?
>
> If so can some one pls give some guide lines on how to facilitate that?
>
> Thank you
> Anand
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Multiple-Local-Repositories-tp5729020.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]