Within the settings.xml, you should be able to have an entry like this:
localRepositorysome\path\you'd\like/localRepository
-Original Message-
From: Tung Nguyen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006 9:59 AM
To: users@maven.apache.org
Subject: [m2] How to configure the
settings.xml can only exist in two places AFAIK. ~/.m2/settings.xml and
MAVEN_HOME/conf/settings.xml. The latter can be used to configure all
users on the machine and is thoroughly commented.
-Original Message-
From: Tung Nguyen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006
Leave the setttings xml where it is, configure the repository location
in there as described in the settings.xml file ...
Why would you have to put repository in same directory as project though
?
A
!-- localRepository
| The path to the local repository maven will use to store artifacts.
@maven.apache.org; Tung Nguyen [EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006 4:09:41 PM
Subject: RE: [m2] How to configure the local repository
Within the settings.xml, you should be able to have an entry like this:
localRepositorysome\path\you'd\like/localRepository
-Original Message-
From: Tung
Are you talking about your local repository or a repository you want to put 3d-party
libraries for your project in that you want under version control together with your project?
If the latter. I think (never tried myself) you can just define a repository in your
pom.xml like this:
project
On 7/11/06, Tung Nguyen [EMAIL PROTECTED] wrote:
Thank you, but in fact I need to do not use the
your-home-directory/.m2/settings.xml and your-home-directory/.m2/repository
at all. There's no way to place them in the project's folder ?
Yes, there is.
$ mvn --help
...
-s,--settings
.
- Original Message
From: [EMAIL PROTECTED]
To: users@maven.apache.org; [EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006 4:19:49 PM
Subject: RE: [m2] How to configure the local repository
Leave the setttings xml where it is, configure the repository location
in there as described in the settings.xml