Adding 'release' profile to hold release only module build related tasks.

This commit is contained in:
Joakim Erdfelt 2012-07-26 10:38:55 -07:00
parent db2570c2ee
commit acabe78101
1 changed files with 12 additions and 75 deletions

77
pom.xml
View File

@ -387,11 +387,9 @@
<module>jetty-start</module>
<module>jetty-nested</module>
<module>jetty-overlay-deployer</module>
<module>jetty-osgi</module>
<module>jetty-nosql</module>
<module>jetty-http-spi</module>
<module>jetty-jsp</module>
<module>jetty-distribution</module>
<module>test-jetty-nested</module>
<module>test-jetty-servlet</module>
<module>example-async-rest</module>
@ -526,20 +524,16 @@
-->
<profiles>
<profile>
<id>release</id>
<modules>
<!--
Moves the jetty-osgi build tree to a profile called 'osgi'.
It is active by default, but being in a profile allows it to be
disabled via the "-P-osgi" command line on maven (if need be).
<module>jetty-aggregate</module>
-->
<module>jetty-distribution</module>
</modules>
</profile>
<profile>
<id>osgi</id>
<activation>
<activeByDefault>false</activeByDefault>
<!--
<file>
<exists>${basedir}/pom.xml</exists>
</file>
-->
</activation>
<modules>
<module>jetty-osgi</module>
</modules>
@ -570,63 +564,6 @@
</plugins>
</build>
</profile>
<profile>
<id>cobertura</id>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<configuration>
<maxmem>512m</maxmem>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<reportSets>
<reportSet>
<id>just-javadoc-no-aggregate</id>
<reports>
<report>javadoc</report>
</reports>
<inherited>true</inherited>
<configuration>
<minmemory>256m</minmemory>
<maxmemory>1g</maxmemory>
<excludePackageNames>com.acme</excludePackageNames>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
<link>http://java.sun.com/javaee/5/docs/api</link>
<link>http://junit.sourceforge.net/javadoc/</link>
</links>
<tags>
<tag>
<name>org.apache.xbean.XBean</name>
<placement>X</placement>
<head />
</tag>
</tags>
</configuration>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>maven-3</id>
<activation>