summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorCédric Walter <cedricwalter@apache.org>2014-04-02 13:50:57 +0000
committerCédric Walter <cedricwalter@apache.org>2014-04-02 13:50:57 +0000
commite09725b1444c41a0fccd609b8e1c6e426bb3e96e (patch)
tree8846d54901057ff295a57ae3ac52896a8f2a6669 /build.xml
parent2e7a9c08b91b161984e00611558ca4c1a4c8a529 (diff)
downloadpoi-e09725b1444c41a0fccd609b8e1c6e426bb3e96e.tar.gz
poi-e09725b1444c41a0fccd609b8e1c6e426bb3e96e.zip
added manifest to all jar files produced in maven reactor
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/maven@1584032 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml43
1 files changed, 1 insertions, 42 deletions
diff --git a/build.xml b/build.xml
index e1226af08d..3aa6139e2f 100644
--- a/build.xml
+++ b/build.xml
@@ -1118,48 +1118,7 @@ under the License.
<echo>Use mvn-deploy.sh to deploy the artifacts in the remote repository</echo>
</target>
- <target name="jar" depends="compile-all, compile-version" description="Creates jar files for distribution">
- <manifest file="build/poi-manifest.mf">
- <attribute name="Built-By" value="${user.name}"/>
- <attribute name="Specification-Title" value="Apache POI"/>
- <attribute name="Specification-Version" value="${version.id}"/>
- <attribute name="Specification-Vendor" value="The Apache Software Foundation"/>
- <attribute name="Implementation-Title" value="Apache POI"/>
- <attribute name="Implementation-Version" value="${version.id}"/>
- <attribute name="Implementation-Vendor-Id" value="org.apache.poi"/>
- <attribute name="Implementation-Vendor" value="The Apache Software Foundation"/>
- </manifest>
- <jar destfile="${dist.dir}/${jar.name}-${version.id}-${DSTAMP}.jar"
- manifest="build/poi-manifest.mf">
- <fileset dir="${main.output.dir}"/>
- <metainf dir="legal/"/>
- </jar>
- <jar destfile="${dist.dir}/${jar.name}-scratchpad-${version.id}-${DSTAMP}.jar"
- manifest="build/poi-manifest.mf">
- <fileset dir="${scratchpad.output.dir}"/>
- <metainf dir="legal/"/>
- </jar>
- <jar destfile="${dist.dir}/${jar.name}-ooxml-${version.id}-${DSTAMP}.jar"
- manifest="build/poi-manifest.mf">
- <fileset dir="${ooxml.output.dir}"/>
- <metainf dir="legal/"/>
- </jar>
- <jar destfile="${dist.dir}/${jar.name}-examples-${version.id}-${DSTAMP}.jar"
- manifest="build/poi-manifest.mf">
- <fileset dir="${examples.output.dir}"/>
- <metainf dir="legal/"/>
- </jar>
- <jar destfile="${dist.dir}/${jar.name}-ooxml-schemas-${version.id}-${DSTAMP}.jar"
- manifest="build/poi-manifest.mf">
- <fileset dir="${ooxml.lite.output.dir}"/>
- <metainf dir="legal/"/>
- </jar>
- <jar destfile="${dist.dir}/${jar.name}-excelant-${version.id}-${DSTAMP}.jar"
- manifest="build/poi-manifest.mf">
- <fileset dir="${excelant.output.dir}"/>
- <metainf dir="legal/"/>
- </jar>
- </target>
+
<target name="jar-src" description="Sources for Maven">
<jar destfile="${dist.dir}/${jar.name}-${version.id}-sources-${DSTAMP}.jar"