How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread Ben Stover
I want to move the location of the settings.xml away from the users home directory into another (.e.g. the Maven installation directory). How can I achieve this for the cmdline usage (=NOT Eclipse) ? Yes, I know I can pass an additional parameter like mvn -s D:\maven\settings.xml install but

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread Guo Du
I prefer to have Maven auto-detect the settings.xml in its own installation directory. Looks like you just want put your settings inside M2_HOME/conf/settings.xml Happy holiday! -Guo - To unsubscribe, e-mail:

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread Greg Akins
On Sun, Dec 26, 2010 at 9:09 AM, Guo Du mrdu...@duguo.org wrote: I prefer to have Maven auto-detect the settings.xml in its own installation directory. Looks like you just want put your settings inside M2_HOME/conf/settings.xml Or.. mvn is a shell script (or batch file) You could just

Re: release plugin versus dependency plugin

2010-12-26 Thread Benson Margulies
The interesting thing is that M3 gets this right. On Sat, Dec 25, 2010 at 11:12 PM, Marshall Schor m...@schor.com wrote: The normal preparation goals for release:prepare stop short of install - they are: clean verify.  Verify is one before install.  You can find this information out by

[ANN] Maven Surefire Plugin 2.7.1 Released

2010-12-26 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.7.1 This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread benxs
Looks like you just want put your settings inside M2_HOME/conf/settings.xml Thank you. That sounds interesting! Does that mean that Maven reads automatically every time it starts the file M2_HOME/conf/settings.xml before the file userhome/.m2/settings.xml ? Does Maven read both or only

Re: release plugin versus dependency plugin

2010-12-26 Thread Anders Hammar
Reactor builds actually works in M3, so I'm not surprised. /Anders (mobile) Den 26 dec 2010 15.39 skrev Benson Margulies bimargul...@gmail.com: The interesting thing is that M3 gets this right. On Sat, Dec 25, 2010 at 11:12 PM, Marshall Schor m...@schor.com wrote: The normal preparation goals

My ExecutionListener

2010-12-26 Thread merovingia
I wanted to know how can I register my ExecutionListener in addition to DefaultExecutionListener. I would like to trap events such as: MojoSkipped MojoStarted MojoSucceeded in my plugin. Thanks -- View this message in context:

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread Guo Du
On Sun, Dec 26, 2010 at 4:44 PM, benxs bxsto...@yahoo.co.uk wrote: ? Does Maven read both or only the first file it finds? Which one has priority? Based on org.apache.maven.settings.building.DefaultSettingsBuilder implementation, maven read both and merge them on runtime.

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread Benson Margulies
M2_HOME/conf/settings.xml is the GLOBAL settings. They are always read, first. The the user's settings come in on top. On Sun, Dec 26, 2010 at 11:44 AM, benxs bxsto...@yahoo.co.uk wrote: Looks like you just want put your settings inside M2_HOME/conf/settings.xml Thank you. That sounds

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread benxs
Thank you. One more last question: Assume I use such an external Maven installation from Eclipse (= not the internal, embedded Maven from Eclipse). Does Eclipse pay attention to the preferences (e.g. the location of the Repository) in these settings.xmls as well? -- View this message in

Request received: Re: How to setup location of settings.xml NOT by cmdline? (ticket #21935)

2010-12-26 Thread Boxee Support
## In replies all text above this line is added to the ticket ## Request received: Re: How to setup location of settings.xml NOT by cmdline? (ticket #21935) Your request (#21935) has been received, and is being reviewed by our support staff. To review the status of the request and add