Maven2_

Documentation Index

Maven2

Basic information on setting up the Maven2 Build Runner can be found in the Maven2 section of the UI Reference. This section contains troubleshooting information related to Maven2.

Solving the issue with Surefire XML Reporter

Some users complained about incorrect number of tests reported (see http://www.jetbrains.net/jira/browse/TW-586 and http://jira.codehaus.org/browse/SUREFIRE-122). This is caused by a bug in Surefire 2.2 used in Maven 2.0.4 by default. This bug was fixed in Surefire version 2.3.

To use the new plugin version locally for a single project, you need to modify the corresponding POM file. It must contain the following code fragment within the project/build/plugins element.

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <version>2.3</version>  ...
</plugin>

See also:

Labels

 
(None)