Re: How to disable Test during build
Arun, you can also define the property on the command line that you execute Maven from: mvn -Dmaven.test.skip=true release Arun P Johny wrote: Hi all, Thanks for the help. I added true to my .m2/conf/settings.xml active profile. It is working fine now Thank again for all your help Arun P Johny wrote: Hi, Can anybody tell me how to disable execution of test phase during maven2 build. I'm using maven 2.0.7 I don't want the test phase to execute when I gaves mvn release:prepare and mvn release:perform Thank You, Arun - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Information from ESET NOD32 Antivirus, version of virus signature database 2854 (20080206) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to disable Test during build
Hi all, Thanks for the help. I added true to my .m2/conf/settings.xml active profile. It is working fine now Thank again for all your help Arun P Johny wrote: Hi, Can anybody tell me how to disable execution of test phase during maven2 build. I'm using maven 2.0.7 I don't want the test phase to execute when I gaves mvn release:prepare and mvn release:perform Thank You, Arun - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Information from ESET NOD32 Antivirus, version of virus signature database 2854 (20080206) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to disable Test during build
Hi, Thanks Rahul Is there a way to pass the value through pom.xml file. Because I don't want to pass the value every time as a command line argument Thank you Rahul Thakur wrote: pass property -Dmaven.test.skip=true Rahul Arun P Johny wrote: Hi, Can anybody tell me how to disable execution of test phase during maven2 build. I'm using maven 2.0.7 I don't want the test phase to execute when I gaves mvn release:prepare and mvn release:perform Thank You, Arun - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Information from ESET NOD32 Antivirus, version of virus signature database 2854 (20080206) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to disable Test during build
It is imho _not_ a good idea to pass tests when releasing! If you really are concerned about the time it takes, it might be a better idea to define a profile which contains all extra large tests manually (usually this is done e.g. for TCK), but run the basic tests in any situation. LieGrü, strub --- VUB Stefan Seidel <[EMAIL PROTECTED]> schrieb: > It might be better to use -Dmaven.test.skip.exec=true because otherwise > the test-jar is not being built. > > regards, > > Stefan > > Rahul Thakur wrote: > > pass property -Dmaven.test.skip=true > > > > Rahul > > > > Arun P Johny wrote: > >> Hi, > >> > >> Can anybody tell me how to disable execution of test phase during > >> maven2 build. I'm using maven 2.0.7 > >> > >> I don't want the test phase to execute when I gaves mvn > >> release:prepare and mvn release:perform > >> Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to disable Test during build
It might be better to use -Dmaven.test.skip.exec=true because otherwise the test-jar is not being built. regards, Stefan Rahul Thakur wrote: pass property -Dmaven.test.skip=true Rahul Arun P Johny wrote: Hi, Can anybody tell me how to disable execution of test phase during maven2 build. I'm using maven 2.0.7 I don't want the test phase to execute when I gaves mvn release:prepare and mvn release:perform Thank You, Arun - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel.+49 (341) 9 60 50 07 fax.+49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web.www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to disable Test during build
pass property -Dmaven.test.skip=true Rahul Arun P Johny wrote: Hi, Can anybody tell me how to disable execution of test phase during maven2 build. I'm using maven 2.0.7 I don't want the test phase to execute when I gaves mvn release:prepare and mvn release:perform Thank You, Arun - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to disable Test during build
Hi, Can anybody tell me how to disable execution of test phase during maven2 build. I'm using maven 2.0.7 I don't want the test phase to execute when I gaves mvn release:prepare and mvn release:perform Thank You, Arun - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]