sonar-surefire-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.codehaus.sonar-plugins.java</groupId> <artifactId>sonar-surefire-plugin</artifactId> <version>2.3</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.codehaus.sonar-plugins.java</groupId> <artifactId>java</artifactId> <version>2.3</version> </parent> <artifactId>sonar-surefire-plugin</artifactId> <packaging>sonar-plugin</packaging> <name>SonarQube Java :: Surefire Plugin</name> <dependencies> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>sonar-java-plugin</artifactId> <version>${project.version}</version> <type>sonar-plugin</type> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-project</artifactId> <version>2.0.7</version> <scope>provided</scope> </dependency> <!-- unit tests --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.easytesting</groupId> <artifactId>fest-assert</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-testing-harness</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-deprecated</artifactId> <version>${sonar.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <testResources> <testResource> <directory>${basedir}/src/main/resources</directory> </testResource> <testResource> <directory>${basedir}/src/test/resources</directory> </testResource> </testResources> <plugins> <plugin> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-packaging-maven-plugin</artifactId> <configuration> <pluginKey>surefire</pluginKey> <pluginName>Surefire</pluginName> <pluginParent>java</pluginParent> <pluginClass>org.sonar.plugins.surefire.SurefirePlugin</pluginClass> <pluginDescription> <![CDATA[Get results of unit tests with <a href='http://maven.apache.org/plugins/maven-surefire-plugin/'>Surefire</a>.]]></pluginDescription> </configuration> </plugin> <!-- Running JUnit tests in parallel --> <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <parallel>classes</parallel> <threadCount>3</threadCount> <perCoreThreadCount>true</perCoreThreadCount> </configuration> </plugin> --> </plugins> </build> </project>