1
0

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.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@596369 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dennis Lundberg
2007-11-19 17:09:48 +00:00
parent aed3678ff1
commit 27fd2f6aba

17
pom.xml
View File

@@ -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>