in src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java [279:287]
private void writeAllArtifactsInSha512PropertiesFile() throws MojoExecutionException {
final File propertiesFile = new File(workingDirectory, "sha512.properties");
getLog().info("Writing " + propertiesFile);
try (OutputStream fileWriter = Files.newOutputStream(propertiesFile.toPath())) {
artifactSha512s.store(fileWriter, "Release SHA-512s");
} catch (final IOException e) {
throw new MojoExecutionException("Failure to write SHA-512's", e);
}
}