[issue 531] Disabled the enforcer plugin for site generation, preventing forked processes (unlike the -Denforcer.skip option)

This commit is contained in:
Andrew Phillips 2011-05-24 09:09:16 -04:00
parent 59ba60666e
commit 61dfcc8856
1 changed files with 33 additions and 0 deletions

View File

@ -697,6 +697,39 @@ pageTracker._trackPageview();
</dependency>
</dependencies>
</profile>
<profile>
<id>site</id>
<build>
<plugins>
<!-- disable the Maven enforcer plugin and prevent forking (unlike -Denforcer.skip) -->
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0-beta-1</version>
<executions>
<execution>
<id>enforce-banned-dependencies</id>
<phase>none</phase>
</execution>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>none</phase>
</execution>
<!-- inherited from oss-parent -->
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>maven-2</id>
<activation>