This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-release-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 2b159df Javadoc fixes. 2b159df is described below commit 2b159df9712c8186b66821f0de613ddc831c6a75 Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Wed Jul 31 09:14:59 2019 -0400 Javadoc fixes. --- .../release/plugin/mojos/CommonsDistributionDetachmentMojo.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java index 48eeccf..f890203 100755 --- a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java +++ b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java @@ -77,7 +77,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo { private final List<Artifact> detachedArtifacts = new ArrayList<>(); /** - * A {@link SortedProperties} of {@link Artifact} → {@link String} containing the sha256 signatures + * A {@link SortedProperties} of {@link Artifact} → {@link String} containing the sha512 signatures * for the individual artifacts, where the {@link Artifact} is represented as: * <code>groupId:artifactId:version:type=sha512</code>. */ @@ -206,7 +206,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo { } /** - * A helper method that creates sha256 and sha512 signature files for our detached artifacts in the + * A helper method that creates sha512 signature files for our detached artifacts in the * <code>target/commons-release-plugin</code> directory for the purpose of being uploaded by * the {@link CommonsDistributionStagingMojo}. * @@ -217,6 +217,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo { for (final Artifact artifact : detachedArtifacts) { if (!artifact.getFile().getName().contains("asc")) { final String artifactKey = getArtifactKey(artifact); + // Don't hash ASC files. try { String digest; // SHA-512 @@ -249,7 +250,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo { } /** - * Generates the unique artifact key for storage in our sha256 map and sha512 map. For example, + * Generates the unique artifact key for storage in our sha512 map. For example, * commons-test-1.4-src.tar.gz should have it's name as the key. * * @param artifact the {@link Artifact} that we wish to generate a key for.