Still struggling with this.... The configuration below runs all my tests
in both phases. Nothing is exluded or included :-( As far as I can see,
this config  is the same as the one recommended on
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion
-exclusion.html, where inclusion and exclusion patterns are reversed in
the two phases. Any insight greatly appreciated.  


<plugin>
  <artifactId>maven-surefire-plugin</artifactId>
  <executions>
    <execution>
       <id>integration-test</id>
       <phase>integration-test</phase>
       <configuration>
            <excludes>
               <exclude>**/Test*.java</exclude>
            </excludes>
          <includes>
               <include>
                 **/TestIntegration.java
               </include>
           </includes>
       </configuration>
  </execution>
  <execution>
     <id>test</id>
     <phase>test</phase>
     <configuration>
         <includes>
             <include>**/Test*.java</include>
          </includes>
         <excludes>
              <exclude>
                 **/TestIntegration.java
              </exclude>
         </excludes>
     </configuration>
   </execution>
 </executions>
</plugin>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to