commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r773748 - /commons/proper/compress/trunk/pom.xml
Date Tue, 12 May 2009 01:00:15 GMT
Author: sebb
Date: Tue May 12 01:00:15 2009
New Revision: 773748

URL: http://svn.apache.org/viewvc?rev=773748&view=rev
Log:
Fix Javadoc plugin configuration so it creates a manifest

Modified:
    commons/proper/compress/trunk/pom.xml

Modified: commons/proper/compress/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/pom.xml?rev=773748&r1=773747&r2=773748&view=diff
==============================================================================
--- commons/proper/compress/trunk/pom.xml (original)
+++ commons/proper/compress/trunk/pom.xml Tue May 12 01:00:15 2009
@@ -109,11 +109,16 @@
     <pluginManagement>
       <plugins>
         <plugin>
-          <!-- Override plugin version in parent Pom, which is too old to support manifests
-->
+          <!-- Override plugin versions in parent Pom, which are too old to support manifests
-->
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-source-plugin</artifactId>
           <version>2.1</version>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>2.5</version>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
@@ -183,6 +188,27 @@
           </rulesets>
         </configuration>
       </plugin>
+      <!-- Override Javadoc config in parent pom to add default manifest entries -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration> 
+          <archive>
+            <manifest>
+              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+            </manifest>
+          </archive>
+          <aggregate>false</aggregate>
+          <source>${maven.compile.source}</source>
+          <encoding>${commons.encoding}</encoding>
+          <docEncoding>${commons.docEncoding}</docEncoding>
+          <linksource>true</linksource>
+          <links>
+            <link>http://java.sun.com/javase/6/docs/api/</link>
+          </links>
+        </configuration> 
+      </plugin>
     </plugins>
   </reporting>
 



Mime
View raw message