This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-compiler-java.git
commit ee08d997b1879fb1437f79db87748b707d5cdd15 Author: Radu Cotescu <[email protected]> AuthorDate: Tue Oct 25 15:19:19 2016 +0000 SLING-6186 - Add support for checking code coverage with jacoco * configured jacoco for all HTL modules that provide unit tests * IT code coverage can be obtained from the testing module git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1766545 13f79535-47bb-0310-9956-ffa450edef68 --- pom.xml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/pom.xml b/pom.xml index 94f6571..a522534 100644 --- a/pom.xml +++ b/pom.xml @@ -110,6 +110,43 @@ </plugins> </build> + <profiles> + <profile> + <id>coverage-report</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.7.7.201606060606</version> + <executions> + <execution> + <id>default-prepare-agent</id> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>default-report</id> + <goals> + <goal>report</goal> + </goals> + <configuration> + <includes> + <include>org/apache/sling/scripting/sightly/**/*</include> + </includes> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> + <!-- ======================================================================= --> <!-- D E P E N D E N C I E S --> <!-- ======================================================================= --> -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
