You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2016/11/01 16:30:23 UTC

svn commit: r1767517 - in /sling/trunk/bundles/scripting/sightly: compiler/pom.xml engine/pom.xml java-compiler/pom.xml testing/pom.xml

Author: radu
Date: Tue Nov  1 16:30:23 2016
New Revision: 1767517

URL: http://svn.apache.org/viewvc?rev=1767517&view=rev
Log:
SLING-6186 - Add support for checking code coverage with jacoco

* allow the jacoco version to be configurable; also downgraded to 0.7.6

Modified:
    sling/trunk/bundles/scripting/sightly/compiler/pom.xml
    sling/trunk/bundles/scripting/sightly/engine/pom.xml
    sling/trunk/bundles/scripting/sightly/java-compiler/pom.xml
    sling/trunk/bundles/scripting/sightly/testing/pom.xml

Modified: sling/trunk/bundles/scripting/sightly/compiler/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/compiler/pom.xml?rev=1767517&r1=1767516&r2=1767517&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/sightly/compiler/pom.xml (original)
+++ sling/trunk/bundles/scripting/sightly/compiler/pom.xml Tue Nov  1 16:30:23 2016
@@ -51,6 +51,7 @@
 
     <properties>
         <antlr.version>4.1</antlr.version>
+        <jacoco.maven.plugin.version>0.7.6.201602180812</jacoco.maven.plugin.version>
     </properties>
 
     <!-- ======================================================================= -->
@@ -157,7 +158,7 @@
                     <plugin>
                         <groupId>org.jacoco</groupId>
                         <artifactId>jacoco-maven-plugin</artifactId>
-                        <version>0.7.7.201606060606</version>
+                        <version>${jacoco.maven.plugin.version}</version>
                         <executions>
                             <execution>
                                 <id>default-prepare-agent</id>

Modified: sling/trunk/bundles/scripting/sightly/engine/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/engine/pom.xml?rev=1767517&r1=1767516&r2=1767517&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/sightly/engine/pom.xml (original)
+++ sling/trunk/bundles/scripting/sightly/engine/pom.xml Tue Nov  1 16:30:23 2016
@@ -49,6 +49,10 @@
         <url>http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/engine</url>
     </scm>
 
+    <properties>
+        <jacoco.maven.plugin.version>0.7.6.201602180812</jacoco.maven.plugin.version>
+    </properties>
+
     <!-- ======================================================================= -->
     <!-- B U I L D                                                               -->
     <!-- ======================================================================= -->
@@ -126,7 +130,7 @@
                     <plugin>
                         <groupId>org.jacoco</groupId>
                         <artifactId>jacoco-maven-plugin</artifactId>
-                        <version>0.7.7.201606060606</version>
+                        <version>${jacoco.maven.plugin.version}</version>
                         <executions>
                             <execution>
                                 <id>default-prepare-agent</id>

Modified: sling/trunk/bundles/scripting/sightly/java-compiler/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/java-compiler/pom.xml?rev=1767517&r1=1767516&r2=1767517&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/sightly/java-compiler/pom.xml (original)
+++ sling/trunk/bundles/scripting/sightly/java-compiler/pom.xml Tue Nov  1 16:30:23 2016
@@ -48,7 +48,7 @@
     </scm>
 
     <properties>
-        <sling.java.version>7</sling.java.version>
+        <jacoco.maven.plugin.version>0.7.6.201602180812</jacoco.maven.plugin.version>
     </properties>
 
     <!-- ======================================================================= -->
@@ -121,7 +121,7 @@
                     <plugin>
                         <groupId>org.jacoco</groupId>
                         <artifactId>jacoco-maven-plugin</artifactId>
-                        <version>0.7.7.201606060606</version>
+                        <version>${jacoco.maven.plugin.version}</version>
                         <executions>
                             <execution>
                                 <id>default-prepare-agent</id>

Modified: sling/trunk/bundles/scripting/sightly/testing/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/testing/pom.xml?rev=1767517&r1=1767516&r2=1767517&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/sightly/testing/pom.xml (original)
+++ sling/trunk/bundles/scripting/sightly/testing/pom.xml Tue Nov  1 16:30:23 2016
@@ -68,6 +68,7 @@
         -->
         <debug.options/>
 
+        <jacoco.maven.plugin.version>0.7.6.201602180812</jacoco.maven.plugin.version>
         <!-- HTL modules under test versions -->
         <org.apache.sling.scripting.sightly.compiler.version>1.0.3-SNAPSHOT</org.apache.sling.scripting.sightly.compiler.version>
         <org.apache.sling.scripting.sightly.compiler.java.version>1.0.5-SNAPSHOT</org.apache.sling.scripting.sightly.compiler.java.version>
@@ -297,7 +298,7 @@
                     <plugin>
                         <groupId>org.jacoco</groupId>
                         <artifactId>jacoco-maven-plugin</artifactId>
-                        <version>0.7.7.201606060606</version>
+                        <version>${jacoco.maven.plugin.version}</version>
                         <executions>
                             <execution>
                                 <id>default-prepare-agent</id>