java - How to split maven-surefire-plugin execution to two separate executions? -


this i'm trying do:

[...] <plugin>   <groupid>org.apache.maven.plugins</groupid>   <artifactid>maven-surefire-plugin</artifactid>   <version>2.5</version>   <configuration>     <excludes>       <exclude>**/*jsftest.java</exclude>     </excludes>     <executions>       <execution>         <phase>integration-test</phase>         <goals>           <goal>test</goal>         </goals>         <configuration>           <excludes>             <!-- intentionally empty override configuration above -->           </excludes>           <includes>             <include>**/*jsftest.java</include>           </includes>         </configuration>       </execution>     </executions>   </plugin> 

my custom <execution> has run jsf-related tests in container. unfortunately doesn't find tests. looks <includes> doesn't work. while <excludes> exclude these tests during phase test. what's wrong here?

check out on how both integration testing , testing in same project.

http://docs.codehaus.org/display/mavenuser/maven+and+integration+testing

my preference maven-failsafe-plugin


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -