<classpath refid="ooxml.classpath"/>
</javac>
- <jar basedir="${xmlbean.classes.dir}" destfile="@{classes-jar}" excludes="org/apache/**" level="9" />
- <jar basedir="${xmlbean.sources.dir}" destfile="@{sources-jar}" excludes="org/apache/**" level="9" />
+ <jar destfile="@{classes-jar}" level="9">
+ <fileset dir="${xmlbean.classes.dir}" excludes="org/apache/**"/>
+ <metainf dir="legal"/>
+ </jar>
+ <jar destfile="@{sources-jar}" level="9">
+ <fileset dir="${xmlbean.sources.dir}" excludes="org/apache/**"/>
+ <metainf dir="legal"/>
+ </jar>
<delete file="${xmlbean.xsds.dir}.jar"/>
<delete dir="${xmlbean.xsds.dir}"/>
<antcall target="maven-poms"/>
<echo>Distribution located in ${dist.dir}</echo>
- <echo>Use "ant dist-checksum" to create md5/sha1/sha512 checksums and GPG signatures</echo>
+ <echo>Use "ant dist-checksum" to create sha256/sha512 checksums and GPG signatures</echo>
</target>
<target name="osgi" depends="mvn-install">
<target name="dist-checksum" depends="load-maven-server-settings">
<fileset id="dist-archives" dir="${dist.dir}" includes="**/*.jar,**/*.pom,**/*.zip,**/*.tar.gz"/>
- <checksum algorithm="SHA-512" fileext=".sha512" format="MD5SUM">
- <fileset refid="dist-archives"/>
- </checksum>
<checksum algorithm="sha1" format="MD5SUM">
<fileset refid="dist-archives"/>
</checksum>
<checksum algorithm="md5" format="MD5SUM">
<fileset refid="dist-archives"/>
</checksum>
+ <checksum algorithm="SHA-256" fileext=".sha256" format="MD5SUM">
+ <fileset refid="dist-archives"/>
+ </checksum>
+ <checksum algorithm="SHA-512" fileext=".sha512" format="MD5SUM">
+ <fileset refid="dist-archives"/>
+ </checksum>
- <fixcrlf srcDir="${dist.dir}" includes="**/*.md5,**/*.sha1,**/*.sha512" eol="unix"/>
+ <fixcrlf srcDir="${dist.dir}" includes="**/*.md5,**/*.sha1,**/*.sha256,**/*.sha512" eol="unix"/>
<downloadfile src="${dist.bouncycastle-prov.url}" dest="${dist.bouncycastle-prov.jar}"/>
<downloadfile src="${dist.bouncycastle-bcpg.url}" dest="${dist.bouncycastle-bcpg.jar}"/>
<fileset dir="${metadir}" includes="maven-metadata.xml"/>
</checksum>
- <fixcrlf srcDir="${metadir}" includes="*.md5,*.sha1,*.sha512" eol="unix"/>
+ <fixcrlf srcDir="${metadir}" includes="*.md5,*.sha1,*.sha256,*.sha512" eol="unix"/>
<downloadfile src="${dist.nexus-staging.url}" dest="${dist.nexus-staging.jar}"/>
<taskdef uri="antlib:org.sonatype.nexus.ant.staging" resource="org/sonatype/nexus/ant/staging/antlib.xml">