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 2021/01/11 09:28:39 UTC

[sling-parent] 01/01: SLING-10054 remove emma-maven-plugin and related profiles

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

kwin pushed a commit to branch feature/remove-emma-maven-plugin-profiles
in repository https://gitbox.apache.org/repos/asf/sling-parent.git

commit 4fb315e82c27be7acc6f670768565c4806917975
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Mon Jan 11 10:28:20 2021 +0100

    SLING-10054 remove emma-maven-plugin and related profiles
    
    all code-coverage is now done with jacoco-maven-plugin
---
 sling-parent/pom.xml | 58 ----------------------------------------------------
 1 file changed, 58 deletions(-)

diff --git a/sling-parent/pom.xml b/sling-parent/pom.xml
index 560ef68..e54ab94 100644
--- a/sling-parent/pom.xml
+++ b/sling-parent/pom.xml
@@ -366,11 +366,6 @@
                     <version>3.2.0</version>
                 </plugin>
                 <plugin>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>emma-maven-plugin</artifactId>
-                    <version>1.0-alpha-3</version>
-                </plugin>
-                <plugin>
                     <groupId>org.jacoco</groupId>
                     <artifactId>jacoco-maven-plugin</artifactId>
                     <version>0.8.6</version>
@@ -394,59 +389,6 @@
 
     <profiles>
         <profile>
-            <id>emma</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>emma-maven-plugin</artifactId>
-                        <inherited>true</inherited>
-                        <executions>
-                            <execution>
-                                <phase>prepare-package</phase>
-                                <goals>
-                                    <goal>instrument</goal>
-                                </goals>
-                                <configuration>
-                                    <metadataFile>${user.dir}/coverage.em</metadataFile>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <id>emma-report</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.groovy.maven</groupId>
-                        <artifactId>gmaven-plugin</artifactId>
-                        <executions>
-                            <!-- store the project's source dir in a comma-delimited list for the emma report. -->
-                            <execution>
-                                <id>save-bundle-metadata</id>
-                                <goals>
-                                    <goal>execute</goal>
-                                </goals>
-                                <phase>validate</phase>
-                                <configuration>
-                                    <source>
-                                        if (!session.executionProperties.sourceDirs) {
-                                            session.executionProperties.sourceDirs = "${basedir}/src/main/java"
-                                        } else {
-                                            session.executionProperties.sourceDirs += ",${basedir}/src/main/java"
-                                        }
-                                    </source>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
             <id>jacoco-report</id>
             <build>
                 <plugins>