File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,6 +242,45 @@ CSV files of various types.
242242 </excludes >
243243 </configuration >
244244 </plugin >
245+
246+ <!--
247+ calculate checksums of release artifacts for Apache dist area
248+ -->
249+ <plugin >
250+ <groupId >net.nicoulaj.maven.plugins</groupId >
251+ <artifactId >checksum-maven-plugin</artifactId >
252+ <version >1.7</version >
253+ <executions >
254+ <execution >
255+ <id >generate.checksums</id >
256+ <phase >verify</phase >
257+ <goals >
258+ <goal >files</goal >
259+ </goals >
260+ </execution >
261+ </executions >
262+ <configuration >
263+ <algorithms >
264+ <algorithm >SHA-512</algorithm >
265+ </algorithms >
266+ <csvSummary >false</csvSummary >
267+ <fileSets >
268+ <fileSet >
269+ <directory >${project.build.directory} </directory >
270+ <includes >
271+ <include >${project.artifactId} -${project.version} -src.zip</include >
272+ <include >
273+ ${project.artifactId} -${project.version} -src.tar.gz
274+ </include >
275+ <include >${project.artifactId} -${project.version} -bin.zip</include >
276+ <include >
277+ ${project.artifactId} -${project.version} -bin.tar.gz
278+ </include >
279+ </includes >
280+ </fileSet >
281+ </fileSets >
282+ </configuration >
283+ </plugin >
245284 </plugins >
246285 </build >
247286
You can’t perform that action at this time.
0 commit comments