Jan,
maybe it's the pair of asterisks at the end of the exclude pattern. Try it with
just the one.
Question for you: how do you specify the different executions to run from the
command line?
rgds
Adam
Jan-Olav Eide on 12/10/06 08:44, wrote:
I have a set of tests that I only want to run in the integration-test
phase. These are all in in the .../integration/.. package
I have the following in my pom, but the plugin still insists on running
the integration tests in the test phase.
What is wrong with this configuration ?
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<id>surefire-test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<excludes>
<exclude>**/integration/**</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>surefire-integrationtest</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<includes>
<include>**/integration/**</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]