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 2019/06/05 13:53:31 UTC

[sling-org-apache-sling-scripting-sightly-compiler] branch master updated: trivial: optimised jacoco configuration

This is an automated email from the ASF dual-hosted git repository.

radu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-compiler.git


The following commit(s) were added to refs/heads/master by this push:
     new ab3f18f  trivial: optimised jacoco configuration
ab3f18f is described below

commit ab3f18ff1099d2882b739cbd89d82b605fa2bad9
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Wed Jun 5 15:53:22 2019 +0200

    trivial: optimised jacoco configuration
---
 pom.xml | 34 ++++++----------------------------
 1 file changed, 6 insertions(+), 28 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3e5f0d1..b7fccd5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,7 +55,6 @@
 
     <properties>
         <antlr.version>4.7.1</antlr.version>
-        <jacoco.maven.plugin.version>0.8.3</jacoco.maven.plugin.version>
     </properties>
 
     <!-- ======================================================================= -->
@@ -129,38 +128,17 @@
 
     <profiles>
         <profile>
-            <id>coverage-report</id>
-            <activation>
-                <activeByDefault>false</activeByDefault>
-            </activation>
+            <id>jacoco-report</id>
             <build>
                 <plugins>
                     <plugin>
                         <groupId>org.jacoco</groupId>
                         <artifactId>jacoco-maven-plugin</artifactId>
-                        <version>${jacoco.maven.plugin.version}</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>
-                                    <excludes>
-                                        <exclude>org/apache/sling/scripting/sightly/impl/parser/expr/generated/*</exclude>
-                                    </excludes>
-                                </configuration>
-                            </execution>
-                        </executions>
+                        <configuration>
+                            <excludes>
+                                <exclude>org/apache/sling/scripting/sightly/impl/parser/expr/generated/*</exclude>
+                            </excludes>
+                        </configuration>
                     </plugin>
                 </plugins>
             </build>