You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2022/08/14 12:41:32 UTC
[sling-maven-plugin] branch master updated: releng: collect coverage for ITs with maven-invoker-plugin
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-maven-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new dd08239 releng: collect coverage for ITs with maven-invoker-plugin
dd08239 is described below
commit dd0823949dbf8f2b47db44c4a9eeb8112c39a76a
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sun Aug 14 14:41:26 2022 +0200
releng: collect coverage for ITs with maven-invoker-plugin
---
pom.xml | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 8d3d7d2..cbbc5dd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -159,7 +159,7 @@
<pomInclude>**/pom.xml</pomInclude>
</pomIncludes>
<postBuildHookScript>verify</postBuildHookScript>
- <localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath>
+ <!-- <localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath> -->
<properties>
<sling.url>http://localhost:${starter-its.http.port}</sling.url>
</properties>
@@ -303,6 +303,23 @@
</dependencies>
<profiles>
+ <profile>
+ <!-- extend jacoco profile as long as https://issues.apache.org/jira/browse/SLING-11529 is not fixed -->
+ <id>jacoco-report</id>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <configuration>
+ <mavenOpts>${jacoco.command}</mavenOpts>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
<!-- This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
<profile>
<id>only-eclipse</id>