You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by fe...@apache.org on 2011/11/10 17:40:14 UTC

svn commit: r1200417 - in /james/mpt/trunk: antlib/pom.xml main/pom.xml pom.xml

Author: felixk
Date: Thu Nov 10 16:40:14 2011
New Revision: 1200417

URL: http://svn.apache.org/viewvc?rev=1200417&view=rev
Log:
Build needs to execute emma-plugin 'instrumentation' goal.

It seems that instrumentation by emma-plugin/instrumentation must be called explicitly in child modules when there the maven-jar-plugin is called explicitly

Modified:
    james/mpt/trunk/antlib/pom.xml
    james/mpt/trunk/main/pom.xml
    james/mpt/trunk/pom.xml

Modified: james/mpt/trunk/antlib/pom.xml
URL: http://svn.apache.org/viewvc/james/mpt/trunk/antlib/pom.xml?rev=1200417&r1=1200416&r2=1200417&view=diff
==============================================================================
--- james/mpt/trunk/antlib/pom.xml (original)
+++ james/mpt/trunk/antlib/pom.xml Thu Nov 10 16:40:14 2011
@@ -188,6 +188,19 @@ to the library requiring no extra coding
                     </execution>
                 </executions>
             </plugin>
+            <plugin>      
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>emma-maven-plugin</artifactId>
+                <inherited>true</inherited>          
+                <executions>
+                    <execution>
+                        <phase>process-classes</phase>               
+                        <goals>
+                            <goal>instrument</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>

Modified: james/mpt/trunk/main/pom.xml
URL: http://svn.apache.org/viewvc/james/mpt/trunk/main/pom.xml?rev=1200417&r1=1200416&r2=1200417&view=diff
==============================================================================
--- james/mpt/trunk/main/pom.xml (original)
+++ james/mpt/trunk/main/pom.xml Thu Nov 10 16:40:14 2011
@@ -122,6 +122,19 @@ scritable functional testing of ASCII ba
                     </execution>
                 </executions>
             </plugin>
+            <plugin>      
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>emma-maven-plugin</artifactId>
+                <inherited>true</inherited>          
+                <executions>
+                    <execution>
+                        <phase>process-classes</phase>               
+                        <goals>
+                            <goal>instrument</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>

Modified: james/mpt/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mpt/trunk/pom.xml?rev=1200417&r1=1200416&r2=1200417&view=diff
==============================================================================
--- james/mpt/trunk/pom.xml (original)
+++ james/mpt/trunk/pom.xml Thu Nov 10 16:40:14 2011
@@ -207,10 +207,6 @@
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
                 <configuration>
                     <archive>
@@ -270,6 +266,19 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>      
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>emma-maven-plugin</artifactId>
+                <inherited>true</inherited>          
+                <executions>
+                    <execution>
+                        <phase>process-classes</phase>               
+                        <goals>
+                            <goal>instrument</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org