You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arun P Johny <ar...@greytip.com> on 2008/02/07 04:54:49 UTC
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to disable Test during build
Posted by Arun P Johny <ar...@greytip.com>.
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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> __________ 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to disable Test during build
Posted by Mark Struberg <st...@yahoo.de>.
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 <ss...@vub.de> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to disable Test during build
Posted by VUB Stefan Seidel <ss...@vub.de>.
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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
--
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. sseidel@vub.de
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to disable Test during build
Posted by Rahul Thakur <ra...@gmail.com>.
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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to disable Test during build
Posted by "David C. Hicks" <dh...@i-hicks.org>.
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 <maven.test.skip>true</maven.test.skip> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>> __________ 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to disable Test during build
Posted by Arun P Johny <ar...@greytip.com>.
Hi all,
Thanks for the help.
I added <maven.test.skip>true</maven.test.skip> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> __________ 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org