maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aldana <ald...@gmx.de>
Subject Easy way to switch skipTests flag for integration-test phase
Date Tue, 28 Apr 2009 15:09:15 GMT

Hi,

by default my integration tests should not be run implicitly, so I set
<skip>true</skip>. Is there a way to tell surefire plugin to switch the skip
test flag for the integration-test phase by passing a command-line? Maybe by
passing the execution-id? 

I know it can be done by profiles, but I would like to avoid profiles.

Here the standard-configruation:
<execution>
   <id>integration-tests</id>
   <phase>integration-test</phase>
   <configuration>
   <skip>true</skip>
     <includes>
       <include>**/itest/**/*Test.java</include>
     </includes>
   </configuration>
   <goals>
     <goal>test</goal>
   </goals>
</execution>

thanks.

-----
manuel aldana
aldana((at))gmx.de
software-engineering blog: http://www.aldana-online.de
-- 
View this message in context: http://www.nabble.com/Easy-way-to-switch-skipTests-flag-for-integration-test-phase-tp23279114p23279114.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


Mime
View raw message