commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r773702 - /commons/proper/compress/trunk/pom.xml
Date Mon, 11 May 2009 21:56:15 GMT
Author: sebb
Date: Mon May 11 21:56:15 2009
New Revision: 773702

URL: http://svn.apache.org/viewvc?rev=773702&view=rev
Log:
Add default implementation and spec entries to source jar
Unfortunately the javadoc plugin does not seem to support manifest attributes

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=773702&r1=773701&r2=773702&view=diff
==============================================================================
--- commons/proper/compress/trunk/pom.xml (original)
+++ commons/proper/compress/trunk/pom.xml Mon May 11 21:56:15 2009
@@ -106,6 +106,16 @@
   </properties>
 
   <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <!-- Override plugin version in parent Pom, which is too old to support manifests
-->
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-source-plugin</artifactId>
+          <version>2.1</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
     <plugins>
       <plugin>
         <!-- create the source and binary assemblies -->
@@ -118,6 +128,18 @@
           <tarLongFileMode>gnu</tarLongFileMode>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifest>
+              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 



Mime
View raw message