While that may be true, not all projects are necessarily buildable on all platforms. However be that as it may, being able to define the local repository using a relative path would be nice (at least for my scenario).
MAR -----Original Message----- From: John Casey [mailto:[EMAIL PROTECTED] 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 - -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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]