commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r596369 - /commons/proper/logging/trunk/pom.xml
Date Mon, 19 Nov 2007 17:09:49 GMT
Author: dennisl
Date: Mon Nov 19 09:09:48 2007
New Revision: 596369

URL: http://svn.apache.org/viewvc?rev=596369&view=rev
Log:
Use the correct value for the X-Compile-Target-JDK manifestEntry.
Add the attributes Built-By, X-Compile-Source-JDK and X-Compile-Target-JDK to the manifest
for the -api and -adapters jar files.

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

Modified: commons/proper/logging/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/pom.xml?rev=596369&r1=596368&r2=596369&view=diff
==============================================================================
--- commons/proper/logging/trunk/pom.xml (original)
+++ commons/proper/logging/trunk/pom.xml Mon Nov 19 09:09:48 2007
@@ -152,6 +152,13 @@
         <configuration>
           <archive>
             <manifestFile>src/conf/MANIFEST.MF</manifestFile>
+            <!--
+              - Copied from commons-parent-5, because X-Compile-Target-JDK is
+              - wrong there. Can be removed when we update to commons-parent-6.
+              -->
+            <manifestEntries>
+              <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
+            </manifestEntries>
           </archive>
         </configuration>
         <executions>
@@ -197,6 +204,11 @@
                   <exclude name="org/apache/commons/logging/impl/Jdk13*" />
                   <exclude name="org/apache/commons/logging/impl/LogKit*" />
                   <exclude name="org/apache/commons/logging/impl/Servlet*" />
+                  <manifest>
+                    <attribute name="Built-By" value="${user.name}"/>
+                    <attribute name="X-Compile-Source-JDK" value="${maven.compile.source}"/>
+                    <attribute name="X-Compile-Target-JDK" value="${maven.compile.target}"/>
+                  </manifest>
                 </jar>
               </tasks>
             </configuration>
@@ -220,6 +232,11 @@
                   <exclude name="org/apache/commons/logging/*" />
                   <exclude name="org/apache/commons/logging/impl/WeakHashtable*" />
                   <exclude name="org/apache/commons/logging/impl/LogFactoryImpl*" />
+                  <manifest>
+                    <attribute name="Built-By" value="${user.name}"/>
+                    <attribute name="X-Compile-Source-JDK" value="${maven.compile.source}"/>
+                    <attribute name="X-Compile-Target-JDK" value="${maven.compile.target}"/>
+                  </manifest>
                 </jar>
               </tasks>
             </configuration>



Mime
View raw message