Skip to content

Commit

Permalink
[SHIRO-838] add sha256 which is a required hash algorithm
Browse files Browse the repository at this point in the history
- update parent pom for attachement of hashes
  • Loading branch information
bmarwell committed Mar 4, 2022
1 parent 50f686a commit 6b8f0ba
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>21</version>
<version>25</version>
</parent>

<groupId>org.apache.shiro</groupId>
Expand Down Expand Up @@ -436,6 +436,22 @@
<showWeaveInfo>true</showWeaveInfo>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<excludes>
<!-- default config -->
<exclude>**/*.md5</exclude>
<exclude>**/*.sha1</exclude>
<exclude>**/*.sha256</exclude>
<exclude>**/*.sha512</exclude>
<exclude> **/*.asc</exclude>
<!-- additional hashes -->
<exclude>**/*.sha3512</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down Expand Up @@ -1475,21 +1491,31 @@
<plugin>
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>1.11</version>
<executions>
<execution>
<id>source-release-checksum</id>
<phase>none</phase>
</execution>
<execution>
<id>main-artifact-checksum</id>
<phase>verify</phase>
<goals>
<goal>artifacts</goal>
</goals>
</execution>
</executions>
<configuration>
<algorithms>
<algorithm>SHA-256</algorithm>
<algorithm>SHA-512</algorithm>
<algorithm>SHA3-512</algorithm>
</algorithms>
<csvSummary>false</csvSummary>
<!--
attach checksums as well to upload to Maven Staging Repo,
as this eases uploading from stage to dist and doesn't do harm in Maven Central
-->
<attachChecksums>true</attachChecksums>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 6b8f0ba

Please sign in to comment.