Re: Skip tests on release

2010-08-11 Thread a.geo
And again, ANT solution... :D not just kidding... you can use profiles production true and then use mvn package -P production 2010/8/11 Tony Chemit > Le Wed, 11 Aug 2010 08:33:06 -0400, > "C. Benson Manica" a écrit : > > > Thanks, this seems to be what I was lo

Re: Skip tests on release

2010-08-11 Thread Tony Chemit
Le Wed, 11 Aug 2010 08:33:06 -0400, "C. Benson Manica" a écrit : > Thanks, this seems to be what I was looking for. Yeah, as it was written in the link I gave you... > > On Tue, Aug 10, 2010 at 1:35 PM, Larry Shatzer, Jr. wrote: > > > I've seen it like this in a parent corporate pom: > > > > I

Re: Skip tests on release

2010-08-11 Thread C. Benson Manica
Thanks, this seems to be what I was looking for. On Tue, Aug 10, 2010 at 1:35 PM, Larry Shatzer, Jr. wrote: > I've seen it like this in a parent corporate pom: > > In the release plugin configuration: > > >org.apache.maven.plugins > maven-release-plugin > >

Re: Skip tests on release

2010-08-10 Thread Tony Chemit
Le Tue, 10 Aug 2010 13:25:41 -0400, "C. Benson Manica" a écrit : > I do pretty much always want to release with the tests done, but why do they > have to run twice for essentially the same process, i.e. prepare and > perform? They take a long time, and are they really likely to fail between > pr

Re: Skip tests on release

2010-08-10 Thread Larry Shatzer, Jr.
I've seen it like this in a parent corporate pom: In the release plugin configuration: org.apache.maven.plugins maven-release-plugin clean install deploy -P release Then later on: release true

Re: Skip tests on release

2010-08-10 Thread C. Benson Manica
I do pretty much always want to release with the tests done, but why do they have to run twice for essentially the same process, i.e. prepare and perform? They take a long time, and are they really likely to fail between prepare and perform? I guess if I'm stuck, I'm stuck, but this seems gratuit

Re: Skip tests on release

2010-08-10 Thread Tony Chemit
Le Tue, 10 Aug 2010 12:32:55 -0400, "C. Benson Manica" a écrit : > mvn -DskipTests=true -Dmaven.test.skip=true release:perform still insists on > running the unit tests. Why? They already ran on release:prepare, I > really, really, really get annoyed sitting through five minutes of unit > tests

Skip tests on release

2010-08-10 Thread C. Benson Manica
mvn -DskipTests=true -Dmaven.test.skip=true release:perform still insists on running the unit tests. Why? They already ran on release:prepare, I really, really, really get annoyed sitting through five minutes of unit tests that I know pass because I just ran them. -- C. Benson Manica cbman...@g