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