Re: How to skip tests during release:prepare?
Also you can try: mvn -Dmaven.test.skip=true release:prepare 2011/12/6 cemartins > easy - here's the command: > > *mvn -Darguments="-DskipTests=true" release:prepare* > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/How-to-skip-tests-during-release-prepare-tp1223821p5049179.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: How to skip tests during release:prepare?
easy - here's the command: *mvn -Darguments="-DskipTests=true" release:prepare* -- View this message in context: http://maven.40175.n5.nabble.com/How-to-skip-tests-during-release-prepare-tp1223821p5049179.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to skip tests during release:prepare?
On Sun, Jul 18, 2010 at 10:57 PM, Stephen Connolly wrote: > the reason to bother compiling is to verify that the release build will work > when the version numbers have been transformed. But if you don't mind borked > tags in your SCM True: if you want to do anything beyond the test phase before tagging the code, this won't work. (I'm not scared by version number transformation ... I haven't had that break a build for me yet. Without running tests, you have no idea if anything will "work". You're really just checking that the compile / package will probably run without error. Of course, if your info is incorrect then the whole thing could still fall apart in 'perform'. My point was merely that the preparationGoals are just a way to hedge your bets anyway, and depending on your process, you might or might not care to do that.) Zac - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to skip tests during release:prepare?
Doubt it will make a difference, but you can try -DskipTests=true. Perhaps the alias will have another effect? On Mon, Jul 19, 2010 at 12:57 AM, Stephen Connolly wrote: > the reason to bother compiling is to verify that the release build will work > when the version numbers have been transformed. But if you don't mind borked > tags in your SCM > > On 19 July 2010 01:26, Zac Thompson wrote: > >> I think the preparationGoals property could also be useful here >> >> e.g. -DpreparationGoals=clean (if you're not going to test, why bother >> compiling during prepare at all?) >> >> >> http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#preparationGoals ->> >> Zac >> >> On Thu, Jul 15, 2010 at 4:57 PM, prenaud76 > >wrote: >> >> > >> > This sounds very basic, but release:prepare insists on running the test >> > phase >> > although I purposely set the -Dmaven.test.skip=true property. Problem is: >> I >> > don't want to run tests during a release and I cannot seem to find a way >> to >> > skip them. >> > >> > >> > Do you know of a way? >> > >> > >> > (Using the git scm provider) >> > >> > >> > Tx. >> > -- >> > View this message in context: >> > >> http://maven.40175.n5.nabble.com/How-to-skip-tests-during-release-prepare-tp1223821p1223821.html >> > Sent from the Maven - Users mailing list archive at Nabble.com. >> > >> > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to skip tests during release:prepare?
the reason to bother compiling is to verify that the release build will work when the version numbers have been transformed. But if you don't mind borked tags in your SCM On 19 July 2010 01:26, Zac Thompson wrote: > I think the preparationGoals property could also be useful here > > e.g. -DpreparationGoals=clean (if you're not going to test, why bother > compiling during prepare at all?) > > > http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#preparationGoals > > Zac > > On Thu, Jul 15, 2010 at 4:57 PM, prenaud76 >wrote: > > > > > This sounds very basic, but release:prepare insists on running the test > > phase > > although I purposely set the -Dmaven.test.skip=true property. Problem is: > I > > don't want to run tests during a release and I cannot seem to find a way > to > > skip them. > > > > > > Do you know of a way? > > > > > > (Using the git scm provider) > > > > > > Tx. > > -- > > View this message in context: > > > http://maven.40175.n5.nabble.com/How-to-skip-tests-during-release-prepare-tp1223821p1223821.html > > Sent from the Maven - Users mailing list archive at Nabble.com. > > >
Re: How to skip tests during release:prepare?
I think the preparationGoals property could also be useful here e.g. -DpreparationGoals=clean (if you're not going to test, why bother compiling during prepare at all?) http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#preparationGoals Zac On Thu, Jul 15, 2010 at 4:57 PM, prenaud76 wrote: > > This sounds very basic, but release:prepare insists on running the test > phase > although I purposely set the -Dmaven.test.skip=true property. Problem is: I > don't want to run tests during a release and I cannot seem to find a way to > skip them. > > > Do you know of a way? > > > (Using the git scm provider) > > > Tx. > -- > View this message in context: > http://maven.40175.n5.nabble.com/How-to-skip-tests-during-release-prepare-tp1223821p1223821.html > Sent from the Maven - Users mailing list archive at Nabble.com. >
RE: How to skip tests during release:prepare?
i use the feature when i want to create a jar to bypass potential bogus Surefire testcase.. (for qa distro i make sure testcases are compiled and executed) glad to hear that worked for you Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Fri, 16 Jul 2010 06:41:50 -0700 > From: patrick.ren...@ericsson.com > To: users@maven.apache.org > Subject: Re: How to skip tests during release:prepare? > > > YES ! This trick is working. Never saw that option before. > > > Many tx. :-) > > -- > View this message in context: > http://maven-users.828.n2.nabble.com/How-to-skip-tests-during-release-prepare-tp5299875p5301941.html > Sent from the maven users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > _ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3
Re: How to skip tests during release:prepare?
YES ! This trick is working. Never saw that option before. Many tx. :-) -- View this message in context: http://maven-users.828.n2.nabble.com/How-to-skip-tests-during-release-prepare-tp5299875p5301941.html Sent from the maven users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: How to skip tests during release:prepare?
mettez un release.properties sur le classpath qui contient les propriétés ajustées release.properties maven.test.skip=true fait cette aide? Martin __ Note de déni et de confidentialité Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Thu, 15 Jul 2010 16:57:01 -0700 > From: patrick.ren...@ericsson.com > To: users@maven.apache.org > Subject: How to skip tests during release:prepare? > > > This sounds very basic, but release:prepare insists on running the test phase > although I purposely set the -Dmaven.test.skip=true property. Problem is: I > don't want to run tests during a release and I cannot seem to find a way to > skip them. > > > Do you know of a way? > > > (Using the git scm provider) > > > Tx. > -- > View this message in context: > http://maven.40175.n5.nabble.com/How-to-skip-tests-during-release-prepare-tp1223821p1223821.html > Sent from the Maven - Users mailing list archive at Nabble.com. _ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
Re: How to skip tests during release:prepare?
Have you tried this?: -Darguments='-Dmaven.test.skip=true' -- View this message in context: http://maven.40175.n5.nabble.com/How-to-skip-tests-during-release-prepare-tp1223821p1223830.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
How to skip tests during release:prepare?
This sounds very basic, but release:prepare insists on running the test phase although I purposely set the -Dmaven.test.skip=true property. Problem is: I don't want to run tests during a release and I cannot seem to find a way to skip them. Do you know of a way? (Using the git scm provider) Tx. -- View this message in context: http://maven.40175.n5.nabble.com/How-to-skip-tests-during-release-prepare-tp1223821p1223821.html Sent from the Maven - Users mailing list archive at Nabble.com.