If you don't happen to have a "-s" option in your command line, then the
settings is either in your ".m2" home directory or in your maven
installation.
I don't know if there's a way to find the location of the settings file
but there are few things you may want to look for.
First be sure of which user is executing maven. For example if you're
executing maven within Jenkins or Hudson, may be the user launching it
isn't the one you think so you have to look for the home directory of
that user.
The second thing you have to know is that the effective pom is a merge
of your personal settings file and the one located in the "conf"
directory of your maven installation. May be the information you're
looking for is there.
Alexis.
Le 15/03/2011 14:44, Asmann, Roland a écrit :
Hi all,
I had this feeling that my Maven was using the wrong settings.xml file
and when running help:effective-settings, it indeed shows me the wrong
configuration.
Now, I looked in all the normal places where settings.xml files are
looked for, but I can't seem to find where Maven is seeing this file! Is
there some way to have Maven report back on where the settings.xml files
where found?
Thanks,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]