Re: Forcing Integration Tests Before a Release

2014-03-25 Thread Eric Kolotyluk
I have tried to get this working, but it does not seem to work. When I do mvn release:prepare I get [INFO] Executing: cmd.exe /X /C D:\bin\Apache\apache-maven-3.1.1\bin\mvn -s C:\Users\Eric\AppData\Local\Temp\release-settings2652114304406041143.xml clean verify site --no-plugin-updates

Re: Forcing Integration Tests Before a Release

2014-03-25 Thread Mirko Friedenhagen
performRelease is only set during release:perform :-) Regards Mirko -- Sent from my mobile On Mar 25, 2014 10:05 PM, Eric Kolotyluk eric.koloty...@gmail.com wrote: I have tried to get this working, but it does not seem to work. When I do mvn release:prepare I get [INFO] Executing:

Re: Forcing Integration Tests Before a Release

2014-03-25 Thread Mirko Friedenhagen
Eric, you might modify the preparationGoals parameter to include -DperformRelease=true. Regards Mirko -- Sent from my mobile On Mar 25, 2014 10:05 PM, Eric Kolotyluk eric.koloty...@gmail.com wrote: I have tried to get this working, but it does not seem to work. When I do mvn

Re: Forcing Integration Tests Before a Release

2014-03-25 Thread Mirko Friedenhagen
Eric, I do only use release:prepare, see https://github.com/1and1/foss-parent/blob/master/release line 47ff. Regards Mirko -- Sent from my mobile On Mar 25, 2014 10:05 PM, Eric Kolotyluk eric.koloty...@gmail.com wrote: I have tried to get this working, but it does not seem to work. When I do

Re: Forcing Integration Tests Before a Release

2014-03-25 Thread Barrie Treloar
On 26 March 2014 07:34, Eric Kolotyluk eric.koloty...@gmail.com wrote: I have tried to get this working, but it does not seem to work. When I do mvn release:prepare I get [INFO] Executing: cmd.exe /X /C D:\bin\Apache\apache-maven-3.1.1\bin\mvn -s

Re: Forcing Integration Tests Before a Release

2014-03-25 Thread Eric Kolotyluk
Ahhh, actually adding -P run-it to the preparationGoals parameter does exactly what I want, and I can dispense with all the other complexities. I did not realize I could add other arguments to the preparationGoals parameter. Sometimes getting what you want from Maven is not obvious, until

Re: Forcing Integration Tests Before a Release

2014-03-21 Thread Eric Kolotyluk
Cool, that is what I am looking for. Thanks so much. Cheers, Eric On 2014-03-20, 1:50 PM, Mirko Friedenhagen wrote: Eric, when you use the maven-release-plugin a property performRelease is set during release:perform. So define in the pluginManagement section a definition for the

Re: Forcing Integration Tests Before a Release

2014-03-20 Thread Barrie Treloar
On 21 March 2014 06:02, Eric Kolotyluk eric.koloty...@gmail.com wrote: I am looking for some way to force my integration tests before a release, without explicitly using a profile. [del] Is there some way I can trigger the integration tests when doing a release mvn release:prepare

Re: Forcing Integration Tests Before a Release

2014-03-20 Thread Mirko Friedenhagen
Eric, when you use the maven-release-plugin a property performRelease is set during release:perform. So define in the pluginManagement section a definition for the maven-failsafe-plugin in your build section: build pluginManagement plugins plugin