</build>
</profile>
- <profile>
- <id>coverage-per-test</id>
- <activation>
- <property>
- <name>coveragePerTest</name>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>org.sonarsource.java</groupId>
- <artifactId>sonar-jacoco-listeners</artifactId>
- <version>${sonarJava.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <properties>
- <property>
- <name>listener</name>
- <value>org.sonar.java.jacoco.JUnitListener</value>
- </property>
- </properties>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
-
-
<!--
The following profiles optimize the build for each team, according to their
stack layers (scanner, server and web teams)