You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "von Janowsky, Simon" <vo...@consist.de> on 2008/10/15 12:26:52 UTC

skip tests in a single goal

  Hello,
on our CI-Server (Hudson) we execute three goals per module: clean, deploy,
site.
Now the tests get executed twice, which is a correct behaviour, but can cost
lots of time...
Is there a way to disable tests for one single goal?

Greetings,
Simon.

Re: skip tests in a single goal

Posted by Baptiste MATHUS <ml...@batmat.net>.
Or maybe configuring the report "report-only" (corresponding to mvn
surefire-report:report-only) could do the trick. It was specifically
developed to workaround the double execution :
http://maven.apache.org/plugins/maven-surefire-report-plugin/report-only-mojo.html

Cheers.

2008/10/15 aXXa <ma...@gmail.com>

>
> Have you tried
> $>mvn deploy -Dmaven.test.skip=true
>
> -Martin
>
>
> von Janowsky, Simon wrote:
> >
> >   Hello,
> > on our CI-Server (Hudson) we execute three goals per module: clean,
> > deploy,
> > site.
> > Now the tests get executed twice, which is a correct behaviour, but can
> > cost
> > lots of time...
> > Is there a way to disable tests for one single goal?
> >
> > Greetings,
> > Simon.
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/skip-tests-in-a-single-goal-tp19990895p19991066.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Re: skip tests in a single goal

Posted by aXXa <ma...@gmail.com>.
Have you tried 
$>mvn deploy -Dmaven.test.skip=true

-Martin


von Janowsky, Simon wrote:
> 
>   Hello,
> on our CI-Server (Hudson) we execute three goals per module: clean,
> deploy,
> site.
> Now the tests get executed twice, which is a correct behaviour, but can
> cost
> lots of time...
> Is there a way to disable tests for one single goal?
> 
> Greetings,
> Simon.
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/skip-tests-in-a-single-goal-tp19990895p19991066.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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