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.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611942 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2008-01-14 21:36:09 +00:00
parent e10f025310
commit c4ba075688
1 changed files with 32 additions and 24 deletions

View File

@ -302,6 +302,38 @@ under the License.
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<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>
@ -341,30 +373,6 @@ under the License.
</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>
</profile>