Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.18.1
-
None
Description
Currently test/it.test property overrides includes and excludes parameters with default execution phase id.
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.18.1</version> <configuration> <includes> <include>**/*Test.java</include> </includes> </configuration> <executions> <execution> <id>another-test</id> <goals> <goal>test</goal> </goals> </execution> </executions> </plugin>
The command mvn verify -Dit.test=ExampleTest#testFailsafe should override the includes/excludes parameter whatever execution is specified.