Is it possible to define the location of the local repository in the
pom.xml (not the settings.xml)?
I'm pretty sure it was possible to do something similar with m1, but I
don't currently see a way to do it for m2
Thanks,
Mark Russell
no, but you can use a custom settings file using --settings
On 10/19/05, Russell, Mark [EMAIL PROTECTED] wrote:
Is it possible to define the location of the local repository in the
pom.xml (not the settings.xml)?
I'm pretty sure it was possible to do something similar with m1, but I
don't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Local repository is an environment-specific setting, and is only
specified two ways: (a) settings.xml, and (b) command-line, via
- -Dmaven.repo.local=/path/to/repo. Putting the local repository in the
POM would break portability for that project. If,
]
Sent: Wednesday, October 19, 2005 2:35 PM
To: Maven Users List
Subject: Re: [m2] Defining the local repository in the pom.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Local repository is an environment-specific setting, and is only
specified two ways: (a) settings.xml, and (b) command-line, via