cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r701956 - /cocoon/cocoon3/trunk/cocoon-all/pom.xml
Date Mon, 06 Oct 2008 06:23:37 GMT
Author: reinhard
Date: Sun Oct  5 23:23:37 2008
New Revision: 701956

URL: http://svn.apache.org/viewvc?rev=701956&view=rev
Log:
execute the assembly generation as part of the release process only

Modified:
    cocoon/cocoon3/trunk/cocoon-all/pom.xml

Modified: cocoon/cocoon3/trunk/cocoon-all/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-all/pom.xml?rev=701956&r1=701955&r2=701956&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-all/pom.xml (original)
+++ cocoon/cocoon3/trunk/cocoon-all/pom.xml Sun Oct  5 23:23:37 2008
@@ -71,40 +71,45 @@
     </dependency>    
   </dependencies>
   
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.groovy.maven</groupId>
-        <artifactId>gmaven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>generate-resources</phase>
-            <goals>
-              <goal>execute</goal>
-            </goals>
-            <configuration>
-              <source>${pom.basedir}/src/main/groovy/docs.groovy</source>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>      
-      <plugin>      
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>bundle-project-sources</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-            <configuration>
-              <descriptors>
-                <descriptor>src/main/assembly/release.xml</descriptor>
-              </descriptors>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>  
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.groovy.maven</groupId>
+            <artifactId>gmaven-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>execute</goal>
+                </goals>
+                <configuration>
+                  <source>${pom.basedir}/src/main/groovy/docs.groovy</source>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>bundle-project-sources</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <configuration>
+                  <descriptors>
+                    <descriptor>src/main/assembly/release.xml</descriptor>
+                  </descriptors>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>



Mime
View raw message