-----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, for example, I defined
the local repository as '/unix/local/repository/path' and you're on
Windows (or worse, vice versa), the build would break.

- -j

Russell, Mark 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 currently see a way to do it for m2
|
|
|
|
|
| Thanks,
|
|
|
| Mark Russell
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDVq3pK3h2CZwO/4URAu68AKCj3Jc9bFqnenGI8nwVsRBrVOk7bgCdFNsH
jhNNsjktm5m1clT7IeNKKFU=
=8Pbh
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to