Add SHA256 to release-prep and legal/* to ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4a187ed9ac
commit
491295aa64
25
build.xml
25
build.xml
@ -958,8 +958,14 @@ under the License.
|
|||||||
<classpath refid="ooxml.classpath"/>
|
<classpath refid="ooxml.classpath"/>
|
||||||
</javac>
|
</javac>
|
||||||
|
|
||||||
<jar basedir="${xmlbean.classes.dir}" destfile="@{classes-jar}" excludes="org/apache/**" level="9" />
|
<jar destfile="@{classes-jar}" level="9">
|
||||||
<jar basedir="${xmlbean.sources.dir}" destfile="@{sources-jar}" excludes="org/apache/**" 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 file="${xmlbean.xsds.dir}.jar"/>
|
||||||
<delete dir="${xmlbean.xsds.dir}"/>
|
<delete dir="${xmlbean.xsds.dir}"/>
|
||||||
@ -2129,7 +2135,7 @@ under the License.
|
|||||||
<antcall target="maven-poms"/>
|
<antcall target="maven-poms"/>
|
||||||
|
|
||||||
<echo>Distribution located in ${dist.dir}</echo>
|
<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>
|
||||||
|
|
||||||
<target name="osgi" depends="mvn-install">
|
<target name="osgi" depends="mvn-install">
|
||||||
@ -2375,17 +2381,20 @@ under the License.
|
|||||||
<target name="dist-checksum" depends="load-maven-server-settings">
|
<target name="dist-checksum" depends="load-maven-server-settings">
|
||||||
<fileset id="dist-archives" dir="${dist.dir}" includes="**/*.jar,**/*.pom,**/*.zip,**/*.tar.gz"/>
|
<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">
|
<checksum algorithm="sha1" format="MD5SUM">
|
||||||
<fileset refid="dist-archives"/>
|
<fileset refid="dist-archives"/>
|
||||||
</checksum>
|
</checksum>
|
||||||
<checksum algorithm="md5" format="MD5SUM">
|
<checksum algorithm="md5" format="MD5SUM">
|
||||||
<fileset refid="dist-archives"/>
|
<fileset refid="dist-archives"/>
|
||||||
</checksum>
|
</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-prov.url}" dest="${dist.bouncycastle-prov.jar}"/>
|
||||||
<downloadfile src="${dist.bouncycastle-bcpg.url}" dest="${dist.bouncycastle-bcpg.jar}"/>
|
<downloadfile src="${dist.bouncycastle-bcpg.url}" dest="${dist.bouncycastle-bcpg.jar}"/>
|
||||||
@ -2466,7 +2475,7 @@ under the License.
|
|||||||
<fileset dir="${metadir}" includes="maven-metadata.xml"/>
|
<fileset dir="${metadir}" includes="maven-metadata.xml"/>
|
||||||
</checksum>
|
</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}"/>
|
<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">
|
<taskdef uri="antlib:org.sonatype.nexus.ant.staging" resource="org/sonatype/nexus/ant/staging/antlib.xml">
|
||||||
|
Loading…
Reference in New Issue
Block a user