You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by fe...@apache.org on 2011/04/08 08:35:45 UTC
svn commit: r1090130 - /james/server/trunk/pom.xml
Author: felixk
Date: Fri Apr 8 06:35:44 2011
New Revision: 1090130
URL: http://svn.apache.org/viewvc?rev=1090130&view=rev
Log:
Have javadocs generated when either running mvn site or mvn site -Psite-reports, but not for the goals install/deploy
Modified:
james/server/trunk/pom.xml
Modified: james/server/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/pom.xml?rev=1090130&r1=1090129&r2=1090130&view=diff
==============================================================================
--- james/server/trunk/pom.xml (original)
+++ james/server/trunk/pom.xml Fri Apr 8 06:35:44 2011
@@ -274,6 +274,45 @@
</configuration>
</plugin>
+ <!-- Generate javadoc only when running mvn site, but not for mvn install -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>javadocs-for-site</id>
+ <phase>pre-site</phase>
+ <goals>
+ <goal>aggregate</goal>
+ <goal>test-aggregate</goal>
+ </goals>
+ <configuration>
+ <minmemory>256m</minmemory>
+ <maxmemory>1g</maxmemory>
+ <linksource>true</linksource>
+ <tags>
+ <tag>
+ <name>note</name>
+ <placement>a</placement>
+ <head>NOTE</head>
+ </tag>
+ <tag>
+ <name>todo</name>
+ <placement>a</placement>
+ <head>TODO</head>
+ </tag>
+ <tag>
+ <name>warning</name>
+ <placement>a</placement>
+ <head>WARNING</head>
+ </tag>
+ </tags>
+ <source>${target.jdk}</source>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<!-- Site generation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org