[ http://jira.codehaus.org/browse/MSUREFIREREP-6?page=comments#action_81339
]
aaron pieper commented on MSUREFIREREP-6:
-----------------------------------------
After adding the following code to my pom.xml, doing a "mvn install site" only
runs the tests once. It is a good workaround if you're using a continuous
integration system or can't be bothered to type two things.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.0</version>
<configuration>
<systemProperties>
<property>
<name>maven.test.skip</name>
<value>true</value>
</property>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
> 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