[
https://jira.codehaus.org/browse/SUREFIRE-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=356048#comment-356048
]
Tibor Digana commented on SUREFIRE-1085:
----------------------------------------
Not reproducible with Maven 3.2.3 and failsafe 2.18.
The problem is that Maven does not have failsafe in default-bindings and thus
you should configure it as follows, then everything would work:
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.18</version>
<executions>
<execution>
<id>it</id>
<goals>
<goal>integration-test</goal>
</goals>
<phase>integration-test</phase>
</execution>
<execution>
<id>ver</id>
<goals>
<goal>verify</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
I have tested with command "mvn -Dit.test=ITCircle verify" and ITCircle.java.
> Documentation incorrect for running single integration test
> -----------------------------------------------------------
>
> Key: SUREFIRE-1085
> URL: https://jira.codehaus.org/browse/SUREFIRE-1085
> Project: Maven Surefire
> Issue Type: Improvement
> Components: documentation
> Affects Versions: 2.12
> Reporter: Karsten Ohme
> Priority: Minor
>
> The online documentation for Failsafe which describes [Running a Single
> Test|http://maven.apache.org/plugins/maven-failsafe-plugin/examples/single-test.html]
> shows:
> bq.mvn -Dit.test=ITCircle verify
> The it.test parameter does not seem to work. Rather, the same parameter as
> Surefire (-Dtest=foo) appears to also work for Failsafe.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)