Repository: ant-ivy Updated Branches: refs/heads/master 8ed4a9bea -> 1dc8749f6
No more MD5 Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/1dc8749f Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/1dc8749f Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/1dc8749f Branch: refs/heads/master Commit: 1dc8749f6e7a7af45b2db5fa708dc3066ea4b64f Parents: 8ed4a9b Author: Gintas Grigelionis <gin...@apache.org> Authored: Tue Mar 6 18:33:54 2018 +0100 Committer: Gintas Grigelionis <gin...@apache.org> Committed: Tue Mar 6 18:33:54 2018 +0100 ---------------------------------------------------------------------- asciidoc/dev/makerelease.adoc | 2 +- build-release.xml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/1dc8749f/asciidoc/dev/makerelease.adoc ---------------------------------------------------------------------- diff --git a/asciidoc/dev/makerelease.adoc b/asciidoc/dev/makerelease.adoc index 3f7f5c1..ca03c53 100644 --- a/asciidoc/dev/makerelease.adoc +++ b/asciidoc/dev/makerelease.adoc @@ -128,7 +128,7 @@ ant -f build-release.xml upload-nexus Once uploaded, log in https://repository.apache.org/ with your preferred web browser (use your Apache ID). -You should find there an __open__ repository with the name of the form `orgapacheant-XXXX`. It should contain the Maven artifacts: the pom, the jar, the sources, the javadocs and the md5 and asc files. +You should find there an __open__ repository with the name of the form `orgapacheant-XXXX`. It should contain the Maven artifacts: the pom, the jar, the sources, the javadocs and the sha and asc files. Now __close__ the staging repository, with the description "Ivy 2.0.0-beta1". Closing means you finished the upload and some automatic checks will run. You can see them in the __Activity__ tab of the repository. http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/1dc8749f/build-release.xml ---------------------------------------------------------------------- diff --git a/build-release.xml b/build-release.xml index cc69ddd..addb077 100644 --- a/build-release.xml +++ b/build-release.xml @@ -365,13 +365,13 @@ <copy file="${artifacts.build.dir}/sources/${final.name}" tofile="${m2.distrib.dir}/ivy-${build.version}-sources.jar"/> - <checksum algorithm="md5"> + <checksum algorithm="sha1"> <fileset dir="${m2.distrib.dir}"> <include name="*.pom"/> <include name="*.jar"/> </fileset> </checksum> - <checksum algorithm="sha1"> + <checksum algorithm="sha-512" fileext=".sha512"> <fileset dir="${m2.distrib.dir}"> <include name="*.pom"/> <include name="*.jar"/> @@ -380,7 +380,7 @@ </target> <target name="snapshot-checksums"> - <checksum algorithm="md5"> + <checksum algorithm="sha1"> <fileset dir="${distrib.dir}/dist/${build.version}"> <include name="*.pom"/> <include name="*.jar"/> @@ -388,7 +388,7 @@ <include name="*.gz"/> </fileset> </checksum> - <checksum algorithm="sha"> + <checksum algorithm="sha-512" fileext=".sha512"> <fileset dir="${distrib.dir}/dist/${build.version}"> <include name="*.pom"/> <include name="*.jar"/> @@ -493,7 +493,7 @@ <exclude name="build/**/*"/> <exclude name="bin/**/*"/> <exclude name="**/*.sha1"/> - <exclude name="**/*.md5"/> + <exclude name="**/*.sha512"/> <exclude name="**/*.txt"/> <exclude name="**/MANIFEST*.MF"/> <exclude name="**/*.json"/> @@ -579,8 +579,8 @@ // iterate over that array print('processing ' + srcFiles.length + ' source files...'); - var xpath = javax.xml.xpath.XPathFactory.newInstance().newXPath(); + var xpath = javax.xml.xpath.XPathFactory.newInstance().newXPath(); out = new java.io.FileWriter(self.getProject().resolveFile(attributes.get("destfile"))); for (i = 0; i < srcFiles.length; i++) { try {