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/20 21:32:00 UTC
svn commit: r1025689 - /sling/trunk/parent/pom.xml
Author: justin
Date: Wed Oct 20 19:31:59 2010
New Revision: 1025689
URL: http://svn.apache.org/viewvc?rev=1025689&view=rev
Log:
SLING-1803 - forgot to also move the extra execution of the bundle plugin to the emma profile; moving gmaven execution to keep track of source dirs to emma-report 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=1025689&r1=1025688&r2=1025689&view=diff
==============================================================================
--- sling/trunk/parent/pom.xml (original)
+++ sling/trunk/parent/pom.xml Wed Oct 20 19:31:59 2010
@@ -172,30 +172,6 @@ on 64bit platforms: MAVEN_OPTS="-Xmx512M
</plugin>
<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>
-
- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>ianal-maven-plugin</artifactId>
<executions>
@@ -482,6 +458,36 @@ on 64bit platforms: MAVEN_OPTS="-Xmx512M
</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>
</profiles>
<mailingLists>