[ http://jira.codehaus.org/browse/MSUREFIREREP-6?page=comments#action_76845
]
Chris Hagmann commented on MSUREFIREREP-6:
------------------------------------------
(Another attempt - JIRA administrator please remove my previous comment)
I would add a second goal (e.g. report-only) which doesn't execute the phase
"test". Meaning:
surefire-report:report (would execute phase "test")
surefire-report:report-only (doesn't execute phase "test")
So just to also create a set of test reports without bothering building a site
you would configure your pom with this:
{noformat}
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>report-only</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
{noformat}
> surefire-report reruns tests
> ----------------------------
>
> Key: MSUREFIREREP-6
> URL: http://jira.codehaus.org/browse/MSUREFIREREP-6
> Project: Maven 2.x Surefire report Plugin
> Issue Type: Bug
> Environment: maven 2.0
> Reporter: Dirk Sturzebecher
>
> surefire-report reruns the tests. In my case this is not just annoying, but
> leads to a failure, as the VM (probably) is reused and leftovers from the
> first tests are (definitly) still present.
> I run maven with: clean package site
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira