Re: How to disable Test during build

2008-02-07 Thread David C. Hicks
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 Ar

Re: How to disable Test during build

2008-02-07 Thread Arun P Johny
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 tes

Re: How to disable Test during build

2008-02-07 Thread Arun P Johny
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

Re: How to disable Test during build

2008-02-06 Thread Mark Struberg
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ü, stru

Re: How to disable Test during build

2008-02-06 Thread VUB Stefan Seidel
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.

Re: How to disable Test during build

2008-02-06 Thread Rahul Thakur
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 -

How to disable Test during build

2008-02-06 Thread Arun P Johny
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