Skip to content
Permalink
Browse files
Upgrade checksum-maven-plugin and provide SHA-512 checksums.
  • Loading branch information
veithen committed Aug 26, 2017
1 parent 4cdf9fc commit 7959b094c17980ffda11d7bf84d5480f7753ff2f
Showing 2 changed files with 10 additions and 3 deletions.
@@ -35,7 +35,7 @@
call(["svn", "checkout", "https://dist.apache.org/repos/dist/dev/axis/axis2/java/rampart/", dist_root])
mkdir(dist_dir)
for classifier in [ "bin", "src" ]:
for suffix in [ "zip", "zip.asc", "zip.md5", "zip.sha1" ]:
for suffix in [ "zip", "zip.asc", "zip.md5", "zip.sha1", "zip.sha512" ]:
file = "rampart-dist-" + release + "-" + classifier + "." + suffix
copyfile(join(root_dir, "modules", "distribution", "target", file), join(dist_dir, file))
call(["svn", "add", dist_dir])
@@ -78,14 +78,21 @@
</executions>
</plugin>
<plugin>
<groupId>net.ju-n.maven.plugins</groupId>
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>1.2</version>
<version>1.5</version>
<executions>
<execution>
<goals>
<goal>artifacts</goal>
</goals>
<configuration>
<algorithms>
<algorithm>MD5</algorithm>
<algorithm>SHA-1</algorithm>
<algorithm>SHA-512</algorithm>
</algorithms>
</configuration>
</execution>
</executions>
</plugin>

0 comments on commit 7959b09

Please sign in to comment.