You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cr...@apache.org on 2021/03/07 06:17:44 UTC
[sling-whiteboard] 05/05: add java coco to pom
This is an automated email from the ASF dual-hosted git repository.
cris pushed a commit to branch SLING-10193/test-coverage
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git
commit 63cb2b1473ffc61432c04c49e38da9e8c00288ef
Author: Cris Rockwell, College of LSA University of Michigan <cm...@umich.edu>
AuthorDate: Sun Mar 7 01:17:18 2021 -0500
add java coco to pom
---
saml-handler/pom.xml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/saml-handler/pom.xml b/saml-handler/pom.xml
index 4d2a607..96fa5c9 100644
--- a/saml-handler/pom.xml
+++ b/saml-handler/pom.xml
@@ -91,10 +91,36 @@ which is licensed under the Apache-2.0 license.
<name>bundle.filename</name>
<value>${basedir}/target/${project.build.finalName}.jar</value>
</property>
+ <property>
+ <name>jacoco.command</name>
+ <value>${jacoco.command}</value>
+ </property>
</systemProperties>
</configuration>
</plugin>
<plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>prepare-agent</id>
+ <configuration>
+ <propertyName>jacoco.command</propertyName>
+ </configuration>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>report</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>1.4.0</version>