No more MD5

This commit is contained in:
Gintas Grigelionis 2018-03-06 18:33:54 +01:00
parent 8ed4a9bea7
commit 1dc8749f6e
2 changed files with 7 additions and 7 deletions

View File

@ -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). 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. 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.

View File

@ -365,13 +365,13 @@
<copy file="${artifacts.build.dir}/sources/${final.name}" <copy file="${artifacts.build.dir}/sources/${final.name}"
tofile="${m2.distrib.dir}/ivy-${build.version}-sources.jar"/> tofile="${m2.distrib.dir}/ivy-${build.version}-sources.jar"/>
<checksum algorithm="md5"> <checksum algorithm="sha1">
<fileset dir="${m2.distrib.dir}"> <fileset dir="${m2.distrib.dir}">
<include name="*.pom"/> <include name="*.pom"/>
<include name="*.jar"/> <include name="*.jar"/>
</fileset> </fileset>
</checksum> </checksum>
<checksum algorithm="sha1"> <checksum algorithm="sha-512" fileext=".sha512">
<fileset dir="${m2.distrib.dir}"> <fileset dir="${m2.distrib.dir}">
<include name="*.pom"/> <include name="*.pom"/>
<include name="*.jar"/> <include name="*.jar"/>
@ -380,7 +380,7 @@
</target> </target>
<target name="snapshot-checksums"> <target name="snapshot-checksums">
<checksum algorithm="md5"> <checksum algorithm="sha1">
<fileset dir="${distrib.dir}/dist/${build.version}"> <fileset dir="${distrib.dir}/dist/${build.version}">
<include name="*.pom"/> <include name="*.pom"/>
<include name="*.jar"/> <include name="*.jar"/>
@ -388,7 +388,7 @@
<include name="*.gz"/> <include name="*.gz"/>
</fileset> </fileset>
</checksum> </checksum>
<checksum algorithm="sha"> <checksum algorithm="sha-512" fileext=".sha512">
<fileset dir="${distrib.dir}/dist/${build.version}"> <fileset dir="${distrib.dir}/dist/${build.version}">
<include name="*.pom"/> <include name="*.pom"/>
<include name="*.jar"/> <include name="*.jar"/>
@ -493,7 +493,7 @@
<exclude name="build/**/*"/> <exclude name="build/**/*"/>
<exclude name="bin/**/*"/> <exclude name="bin/**/*"/>
<exclude name="**/*.sha1"/> <exclude name="**/*.sha1"/>
<exclude name="**/*.md5"/> <exclude name="**/*.sha512"/>
<exclude name="**/*.txt"/> <exclude name="**/*.txt"/>
<exclude name="**/MANIFEST*.MF"/> <exclude name="**/MANIFEST*.MF"/>
<exclude name="**/*.json"/> <exclude name="**/*.json"/>
@ -579,8 +579,8 @@
// iterate over that array // iterate over that array
print('processing ' + srcFiles.length + ' source files...'); 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"))); out = new java.io.FileWriter(self.getProject().resolveFile(attributes.get("destfile")));
for (i = 0; i < srcFiles.length; i++) { for (i = 0; i < srcFiles.length; i++) {
try { try {