Skip to content

Commit dfe0892

Browse files
committed
add sha512 checksum to output
1 parent a9e5085 commit dfe0892

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

apache-maven/pom.xml

+27
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,33 @@ under the License.
189189
</execution>
190190
</executions>
191191
</plugin>
192+
<plugin>
193+
<groupId>net.nicoulaj.maven.plugins</groupId>
194+
<artifactId>checksum-maven-plugin</artifactId>
195+
<executions>
196+
<execution>
197+
<id>source-release-checksum</id>
198+
<goals>
199+
<goal>files</goal>
200+
</goals>
201+
</execution>
202+
</executions>
203+
<configuration>
204+
<algorithms>
205+
<algorithm>SHA-512</algorithm>
206+
</algorithms>
207+
<fileSets>
208+
<fileSet>
209+
<directory>${project.build.directory}</directory>
210+
<includes>
211+
<include>${project.artifactId}-${project.version}-bin.zip</include>
212+
<include>${project.artifactId}-${project.version}-bin.tar.gz</include>
213+
</includes>
214+
</fileSet>
215+
</fileSets>
216+
<failIfNoFiles>true</failIfNoFiles>
217+
</configuration>
218+
</plugin>
192219
</plugins>
193220
</build>
194221

0 commit comments

Comments
 (0)