How do you create a checksum in Maven then output it to a text file?
问题 Still learning how to use Maven , and I was wondering if there is a way to do a checksum on the generated WAR file. The Maven goal is package , and what I'm trying to achieve is to get a checksum value (of the packaged WAR file) put into a text file alongside the packaged file. Thanks in advance! 回答1: Got it working with the below pom code and changing my Maven goal to verify <dependency> ... <!-- CheckSum --> <dependency> <groupId>net.ju-n.maven.plugins</groupId> <artifactId>checksum-maven