Hello, May be this is a stupid question but I've been searching for many hours and wonder why the tests can't be run. I have the message : There are no tests to run.
I'm running mvn -P itest clean install (the plugins are defined within this profile) The test classes are under src/test/java/.../itest They have of course the @Test annotation. Here the configuration of the plugins in my pom.xml : <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> <executions> <execution> <id>unit-tests</id> <goals> <goal>test</goal> </goals> <configuration> <excludes> <exclude>**/itest/**/*.java</exclude> <exclude>**/Test*.java</exclude> </excludes> <skip>false</skip> </configuration> </execution> <execution> <id>integration-tests</id> <phase>integration-test</phase> <goals> <goal>test</goal> </goals> <configuration> <includes> <include>**/itest/**/*.java</include> </includes> <skip>false</skip> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>selenium-maven-plugin</artifactId> <executions> <execution> <id>start-selenium</id> <phase>pre-integration-test</phase> <goals> <goal>start-server</goal> </goals> <configuration> <background>true</background> </configuration> </execution> </executions> </plugin> Any ideas ? Thanks, Marc.