Hi Martin, thanks for your answer, that helped a bit, now I have a build section and a reporting section in my pom with this configurations (see below), works fine, but the problem really was is that my cobertura plugin which by default, executes the tests again...I didn't realize that before...
Anyone knows howto avoid this? When setting <configuration> <skipTests>true</skipTests> </configuration> in the build section or -Dmaven.test.skip=true ALL tests are skipped, in the deploy goal and the site goal. Greetings, Simon. <build> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.4.3</version> </plugin> ... </build> AND <reporting> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.4.3</version> <reportSets> <reportSet> <reports> <report>report-only</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.2</version> <configuration> <formats> <format>xml</format> <format>html</format> </formats> </configuration> </plugin> ... </reporting> -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Baptiste MATHUS Gesendet: Mittwoch, 15. Oktober 2008 13:23 An: Maven Users List Betreff: Re: skip tests in a single goal 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-moj o.html Cheers. 2008/10/15 aXXa <[EMAIL PROTECTED]> > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
smime.p7s
Description: S/MIME cryptographic signature