summaryrefslogtreecommitdiffstats
path: root/odlparent/binding-parent/pom.xml
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-06 09:10:09 -0500
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-06 11:47:22 -0500
commit008b52bffbe2bcb4cffd441ea6ac6693a353cf68 (patch)
tree551ec4caf390ef59bae6fe59dfdb717ab98b6720 /odlparent/binding-parent/pom.xml
parent1f2485133664be7ce6bed31c90c1695893e8584d (diff)
Add sonar-jacoco-aggregate profile
Add profile needed for sonarcloud build (sonar-jacoco-aggregate). Change-Id: Ie26032f8e9c18f53713b1ceeac64683a0e6beb17 Issue-ID: CIMAN-343 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'odlparent/binding-parent/pom.xml')
-rw-r--r--odlparent/binding-parent/pom.xml37
1 files changed, 36 insertions, 1 deletions
diff --git a/odlparent/binding-parent/pom.xml b/odlparent/binding-parent/pom.xml
index 3cef1030..5e3d3870 100644
--- a/odlparent/binding-parent/pom.xml
+++ b/odlparent/binding-parent/pom.xml
@@ -993,7 +993,42 @@
</dependency>
</dependencies>
</profile>
-
+ <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>
<!-- End of profiles from ONAP oparent -->
<profile>