You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ju...@apache.org on 2010/10/19 19:23:19 UTC

svn commit: r1024330 - /sling/trunk/parent/pom.xml

Author: justin
Date: Tue Oct 19 17:23:19 2010
New Revision: 1024330

URL: http://svn.apache.org/viewvc?rev=1024330&view=rev
Log:
SLING-1830 - moving emma instrumentation to non-defaulted profile

Modified:
    sling/trunk/parent/pom.xml

Modified: sling/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/parent/pom.xml?rev=1024330&r1=1024329&r2=1024330&view=diff
==============================================================================
--- sling/trunk/parent/pom.xml (original)
+++ sling/trunk/parent/pom.xml Tue Oct 19 17:23:19 2010
@@ -210,24 +210,6 @@ on 64bit platforms: MAVEN_OPTS="-Xmx512M
                     </execution>
                 </executions>
             </plugin>
-
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>emma-maven-plugin</artifactId>
-                <version>1.0-alpha-2</version>
-                <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>
 
         <pluginManagement>
@@ -383,6 +365,11 @@ on 64bit platforms: MAVEN_OPTS="-Xmx512M
                     <artifactId>build-helper-maven-plugin</artifactId>
                     <version>1.5</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>emma-maven-plugin</artifactId>
+                    <version>1.0-alpha-2</version>
+                </plugin>
             </plugins>
         </pluginManagement>
     </build>
@@ -467,6 +454,29 @@ on 64bit platforms: MAVEN_OPTS="-Xmx512M
                 </plugins>
             </build>
         </profile>
+        <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>
     </profiles>
 
     <mailingLists>