Hi,
setting the settings.xml location in the pom is not possible and not
advisable IMHO.
Are you sure the system property is recognized at all. Doing a quick
test, it doesn't seem so. If the property is working for you, you can
set the environment variable MAVEN_OPTS and maven will pick it up
automatically.
If the property is not working for you, too. The best option would be
(at least in my opinion) to just patch the maven start script and
hardcode the settings option (-s ...) or introduce a new environment
variable MAVEN_ARGS and use that.
-Tim
prabodh schrieb:
Hi
I want to know that is it possible to specify settings.xml path location in
pom.xml.
I dont want to store my settings.xml in default location (user home\.m2 or
maven\conf)
and also i dont want that user needs to sepcify the path at command line
using -Dorg.apache.mave.global-settings.
Thanks in advance
Prabodh Mitra
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]