You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rubén Barroso <ru...@gmail.com> on 2005/11/21 18:15:23 UTC

[m2] How to skip tests in packaging

Hello,

I'm trying to bypass testing in package phase (creating a WAR). Anyone
knows how could I perform this?

Thanks in advance!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] How to skip tests in packaging

Posted by Anuerin Diaz <ra...@gmail.com>.
the surefire plugin has a configuration[1] for skipping tests. you can
configure a profile[2] that has this set to true if you need it. hth.

[1] http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
[2] http://maven.apache.org/guides/introduction/introduction-to-profiles.html

ciao!


On 11/21/05, Rubén Barroso <ru...@gmail.com> wrote:
> Thanks a lot, but I actually meant how could I achieve that
> configuring it through the pom. Is it possible?
>
> Thanks again.
>
> 2005/11/21, Emmanuel Venisse <em...@venisse.net>:
> > mvn -Dmaven.test.skip=true package
> >
> > Rubén Barroso a écrit :
> > > Hello,
> > >
> > > I'm trying to bypass testing in package phase (creating a WAR). Anyone
> > > knows how could I perform this?
> > >
> > > Thanks in advance!
> > >

--

"Programming, an artform that fights back"

Anuerin G. Diaz
Registered Linux User #246176
Friendly Linux Board @ http://mandrivausers.org/index.php
http://capsule.ramfree17.org , when you absolutely have nothing else
better to do

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] How to skip tests in packaging

Posted by Rubén Barroso <ru...@gmail.com>.
Thanks a lot, but I actually meant how could I achieve that
configuring it through the pom. Is it possible?

Thanks again.

2005/11/21, Emmanuel Venisse <em...@venisse.net>:
> mvn -Dmaven.test.skip=true package
>
> Rubén Barroso a écrit :
> > Hello,
> >
> > I'm trying to bypass testing in package phase (creating a WAR). Anyone
> > knows how could I perform this?
> >
> > Thanks in advance!
> >
> > ---------------------------------------------------------------------
> > 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] How to skip tests in packaging

Posted by Emmanuel Venisse <em...@venisse.net>.
mvn -Dmaven.test.skip=true package

Rubén Barroso a écrit :
> Hello,
> 
> I'm trying to bypass testing in package phase (creating a WAR). Anyone
> knows how could I perform this?
> 
> Thanks in advance!
> 
> ---------------------------------------------------------------------
> 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