diff options
Diffstat (limited to 'standalone/pom.xml')
-rwxr-xr-x | standalone/pom.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/standalone/pom.xml b/standalone/pom.xml index 6ced3449..322ede7a 100755 --- a/standalone/pom.xml +++ b/standalone/pom.xml @@ -200,4 +200,43 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <id>sonar-jacoco-aggregate</id> + <activation> + <property> + <name>onap.jacoco.aggregateFile</name> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <executions> + <execution> + <id>merge</id> + <goals> + <goal>merge</goal> + </goals> + <phase>generate-resources</phase> + <configuration> + <destFile>${onap.jacoco.aggregateFile}</destFile> + <fileSets> + <fileSet> + <directory>${project.basedir}</directory> + <includes> + <include>**/target/code-coverage/*.exec</include> + </includes> + </fileSet> + </fileSets> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |