poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1839861 - /poi/trunk/build.xml
Date Sat, 01 Sep 2018 22:58:51 GMT
Author: kiwiwings
Date: Sat Sep  1 22:58:51 2018
New Revision: 1839861

URL: http://svn.apache.org/viewvc?rev=1839861&view=rev
Log:
Add SHA256 to release-prep and legal/* to ooxml-schemas

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1839861&r1=1839860&r2=1839861&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Sat Sep  1 22:58:51 2018
@@ -958,8 +958,14 @@ under the License.
                 <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}"/>
@@ -2129,7 +2135,7 @@ under the License.
         <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">
@@ -2375,17 +2381,20 @@ under the License.
     <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}"/>
@@ -2466,7 +2475,7 @@ under the License.
                 <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">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message