Add our own manifest to all the produced jar files.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@491134 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
11
pom.xml
11
pom.xml
@@ -158,6 +158,11 @@
|
||||
-->
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestFile>src/conf/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>testjar</id>
|
||||
@@ -197,7 +202,8 @@
|
||||
dest="${workdir}"/>
|
||||
<jar
|
||||
basedir="${workdir}"
|
||||
destfile="${project.build.directory}/${target}.jar">
|
||||
destfile="${project.build.directory}/${target}.jar"
|
||||
manifest="${basedir}/src/conf/MANIFEST.MF">
|
||||
<exclude name="org/apache/commons/logging/impl/Log4J*"/>
|
||||
<exclude name="org/apache/commons/logging/impl/Avalon*"/>
|
||||
<exclude name="org/apache/commons/logging/impl/Jdk13*"/>
|
||||
@@ -226,7 +232,8 @@
|
||||
dest="${workdir}"/>
|
||||
<jar
|
||||
basedir="${workdir}"
|
||||
destfile="${project.build.directory}/${target}.jar">
|
||||
destfile="${project.build.directory}/${target}.jar"
|
||||
manifest="${basedir}/src/conf/MANIFEST.MF">
|
||||
<exclude name="org/apache/commons/logging/*"/>
|
||||
<exclude name="org/apache/commons/logging/impl/WeakHashtable*"/>
|
||||
<exclude name="org/apache/commons/logging/impl/LogFactoryImpl*"/>
|
||||
|
||||
Reference in New Issue
Block a user