Author: jdcasey
Date: Mon Jan 14 13:36:09 2008
New Revision: 611942

URL: http://svn.apache.org/viewvc?rev=611942&view=rev
Log:
Move the site-build stuff out to a include-site profile. Activate this if you 
want to include the site docs, but inclusion in the normal build is WAY too 
heavy for simply building to the test lifecycle phase.

Modified:
    maven/components/trunk/maven-embedder/pom.xml

Modified: maven/components/trunk/maven-embedder/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/pom.xml?rev=611942&r1=611941&r2=611942&view=diff
==============================================================================
--- maven/components/trunk/maven-embedder/pom.xml (original)
+++ maven/components/trunk/maven-embedder/pom.xml Mon Jan 14 13:36:09 2008
@@ -305,6 +305,38 @@
       <build>
         <plugins>
           <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <version>2.2-beta-1</version>
+            <executions>
+              <execution>
+                <id>create-distro</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <configuration>
+                  <descriptor>src/main/assembly/bin.xml</descriptor>
+                  <finalName>apache-maven-${pom.version}</finalName>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <version>2.3</version>
+            <configuration>
+              <forkMode>once</forkMode>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    
+    <profile>
+      <id>include-site</id>
+      <build>
+        <plugins>
+          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-scm-plugin</artifactId>
             <configuration>
@@ -340,30 +372,6 @@
                 </goals>
               </execution>
             </executions>
-          </plugin>
-          <plugin>
-            <artifactId>maven-assembly-plugin</artifactId>
-            <version>2.2-beta-1</version>
-            <executions>
-              <execution>
-                <id>create-distro</id>
-                <phase>package</phase>
-                <goals>
-                  <goal>single</goal>
-                </goals>
-                <configuration>
-                  <descriptor>src/main/assembly/bin.xml</descriptor>
-                  <finalName>apache-maven-${pom.version}</finalName>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <version>2.3</version>
-            <configuration>
-              <forkMode>once</forkMode>
-            </configuration>
           </plugin>
         </plugins>
       </build>


Reply via email to