This is an automated email from the ASF dual-hosted git repository.

garydgregory 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 8e2513d  Standardize Javadoc and documentation conventions (#435)
8e2513d is described below

commit 8e2513d31f249bb3a7787cf9f5bff69481b5debc
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Nov 23 15:37:23 2026 -0500

    Standardize Javadoc and documentation conventions (#435)
    
    Use US English, expand Latin abbreviations, and correct method
    summaries,
    exception descriptions, paragraph formatting, and inline Javadoc tags.
---
 checkstyle.xml                                     | 14 ++--
 pom.xml                                            | 27 ++++---
 .../commons/release/plugin/SharedFunctions.java    | 55 +++++++-------
 .../mojos/CommonsDistributionDetachmentMojo.java   | 53 ++++++-------
 .../mojos/CommonsDistributionStagingMojo.java      | 86 ++++++++++++----------
 .../plugin/mojos/CommonsSiteCompressionMojo.java   | 21 +++---
 .../plugin/mojos/CommonsStagingCleanupMojo.java    | 43 ++++++-----
 .../release/plugin/slsa/v1_2/BuildDefinition.java  | 14 ++--
 .../release/plugin/slsa/v1_2/BuildMetadata.java    | 24 ++++--
 .../commons/release/plugin/slsa/v1_2/Builder.java  | 24 ++++--
 .../release/plugin/slsa/v1_2/DsseEnvelope.java     | 28 ++++---
 .../release/plugin/slsa/v1_2/Provenance.java       | 24 ++++--
 .../plugin/slsa/v1_2/ResourceDescriptor.java       | 54 +++++++++-----
 .../release/plugin/slsa/v1_2/RunDetails.java       |  8 +-
 .../release/plugin/slsa/v1_2/Signature.java        | 18 +++--
 .../release/plugin/slsa/v1_2/Statement.java        | 26 +++++--
 .../release/plugin/slsa/v1_2/package-info.java     |  2 +-
 .../velocity/HeaderHtmlVelocityDelegate.java       | 10 ++-
 .../velocity/ReadmeHtmlVelocityDelegate.java       | 40 ++++++----
 .../release/plugin/velocity/package-info.java      |  1 +
 .../commons-xdoc-templates/vote-txt-template.txt   |  6 +-
 .../commons/release/plugin/velocity/README.vm      |  9 +--
 src/main/resources/signature-validator.sh          |  2 +-
 src/main/scripts/generate-xdocs.build.xml          | 12 +--
 src/main/scripts/generate-xdocs.mojos.xml          | 12 +--
 src/site/xdoc/development.xml                      | 12 ++-
 src/site/xdoc/index.xml                            | 28 +++----
 src/site/xdoc/vote-txt.xml                         | 14 ++--
 .../mojos/CommonsDistributionStagingMojoTest.java  |  4 +-
 .../mojos/CommonsSiteCompressionMojoTest.java      |  2 +-
 30 files changed, 389 insertions(+), 284 deletions(-)

diff --git a/checkstyle.xml b/checkstyle.xml
index f347590..95e755f 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -20,7 +20,7 @@
         "http://www.puppycrawl.com/dtds/configuration_1_2.dtd";>
 <!--
 
-  Checkstyle configuration that checks the sun coding conventions from:
+  Checkstyle configuration that checks the Sun coding conventions from:
 
     - the Java Language Specification at
       http://java.sun.com/docs/books/jls/second_edition/html/index.html
@@ -30,14 +30,14 @@
     - the Javadoc guidelines at
       http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
 
-    - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
+    - the JDK API documentation http://java.sun.com/j2se/docs/api/index.html
 
     - some best practices
 
   Checkstyle is very configurable. Be sure to read the documentation at
   http://checkstyle.sf.net (or in your downloaded distribution).
 
-  Most Checks are configurable, be sure to consult the documentation.
+  Most checks are configurable. Be sure to consult the documentation.
 
   To completely disable a check, just comment it out or delete it from the 
file.
 
@@ -66,7 +66,7 @@
 
   <module name="FileLength" />
 
-  <!-- Following interprets the header file as regular expressions. -->
+  <!-- The following check interprets the header file as regular expressions. 
-->
   <!-- <module name="RegexpHeader"/> -->
 
   <module name="FileTabCharacter">
@@ -74,7 +74,7 @@
   </module>
 
   <module name="RegexpSingleline">
-    <!-- \s matches whitespace character, $ matches end of line. -->
+    <!-- \s matches a whitespace character; $ matches the end of a line. -->
     <property name="format" value="\s+$" />
     <property name="message" value="Line has trailing spaces." />
   </module>
@@ -107,8 +107,8 @@
     <!-- Checks for Headers -->
     <!-- See http://checkstyle.sf.net/config_header.html -->
     <!-- <module name="Header"> -->
-    <!-- The follow property value demonstrates the ability -->
-    <!-- to have access to ANT properties. In this case it uses -->
+    <!-- The following property value demonstrates the ability -->
+    <!-- to access Ant properties. In this case, it uses -->
     <!-- the ${basedir} property to allow Checkstyle to be run -->
     <!-- from any directory within a project. See property -->
     <!-- expansion, -->
diff --git a/pom.xml b/pom.xml
index 157d2ad..42b827f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,8 +56,8 @@
     <failOnError>false</failOnError>
     <maven.compiler.source>1.8</maven.compiler.source>
     <maven.compiler.target>1.8</maven.compiler.target>
-    <!-- 3.8.2 fails with some class not found error -->
-    <!-- 3.8.3 fails because MavenProject.getAttachedArtifacts() returns an 
IMMUTABLE collection and we want to change it! -->
+    <!-- 3.8.2 fails with a class-not-found error. -->
+    <!-- 3.8.3 fails because MavenProject.getAttachedArtifacts() returns an 
immutable collection that this plugin needs to modify. -->
     <maven.dependency.version>3.10.2</maven.dependency.version>
     <commons.componentid>release-plugin</commons.componentid>
     <commons.dist.subdir>release-plugin</commons.dist.subdir>
@@ -77,11 +77,11 @@
     <commons.jacoco.complexityRatio>0.1</commons.jacoco.complexityRatio>
     <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
     <commons.encoding>ISO-8859-1</commons.encoding>
-    <!-- Provide the Javadoc HTML file encoding -->
+    <!-- Provide the Javadoc HTML file encoding. -->
     <commons.docEncoding>${commons.encoding}</commons.docEncoding>
-    <!-- Define source encoding for filtering; used by general plugins -->
+    <!-- Define the source encoding for filtering and general plugin use. -->
     
<project.build.sourceEncoding>${commons.encoding}</project.build.sourceEncoding>
-    <!-- This is used by reporting plugins -->
+    <!-- This encoding is used by reporting plugins. -->
     
<project.reporting.outputEncoding>${commons.encoding}</project.reporting.outputEncoding>
     
<project.build.outputTimestamp>2026-11-14T12:33:54Z</project.build.outputTimestamp>
     <commons.release.isDistModule>true</commons.release.isDistModule>
@@ -91,15 +91,14 @@
     <commons.rc.version>RC1</commons.rc.version>
     <commons.release.isDistModule>true</commons.release.isDistModule>
     <!--
-      Define the following in ~/.m2/settings.xml in an active profile:
-      (or provide them on the command line)
+      Define the following in an active profile in ~/.m2/settings.xml, or 
provide them on the command line:
       commons.releaseManagerName
       commons.releaseManagerKey
     -->
-    <!-- Including commons release plugin older version -->
+    <!-- Maven plugin tools version. -->
     <maven.plugin.version>3.16.0</maven.plugin.version>
     <commons.build-plugin.version>1.16.0</commons.build-plugin.version>
-    <!-- Until Maven plugins used here don't fail the Moditect plugin -->
+    <!-- Skip Moditect until it works with the Maven plugins used here. -->
     <moditect.skip>true</moditect.skip>
     <japicmp.skip>true</japicmp.skip>
     <!-- Dependency versions -->
@@ -278,7 +277,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-plugin-plugin</artifactId>
-        <!-- Add the Ant plugin tools to the plugin -->
+        <!-- Add the Ant plugin tools to the plugin. -->
         <dependencies>
           <dependency>
             <groupId>org.apache.maven.plugin-tools</groupId>
@@ -298,7 +297,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
-          <!-- keep only errors and warnings -->
+          <!-- Keep only errors and warnings. -->
           <show>private</show>
           <quiet>true</quiet>
           <encoding>${commons.encoding}</encoding>
@@ -359,7 +358,7 @@
         <!-- Note that since JaCoCo relies on an agent to perform tests,
              it changes the surefire arguments line. If a component also
              needs to change the argument line of maven-surefire-plugin,
-             then it must add ${argLine} property (which is set by JaCoCo)
+             then it must add the ${argLine} property (which is set by JaCoCo)
              in the argLine configuration element of maven-surefire-plugin
              to preserve JaCoCo settings. -->
         <executions>
@@ -621,7 +620,7 @@
               </execution>
             </executions>
           </plugin>
-          <!-- We want to sign the artifact, the POM, and all attached 
artifacts -->
+          <!-- Sign the artifact, the POM, and all attached artifacts. -->
           <plugin>
             <artifactId>maven-gpg-plugin</artifactId>
             <executions>
@@ -670,7 +669,7 @@
                 <goals>
                   <goal>single</goal>
                 </goals>
-                <!-- COMMONSSITE-87 Ensure this runs after all package phase 
plugins -->
+                <!-- COMMONSSITE-87: Ensure this runs after all plugins bound 
to the package phase. -->
                 <phase>verify</phase>
               </execution>
             </executions>
diff --git 
a/src/main/java/org/apache/commons/release/plugin/SharedFunctions.java 
b/src/main/java/org/apache/commons/release/plugin/SharedFunctions.java
index b5783e5..105aad6 100644
--- a/src/main/java/org/apache/commons/release/plugin/SharedFunctions.java
+++ b/src/main/java/org/apache/commons/release/plugin/SharedFunctions.java
@@ -44,8 +44,7 @@ public final class SharedFunctions {
     public static final int BUFFER_BYTE_SIZE = 1024;
 
     /**
-     * Copies a {@link File} from the <code>fromFile</code> to the 
<code>toFile</code> and logs the failure
-     * using the Maven {@link Log}.
+     * Copies <code>fromFile</code> to <code>toFile</code> and logs I/O 
failures using the Maven {@link Log}.
      *
      * @param log The {@link Log}, the Maven logger.
      * @param fromFile The {@link File} from which to copy.
@@ -66,11 +65,10 @@ public final class SharedFunctions {
     }
 
     /**
-     * Cleans and then initializes an empty directory that is given by the 
<code>workingDirectory</code>
-     * parameter.
+     * Cleans and then initializes the directory specified by 
<code>workingDirectory</code>.
      *
-     * @param log is the Maven log for output logging, particularly with 
regard to error management.
-     * @param workingDirectory is a {@link File} that represents the directory 
to first attempt to delete and then create.
+     * @param log The Maven logger.
+     * @param workingDirectory The directory to delete and then create.
      * @throws MojoExecutionException Thrown if an {@link IOException} occurs.
      */
     public static void initDirectory(final Log log, final File 
workingDirectory) throws MojoExecutionException {
@@ -91,8 +89,12 @@ public final class SharedFunctions {
     }
 
     /**
-     * Checks that the specified object reference is not {@code null}. This 
method is designed primarily for doing parameter validation in methods and
-     * constructors, as demonstrated below: <blockquote>
+     * Checks that the specified object reference is not {@code null}.
+     *
+     * <p>
+     * This method is designed primarily for parameter validation in methods 
and constructors, as demonstrated below.
+     * </p>
+     * <blockquote>
      *
      * <pre>
      * public Foo(Bar bar) {
@@ -102,9 +104,9 @@ public final class SharedFunctions {
      *
      * </blockquote>
      *
-     * @param obj The object reference to check for nullity
-     * @param <T> The type of the reference
-     * @return {@code obj} if not {@code null}
+     * @param obj The object reference to check for nullity.
+     * @param <T> The type of the reference.
+     * @return {@code obj} if not {@code null}.
      * @throws MojoExecutionException Thrown if {@code obj} is {@code null}.
      */
     public static <T> T requireNonNull(final T obj) throws 
MojoExecutionException {
@@ -115,8 +117,12 @@ public final class SharedFunctions {
     }
 
     /**
-     * Checks that the specified object reference is not {@code null} and 
throws a customized {@link MojoExecutionException} if it is. This method is 
designed
-     * primarily for doing parameter validation in methods and constructors 
with multiple parameters, as demonstrated below: <blockquote>
+     * Checks that the specified object reference is not {@code null} and 
throws a customized {@link MojoExecutionException} if it is.
+     *
+     * <p>
+     * This method is designed primarily for parameter validation in methods 
and constructors with multiple parameters, as demonstrated below.
+     * </p>
+     * <blockquote>
      *
      * <pre>
      * public Foo(Bar bar, Baz baz) {
@@ -127,11 +133,10 @@ public final class SharedFunctions {
      *
      * </blockquote>
      *
-     * @param obj The object reference to check for nullity
-     * @param message detail message to be used in the event that a {@code
-     *                NullPointerException} is thrown
-     * @param <T> The type of the reference
-     * @return {@code obj} if not {@code null}
+     * @param obj The object reference to check for nullity.
+     * @param message The detail message for the {@code NullPointerException} 
wrapped in the thrown {@code MojoExecutionException}.
+     * @param <T> The type of the reference.
+     * @return {@code obj} if not {@code null}.
      * @throws MojoExecutionException Thrown if {@code obj} is {@code null}.
      */
     public static <T> T requireNonNull(final T obj, final String message) 
throws MojoExecutionException {
@@ -143,16 +148,16 @@ public final class SharedFunctions {
 
     /**
      * Checks that the specified object reference is not {@code null} and 
throws a customized {@link MojoExecutionException} if it is.
+     *
      * <p>
-     * Unlike the method {@link #requireNonNull(Object, String)}, this method 
allows creation of the message to be deferred until after the null check is 
made.
-     * While this may confer a performance advantage in the non-null case, 
when deciding to call this method, care should be taken that the costs of 
creating
-     * the message supplier are less than the cost of just creating the string 
message directly.
+     * Unlike {@link #requireNonNull(Object, String)}, this method defers 
message creation until after the null check. This may improve performance when 
the
+     * object is not null, provided that creating the message supplier costs 
less than creating the message directly.
      * </p>
      *
-     * @param obj The object reference to check for nullity
-     * @param messageSupplier supplier of the detail message to be used in the 
event that a {@code NullPointerException} is thrown
-     * @param <T> The type of the reference
-     * @return {@code obj} if not {@code null}
+     * @param obj The object reference to check for nullity.
+     * @param messageSupplier The supplier of the detail message for the 
{@code NullPointerException} wrapped in the thrown {@code 
MojoExecutionException}.
+     * @param <T> The type of the reference.
+     * @return {@code obj} if not {@code null}.
      * @throws MojoExecutionException Thrown if {@code obj} is {@code null}.
      */
     public static <T> T requireNonNull(final T obj, final Supplier<String> 
messageSupplier) throws MojoExecutionException {
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 1d576d0..a45b9a9 100644
--- 
a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java
+++ 
b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java
@@ -42,9 +42,11 @@ import org.apache.maven.plugins.annotations.Parameter;
 import org.apache.maven.project.MavenProject;
 
 /**
- * The purpose of this Maven mojo is to detach the artifacts generated by the 
maven-assembly-plugin,
- * which for the Apache Commons Project do not get uploaded to Nexus, and put 
those artifacts
- * in the dev distribution location for Apache projects.
+ * Detaches the artifacts generated by the maven-assembly-plugin and prepares 
them for staging in the development distribution repository.
+ *
+ * <p>
+ * Apache Commons distribution artifacts are staged separately from the 
artifacts uploaded to Nexus.
+ * </p>
  *
  * @since 1.0
  */
@@ -55,11 +57,11 @@ import org.apache.maven.project.MavenProject;
 public final class CommonsDistributionDetachmentMojo extends AbstractMojo {
 
     /**
-     * A list of "artifact types" in the Maven vernacular, to
-     * be detached from the deployment. For the time being, we want
-     * all artifacts generated by the maven-assembly-plugin to be detached
-     * from the deployment, namely *-src.zip, *-src.tar.gz, *-bin.zip,
-     * *-bin.tar.gz, and the corresponding .asc PGP signatures.
+     * The Maven artifact types to detach from deployment.
+     *
+     * <p>
+     * These types cover the ZIP and TAR.GZ distributions generated by the 
maven-assembly-plugin and their .asc PGP signatures.
+     * </p>
      */
     private static final Set<String> ARTIFACT_TYPES_TO_DETACH;
 
@@ -73,8 +75,7 @@ public final class CommonsDistributionDetachmentMojo extends 
AbstractMojo {
     }
 
     /**
-     * This list is supposed to hold the Maven references to the 
aforementioned artifacts so that we
-     * can upload them to SVN after they've been detached from the Maven 
deployment.
+     * The Maven artifacts to upload to SVN after detaching them from 
deployment.
      */
     private final List<Artifact> detachedArtifacts = new ArrayList<>();
 
@@ -84,7 +85,7 @@ public final class CommonsDistributionDetachmentMojo extends 
AbstractMojo {
     private final SortedProperties artifactSha512s = new SortedProperties();
 
     /**
-     * The Maven project context injection so that we can access the project 
variables.
+     * The Maven project context used to access project variables.
      */
     @Parameter(defaultValue = "${project}", required = true)
     private MavenProject project;
@@ -103,7 +104,7 @@ public final class CommonsDistributionDetachmentMojo 
extends AbstractMojo {
     private String distSvnStagingUrl;
 
     /**
-     * A parameter to generally avoid running unless it is specifically turned 
on by the consuming module.
+     * Whether the consuming module enables this mojo for distribution 
artifacts.
      */
     @Parameter(defaultValue = "false", property = 
"commons.release.isDistModule")
     private Boolean isDistModule;
@@ -112,12 +113,11 @@ public final class CommonsDistributionDetachmentMojo 
extends AbstractMojo {
      * Constructs a new instance.
      */
     public CommonsDistributionDetachmentMojo() {
-        // empty
+        // No initialization required.
     }
 
     /**
-     * A helper method to copy the newly detached artifacts to 
<code>target/commons-release-plugin</code>
-     * so that the {@link CommonsDistributionStagingMojo} can find the 
artifacts later.
+     * Copies the newly detached artifacts to 
<code>target/commons-release-plugin</code> so that {@link 
CommonsDistributionStagingMojo} can find them later.
      *
      * @throws MojoExecutionException Thrown if an {@link IOException} occurs.
      */
@@ -170,7 +170,7 @@ public final class CommonsDistributionDetachmentMojo 
extends AbstractMojo {
             final ArrayList<Artifact> arrayList = new 
ArrayList<>(project.getAttachedArtifacts());
             arrayList.removeAll(detachedArtifacts);
             try {
-                // MavenProject#setAttachedArtifacts(List) is protected
+                // MavenProject#setAttachedArtifacts(List) is protected.
                 MethodUtils.invokeMethod(project, true, 
"setAttachedArtifacts", arrayList);
             } catch (final ReflectiveOperationException roe) {
                 throw new MojoExecutionException(roe);
@@ -191,11 +191,14 @@ public final class CommonsDistributionDetachmentMojo 
extends AbstractMojo {
     }
 
     /**
-     * Gets the unique artifact key for storage in our sha512 map. For example,
-     * commons-test-1.4-src.tar.gz should have its name as the key.
+     * Gets the unique artifact key for storage in the SHA-512 map.
+     *
+     * <p>
+     * For example, commons-test-1.4-src.tar.gz uses its file name as the key.
+     * </p>
      *
      * @param artifact The {@link Artifact} that we wish to generate a key for.
-     * @return The generated key
+     * @return The generated key.
      */
     private String getArtifactKey(final Artifact artifact) {
         return artifact.getFile().getName();
@@ -204,7 +207,7 @@ public final class CommonsDistributionDetachmentMojo 
extends AbstractMojo {
     /**
      * Gets the file path for the <code>sha512</code> checksum file for a 
given file.
      *
-     * @param directory is the {@link File} for the directory in which to make 
the <code>.sha512</code> file.
+     * @param directory The directory in which to create the 
<code>.sha512</code> file.
      * @param file The {@link File} whose name we should use to create the 
<code>.sha512</code> file.
      * @return A {@link String} that is the absolute path to the 
<code>.sha512</code> file.
      */
@@ -245,13 +248,13 @@ public final class CommonsDistributionDetachmentMojo 
extends AbstractMojo {
     /**
      * Computes the SHA-512 hash of an attached artifact and stores it in the 
map.
      *
-     * @param artifact is a Maven {@link Artifact} taken from the project when 
the mojo starts.
+     * @param artifact The Maven {@link Artifact} taken from the project when 
the mojo starts.
      * @throws MojoExecutionException Thrown if an {@link IOException} occurs 
when computing the SHA-512 hash of the
      *                                artifact.
      */
     private void putAttachedArtifactInSha512Map(final Artifact artifact) 
throws MojoExecutionException {
         final String artifactKey = getArtifactKey(artifact);
-        if (!artifactKey.endsWith(".asc")) { // .asc files don't need hashes
+        if (!artifactKey.endsWith(".asc")) { // Signature files do not need 
hashes.
             putFileInSha512Map(artifactKey, artifact.getFile());
         }
     }
@@ -259,9 +262,9 @@ public final class CommonsDistributionDetachmentMojo 
extends AbstractMojo {
     /**
      * Computes a file's SHA-512 hash and stores it under its release artifact 
name.
      *
-     * @param artifactKey the release artifact name.
-     * @param file the file to hash.
-     * @throws MojoExecutionException if the file cannot be read.
+     * @param artifactKey The release artifact name.
+     * @param file The file to hash.
+     * @throws MojoExecutionException Thrown if the file cannot be read.
      */
     private void putFileInSha512Map(final String artifactKey, final File file) 
throws MojoExecutionException {
         try (InputStream input = Files.newInputStream(file.toPath())) {
diff --git 
a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
 
b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
index dc0a115..f29312c 100644
--- 
a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
+++ 
b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
@@ -71,18 +71,23 @@ import org.apache.maven.settings.crypto.SettingsDecrypter;
         aggregator = true)
 public final class CommonsDistributionStagingMojo extends AbstractMojo {
 
-    /** The name of the file generated from the README.vm Velocity template to 
be checked into the dist SVN repo. */
+    /**
+     * The name of the file generated from the README.vm Velocity template to 
be checked into the dist SVN repo.
+     */
     private static final String README_FILE_NAME = "README.html";
 
-    /** The name of the file generated from the HEADER.vm Velocity template to 
be checked into the dist SVN repo. */
+    /**
+     * The name of the file generated from the HEADER.vm Velocity template to 
be checked into the dist SVN repo.
+     */
     private static final String HEADER_FILE_NAME = "HEADER.html";
 
-    /** The name of the signature validation shell script to be checked into 
the dist SVN repo. */
+    /**
+     * The name of the signature validation shell script to be checked into 
the dist SVN repo.
+     */
     private static final String SIGNATURE_VALIDATOR_NAME = 
"signature-validator.sh";
 
     /**
-     * The {@link MavenProject} object is essentially the context of the Maven 
build at
-     * a given time.
+     * The Maven project context for the current build.
      */
     @Parameter(defaultValue = "${project}", required = true)
     private MavenProject project;
@@ -94,49 +99,55 @@ public final class CommonsDistributionStagingMojo extends 
AbstractMojo {
     @Parameter(defaultValue = "${basedir}")
     private File baseDir;
 
-    /** The location to which the site gets built when running <code>mvn 
site</code>. */
+    /**
+     * The location to which the site gets built when running <code>mvn 
site</code>.
+     */
     @Parameter(defaultValue = "${project.build.directory}/site", property = 
"commons.siteOutputDirectory")
     private File siteDirectory;
 
     /**
-     * The main working directory for the plugin, namely 
<code>target/commons-release-plugin</code>, but
-     * that assumes that we're using the default Maven 
<code>${project.build.directory}</code>.
+     * The main working directory for the plugin, which is 
<code>target/commons-release-plugin</code> when Maven uses
+     * the default <code>${project.build.directory}</code>.
      */
     @Parameter(defaultValue = 
"${project.build.directory}/commons-release-plugin", property = 
"commons.outputDirectory")
     private File workingDirectory;
 
     /**
-     * The location to which to check out the dist Subversion repository under 
our working directory, which
-     * was given above.
+     * The directory under the working directory in which to check out the 
distribution Subversion repository.
      */
     @Parameter(defaultValue = 
"${project.build.directory}/commons-release-plugin/scm",
             property = "commons.distCheckoutDirectory")
     private File distCheckoutDirectory;
 
     /**
-     * The location of the RELEASE-NOTES.txt file such that multi-module 
builds can configure it.
+     * The configurable location of RELEASE-NOTES.txt for multi-module builds.
      */
     @Parameter(defaultValue = "${basedir}/RELEASE-NOTES.txt", property = 
"commons.releaseNotesLocation")
     private File releaseNotesFile;
 
     /**
-     * A boolean that determines whether or not we actually commit the files 
up to the Subversion repository.
-     * If this is set to {@code true}, we do all but make the commits. We do 
check out the repository in question,
-     * though.
+     * Whether to perform a dry run without committing changes to the 
Subversion repository.
+     *
+     * <p>
+     * If {@code true}, the mojo checks out the repository and prepares 
changes but does not commit them.
+     * </p>
      */
     @Parameter(property = "commons.release.dryRun", defaultValue = "false")
     private Boolean dryRun;
 
     /**
-     * The URL of the Subversion repository to which we wish the artifacts to 
be staged. Typically this would need to
-     * be of the form: 
<code>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo/version-RC#</code>.
 Note that
-     * the prefix to the substring <code>https</code> is a requirement.
+     * The URL of the Subversion repository used to stage artifacts.
+     *
+     * <p>
+     * Typically, this has the form 
<code>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo/version-RC#</code>.
+     * The <code>scm:svn:</code> prefix is required.
+     * </p>
      */
     @Parameter(defaultValue = "", property = "commons.distSvnStagingUrl")
     private String distSvnStagingUrl;
 
     /**
-     * A parameter to generally avoid running unless it is specifically turned 
on by the consuming module.
+     * Whether the consuming module enables this mojo for distribution 
artifacts.
      */
     @Parameter(defaultValue = "false", property = 
"commons.release.isDistModule")
     private Boolean isDistModule;
@@ -154,8 +165,11 @@ public final class CommonsDistributionStagingMojo extends 
AbstractMojo {
     private String commonsRcVersion;
 
     /**
-     * The ID of the server (specified in settings.xml) which should be used 
for dist authentication.
-     * This will be used in preference to {@link #username}/{@link #password}.
+     * The ID of the server in <code>settings.xml</code> used for 
authentication to the distribution repository.
+     *
+     * <p>
+     * These credentials take precedence over {@link #username} and {@link 
#password}.
+     * </p>
      */
     @Parameter(property = "commons.distServer")
     private String distServer;
@@ -195,11 +209,11 @@ public final class CommonsDistributionStagingMojo extends 
AbstractMojo {
      * Constructs a new instance.
      */
     public CommonsDistributionStagingMojo() {
-        // empty
+        // No initialization required.
     }
 
     /**
-     * Builds up <code>README.html</code> and <code>HEADER.html</code> that 
reside in the following directory structure:
+     * Builds <code>README.html</code> and <code>HEADER.html</code> in the 
following directory structure:
      * <ul>
      *     <li>distRoot
      *     <ul>
@@ -213,14 +227,14 @@ public final class CommonsDistributionStagingMojo extends 
AbstractMojo {
      *     </li>
      * </ul>
      *
-     * @return The {@link List} of created files above
+     * @return The {@link List} of files created in the directories above.
      * @throws MojoExecutionException Thrown if an {@link IOException} occurs 
while creating these files.
      */
     private List<File> buildReadmeAndHeaderHtmlFiles() throws 
MojoExecutionException {
         final List<File> headerAndReadmeFiles = new ArrayList<>();
         final File headerFile = new File(distRcVersionDirectory, 
HEADER_FILE_NAME);
         //
-        // HEADER file
+        // Create the HEADER file.
         //
         try (Writer headerWriter = new 
OutputStreamWriter(Files.newOutputStream(headerFile.toPath()),
                 StandardCharsets.UTF_8)) {
@@ -232,7 +246,7 @@ public final class CommonsDistributionStagingMojo extends 
AbstractMojo {
         }
         headerAndReadmeFiles.add(headerFile);
         //
-        // README file
+        // Create the README file.
         //
         final File readmeFile = new File(distRcVersionDirectory, 
README_FILE_NAME);
         try (Writer readmeWriter = new 
OutputStreamWriter(Files.newOutputStream(readmeFile.toPath()),
@@ -252,7 +266,7 @@ public final class CommonsDistributionStagingMojo extends 
AbstractMojo {
         }
         headerAndReadmeFiles.add(readmeFile);
         //
-        // signature-validator.sh file copy
+        // Copy the HEADER and README files to the subdirectories.
         //
         
headerAndReadmeFiles.addAll(copyHeaderAndReadmeToSubdirectories(headerFile, 
readmeFile));
         return headerAndReadmeFiles;
@@ -269,22 +283,21 @@ public final class CommonsDistributionStagingMojo extends 
AbstractMojo {
      *         <li>RELEASE-NOTES.txt</li>
      *         <li>source:
      *           <ul>
-     *             <li>-src artifacts....</li>
+     *             <li>-src artifacts</li>
      *           </ul>
      *         </li>
      *         <li>binaries:
      *           <ul>
-     *             <li>-bin artifacts....</li>
+     *             <li>-bin artifacts</li>
      *           </ul>
      *         </li>
      *     </ul>
      *   </li>
      * </ul>
      *
-     * @param copiedReleaseNotes is the RELEASE-NOTES.txt file that exists in 
the
-     *                           
<code>target/commons-release-plugin/scm</code> directory.
-     * @param provider is the {@link ScmProvider} that we will use for adding 
the files we wish to commit.
-     * @param repository is the {@link ScmRepository} that we will use for 
adding the files that we wish to commit.
+     * @param copiedReleaseNotes The RELEASE-NOTES.txt file in the 
<code>target/commons-release-plugin/scm</code> directory.
+     * @param provider The {@link ScmProvider} used to add files for the 
commit.
+     * @param repository The {@link ScmRepository} to which the files will be 
committed.
      * @return A {@link List} of {@link File} objects in the directory for the 
purpose of adding them to the Maven
      *         {@link ScmFileSet}.
      * @throws MojoExecutionException Thrown if an {@link IOException} occurs.
@@ -373,7 +386,7 @@ public final class CommonsDistributionStagingMojo extends 
AbstractMojo {
      * Copies our <code>signature-validator.sh</code> script into
      * 
<code>${basedir}/target/commons-release-plugin/scm/signature-validator.sh</code>.
      *
-     * @return The {@link File} for the signature-validator.sh
+     * @return The {@link File} for the signature-validator.sh script.
      * @throws MojoExecutionException Thrown if an error occurs while copying 
the resource.
      */
     private File copySignatureValidatorScriptToScmDirectory() throws 
MojoExecutionException {
@@ -496,8 +509,8 @@ public final class CommonsDistributionStagingMojo extends 
AbstractMojo {
     /**
      * Lists all directories and files in a flat list.
      *
-     * @param directory {@link File} containing directory to list
-     * @param files A {@link List} of {@link File} to which to append the 
files.
+     * @param directory The directory to list.
+     * @param files The list to which to append files and directories.
      */
     private void listNotHiddenFilesAndDirectories(final File directory, final 
List<File> files) {
         // Get all the files and directories from a directory.
@@ -515,8 +528,7 @@ public final class CommonsDistributionStagingMojo extends 
AbstractMojo {
     /**
      * Sets the {@link CommonsDistributionStagingMojo#baseDir} field for use 
in unit tests.
      *
-     * @param baseDir is the {@link File} to be used as the project's root 
directory when this mojo
-     *                is invoked.
+     * @param baseDir The project's root directory to use when this mojo is 
invoked.
      */
     protected void setBaseDir(final File baseDir) {
         this.baseDir = baseDir;
diff --git 
a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.java
 
b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.java
index d8f7031..d3281f1 100644
--- 
a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.java
+++ 
b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.java
@@ -65,16 +65,18 @@ public final class CommonsSiteCompressionMojo extends 
AbstractMojo {
     private File siteDirectory;
 
     /**
-     * The URL of the Subversion repository to which we wish the artifacts to 
be staged. Typically
-     * this would need to be of the form:
-     * 
<code>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo</code>. Note 
that the prefix to the
-     * substring <code>https</code> is a requirement.
+     * The URL of the Subversion repository used to stage artifacts.
+     *
+     * <p>
+     * Typically, this has the form 
<code>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo</code>.
+     * The <code>scm:svn:</code> prefix is required.
+     * </p>
      */
     @Parameter(defaultValue = "", property = "commons.distSvnStagingUrl")
     private String distSvnStagingUrl;
 
     /**
-     * A parameter to generally avoid running unless it is specifically turned 
on by the consuming module.
+     * Whether the consuming module enables this mojo for distribution 
artifacts.
      */
     @Parameter(defaultValue = "false", property = 
"commons.release.isDistModule")
     private Boolean isDistModule;
@@ -88,7 +90,7 @@ public final class CommonsSiteCompressionMojo extends 
AbstractMojo {
      * Constructs a new instance.
      */
     public CommonsSiteCompressionMojo() {
-        // empty
+        // No initialization required.
     }
 
     /**
@@ -167,9 +169,8 @@ public final class CommonsSiteCompressionMojo extends 
AbstractMojo {
      * Writes all the files in <code>fileList</code> to a 
<code>site.zip</code> file
      * in the <code>workingDirectory</code>.
      *
-     * @param outputDirectory is a {@link File} representing the place to put 
the site.zip file.
-     * @param directoryToZip is a {@link File} representing the directory of 
the site (normally
-     *                       <code>target/site</code>).
+     * @param outputDirectory The directory in which to create the site.zip 
file.
+     * @param directoryToZip The site directory, normally 
<code>target/site</code>.
      * @param fileList The list of files to be zipped up, generally generated 
by
      *                 {@link CommonsSiteCompressionMojo#getAllSiteFiles(File, 
List)}.
      * @throws IOException Thrown if an error occurs while copying the files.
@@ -180,7 +181,7 @@ public final class CommonsSiteCompressionMojo extends 
AbstractMojo {
                 .toPath());
              ZipOutputStream zos = new ZipOutputStream(fos)) {
             for (final File file : fileList) {
-                if (!file.isDirectory()) { // we only ZIP files, not 
directories
+                if (!file.isDirectory()) { // Only files are added to the ZIP 
archive.
                     addToZip(directoryToZip, file, zos);
                 }
             }
diff --git 
a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsStagingCleanupMojo.java
 
b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsStagingCleanupMojo.java
index e27c9ab..7053659 100644
--- 
a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsStagingCleanupMojo.java
+++ 
b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsStagingCleanupMojo.java
@@ -45,8 +45,7 @@ import org.apache.maven.settings.Settings;
 import org.apache.maven.settings.crypto.SettingsDecrypter;
 
 /**
- * This class checks out the dev distribution location, checks whether 
anything exists in the
- * distribution location, and, if it is non-empty, deletes all the resources 
there.
+ * Checks out the development distribution repository and deletes its contents 
if it is not empty.
  *
  * @since 1.6
  */
@@ -57,52 +56,58 @@ import org.apache.maven.settings.crypto.SettingsDecrypter;
 public final class CommonsStagingCleanupMojo extends AbstractMojo {
 
     /**
-     * The {@link MavenProject} object is essentially the context of the Maven 
build at
-     * a given time.
+     * The Maven project context for the current build.
      */
     @Parameter(defaultValue = "${project}", required = true)
     private MavenProject project;
 
     /**
-     * The main working directory for the plugin, namely 
<code>target/commons-release-plugin</code>, but
-     * that assumes that we're using the default Maven 
<code>${project.build.directory}</code>.
+     * The main working directory for the plugin, which is 
<code>target/commons-release-plugin</code> when Maven uses
+     * the default <code>${project.build.directory}</code>.
      */
     @Parameter(defaultValue = 
"${project.build.directory}/commons-release-plugin", property = 
"commons.outputDirectory")
     private File workingDirectory;
 
     /**
-     * The location to which to check out the dist Subversion repository under 
our working directory, which
-     * was given above. We then do an SVN delete on all the directories in 
this repository.
+     * The directory under the working directory in which to check out the 
distribution Subversion repository for cleanup.
      */
     @Parameter(defaultValue = 
"${project.build.directory}/commons-release-plugin/scm-cleanup",
             property = "commons.distCleanupDirectory")
     private File distCleanupDirectory;
 
     /**
-     * A boolean that determines whether or not we actually commit the files 
up to the Subversion repository.
-     * If this is set to {@code true}, we do all but make the commits. We do 
check out the repository in question,
-     * though.
+     * Whether to perform a dry run without committing changes to the 
Subversion repository.
+     *
+     * <p>
+     * If {@code true}, the mojo checks out the repository and identifies 
files to delete but does not remove them or commit changes.
+     * </p>
      */
     @Parameter(property = "commons.release.dryRun", defaultValue = "false")
     private Boolean dryRun;
 
     /**
-     * The URL of the Subversion repository to which we wish the artifacts to 
be staged. Typically this would need to
-     * be of the form: 
<code>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo/version-RC#</code>.
 Note that
-     * the prefix to the substring <code>https</code> is a requirement.
+     * The URL of the Subversion repository used to stage artifacts.
+     *
+     * <p>
+     * Typically, this has the form 
<code>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo/version-RC#</code>.
+     * The <code>scm:svn:</code> prefix is required.
+     * </p>
      */
     @Parameter(defaultValue = "", property = "commons.distSvnStagingUrl")
     private String distSvnStagingUrl;
 
     /**
-     * A parameter to generally avoid running unless it is specifically turned 
on by the consuming module.
+     * Whether the consuming module enables this mojo for distribution 
artifacts.
      */
     @Parameter(defaultValue = "false", property = 
"commons.release.isDistModule")
     private Boolean isDistModule;
 
     /**
-     * The ID of the server (specified in settings.xml) which should be used 
for dist authentication.
-     * This will be used in preference to {@link #username}/{@link #password}.
+     * The ID of the server in <code>settings.xml</code> used for 
authentication to the distribution repository.
+     *
+     * <p>
+     * These credentials take precedence over {@link #username} and {@link 
#password}.
+     * </p>
      */
     @Parameter(property = "commons.distServer")
     private String distServer;
@@ -114,7 +119,7 @@ public final class CommonsStagingCleanupMojo extends 
AbstractMojo {
     private String username;
 
     /**
-     * The password associated with {@link 
CommonsDistributionStagingMojo#username}.
+     * The password associated with {@link #username}.
      */
     @Parameter(property = "user.password")
     private String password;
@@ -135,7 +140,7 @@ public final class CommonsStagingCleanupMojo extends 
AbstractMojo {
      * Constructs a new instance.
      */
     public CommonsStagingCleanupMojo() {
-        // empty
+        // No initialization required.
     }
 
     @Override
diff --git 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/BuildDefinition.java
 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/BuildDefinition.java
index 2d3b593..28dd63c 100644
--- 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/BuildDefinition.java
+++ 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/BuildDefinition.java
@@ -27,12 +27,12 @@ import com.fasterxml.jackson.annotation.JsonProperty;
  * Inputs that define the build: the build type, external and internal 
parameters, and resolved dependencies.
  *
  * <p>
- * Specifies everything that influenced the build output. Together with {@link 
RunDetails}, it forms the complete
+ * The build definition specifies everything that influenced the build output. 
Together with {@link RunDetails}, it forms the complete
  * {@link Provenance} record.
  * </p>
  *
- * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  * @since 1.10.0
+ * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  */
 public class BuildDefinition {
 
@@ -94,7 +94,7 @@ public class BuildDefinition {
      * Gets the URI indicating what type of build was performed.
      *
      * <p>
-     * Determines the meaning of {@code externalParameters} and {@code 
internalParameters}.
+     * The build type determines the meaning of {@code externalParameters} and 
{@code internalParameters}.
      * </p>
      *
      * @return The build type URI.
@@ -143,7 +143,7 @@ public class BuildDefinition {
      * Sets the URI indicating what type of build was performed.
      *
      * @param buildType The build type URI.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public BuildDefinition setBuildType(final String buildType) {
         this.buildType = buildType;
@@ -154,7 +154,7 @@ public class BuildDefinition {
      * Sets the inputs passed to the build.
      *
      * @param externalParameters The external parameters map.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public BuildDefinition setExternalParameters(final Map<String, Object> 
externalParameters) {
         this.externalParameters = externalParameters;
@@ -165,7 +165,7 @@ public class BuildDefinition {
      * Sets the parameters set by the build platform.
      *
      * @param internalParameters The internal parameters map.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public BuildDefinition setInternalParameters(final Map<String, Object> 
internalParameters) {
         this.internalParameters = internalParameters;
@@ -176,7 +176,7 @@ public class BuildDefinition {
      * Sets the materials that influenced the build.
      *
      * @param resolvedDependencies The list of resolved dependencies.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public BuildDefinition setResolvedDependencies(final 
List<ResourceDescriptor> resolvedDependencies) {
         this.resolvedDependencies = resolvedDependencies;
diff --git 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/BuildMetadata.java 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/BuildMetadata.java
index d41e725..989a566 100644
--- 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/BuildMetadata.java
+++ 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/BuildMetadata.java
@@ -26,25 +26,33 @@ import com.fasterxml.jackson.annotation.JsonProperty;
 /**
  * Metadata about a build invocation: its identifier and start and finish 
timestamps.
  *
- * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  * @since 1.10.0
+ * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  */
 @JsonInclude(JsonInclude.Include.NON_NULL)
 public class BuildMetadata {
 
-    /** Timestamp when the build completed. */
+    /**
+     * Timestamp when the build completed.
+     */
     @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = 
"yyyy-MM-dd'T'HH:mm:ss'Z'")
     @JsonProperty("finishedOn")
     private OffsetDateTime finishedOn;
-    /** Identifier for this build invocation. */
+    /**
+     * Identifier for this build invocation.
+     */
     @JsonProperty("invocationId")
     private String invocationId;
-    /** Timestamp when the build started. */
+    /**
+     * Timestamp when the build started.
+     */
     @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = 
"yyyy-MM-dd'T'HH:mm:ss'Z'")
     @JsonProperty("startedOn")
     private OffsetDateTime startedOn;
 
-    /** Creates a new BuildMetadata instance. */
+    /**
+     * Creates a new BuildMetadata instance.
+     */
     public BuildMetadata() {
     }
 
@@ -106,7 +114,7 @@ public class BuildMetadata {
      * Sets the timestamp of when the build completed.
      *
      * @param finishedOn The completion timestamp.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public BuildMetadata setFinishedOn(final OffsetDateTime finishedOn) {
         this.finishedOn = finishedOn;
@@ -117,7 +125,7 @@ public class BuildMetadata {
      * Sets the identifier for this build invocation.
      *
      * @param invocationId The invocation identifier.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public BuildMetadata setInvocationId(final String invocationId) {
         this.invocationId = invocationId;
@@ -128,7 +136,7 @@ public class BuildMetadata {
      * Sets the timestamp of when the build started.
      *
      * @param startedOn The start timestamp.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public BuildMetadata setStartedOn(final OffsetDateTime startedOn) {
         this.startedOn = startedOn;
diff --git 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Builder.java 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Builder.java
index 38c4229..d17a8e8 100644
--- a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Builder.java
+++ b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Builder.java
@@ -27,22 +27,30 @@ import com.fasterxml.jackson.annotation.JsonProperty;
 /**
  * Entity that executed the build and is trusted to have correctly performed 
the operation and populated the provenance.
  *
- * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  * @since 1.10.0
+ * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  */
 public class Builder {
 
-    /** Orchestrator dependencies that may affect provenance generation. */
+    /**
+     * Orchestrator dependencies that may affect provenance generation.
+     */
     @JsonProperty("builderDependencies")
     private List<ResourceDescriptor> builderDependencies = new ArrayList<>();
-    /** Identifier URI of the builder. */
+    /**
+     * Identifier URI of the builder.
+     */
     @JsonProperty("id")
     private String id;
-    /** Map of build platform component names to their versions. */
+    /**
+     * Map of build platform component names to their versions.
+     */
     @JsonProperty("version")
     private Map<String, String> version = new HashMap<>();
 
-    /** Creates a new Builder instance. */
+    /**
+     * Creates a new Builder instance.
+     */
     public Builder() {
     }
 
@@ -94,7 +102,7 @@ public class Builder {
      * Sets the orchestrator dependencies that may affect provenance 
generation or security guarantees.
      *
      * @param builderDependencies The list of builder dependencies.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public Builder setBuilderDependencies(final List<ResourceDescriptor> 
builderDependencies) {
         this.builderDependencies = builderDependencies;
@@ -105,7 +113,7 @@ public class Builder {
      * Sets the identifier of the builder.
      *
      * @param id The builder identifier URI.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public Builder setId(final String id) {
         this.id = id;
@@ -116,7 +124,7 @@ public class Builder {
      * Sets the map of build platform component names to their versions.
      *
      * @param version The version map.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public Builder setVersion(final Map<String, String> version) {
         this.version = version;
diff --git 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/DsseEnvelope.java 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/DsseEnvelope.java
index d5e5d01..f060e06 100644
--- 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/DsseEnvelope.java
+++ 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/DsseEnvelope.java
@@ -26,24 +26,34 @@ import org.apache.commons.lang3.ArrayUtils;
 /**
  * DSSE (Dead Simple Signing Envelope) that wraps a signed in-toto statement 
payload.
  *
- * @see <a 
href="https://github.com/secure-systems-lab/dsse/blob/v1.0.2/envelope.md";>DSSE 
Envelope specification</a>
  * @since 1.10.0
+ * @see <a 
href="https://github.com/secure-systems-lab/dsse/blob/v1.0.2/envelope.md";>DSSE 
Envelope specification</a>
  */
 public class DsseEnvelope {
 
-    /** The payload type URI for in-toto attestation statements. */
+    /**
+     * The payload type URI for in-toto attestation statements.
+     */
     public static final String PAYLOAD_TYPE = "application/vnd.in-toto+json";
-    /** Serialized statement bytes, Base64-encoded in JSON. */
+    /**
+     * Serialized statement bytes, Base64-encoded in JSON.
+     */
     @JsonProperty("payload")
     private byte[] payload;
-    /** Content type identifying the format of {@link #payload}. */
+    /**
+     * Content type identifying the format of {@link #payload}.
+     */
     @JsonProperty("payloadType")
     private String payloadType = PAYLOAD_TYPE;
-    /** One or more signatures over the PAE-encoded payload. */
+    /**
+     * One or more signatures over the PAE-encoded payload.
+     */
     @JsonProperty("signatures")
     private List<Signature> signatures;
 
-    /** Creates a new DsseEnvelope instance with {@code payloadType} pre-set 
to {@link #PAYLOAD_TYPE}. */
+    /**
+     * Creates a new DsseEnvelope instance with {@code payloadType} preset to 
{@link #PAYLOAD_TYPE}.
+     */
     public DsseEnvelope() {
     }
 
@@ -97,7 +107,7 @@ public class DsseEnvelope {
      * Sets the serialized payload bytes.
      *
      * @param payload The payload bytes.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public DsseEnvelope setPayload(final byte[] payload) {
         this.payload = payload;
@@ -108,7 +118,7 @@ public class DsseEnvelope {
      * Sets the payload type URI.
      *
      * @param payloadType The payload type URI.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public DsseEnvelope setPayloadType(final String payloadType) {
         this.payloadType = payloadType;
@@ -119,7 +129,7 @@ public class DsseEnvelope {
      * Sets the list of signatures over the PAE-encoded payload.
      *
      * @param signatures The signatures.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public DsseEnvelope setSignatures(final List<Signature> signatures) {
         this.signatures = signatures;
diff --git 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Provenance.java 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Provenance.java
index 44a9198..2136450 100644
--- a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Provenance.java
+++ b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Provenance.java
@@ -29,24 +29,32 @@ import com.fasterxml.jackson.annotation.JsonProperty;
  * used as the {@code predicate} field of an in-toto {@link Statement}.
  * </p>
  *
- * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  * @since 1.10.0
+ * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  */
 @JsonInclude(JsonInclude.Include.NON_NULL)
 public class Provenance {
 
-    /** Predicate type URI used in the in-toto {@link Statement} wrapping this 
provenance. */
+    /**
+     * Predicate type URI used in the in-toto {@link Statement} wrapping this 
provenance.
+     */
     public static final String PREDICATE_TYPE = 
"https://slsa.dev/provenance/v1";;
 
-    /** Inputs that defined the build. */
+    /**
+     * Inputs that defined the build.
+     */
     @JsonProperty("buildDefinition")
     private BuildDefinition buildDefinition;
 
-    /** Details about the build invocation. */
+    /**
+     * Details about the build invocation.
+     */
     @JsonProperty("runDetails")
     private RunDetails runDetails;
 
-    /** Creates a new Provenance instance. */
+    /**
+     * Creates a new Provenance instance.
+     */
     public Provenance() {
     }
 
@@ -77,7 +85,7 @@ public class Provenance {
      * Gets the build definition describing all inputs that produced the build 
output.
      *
      * <p>
-     * Includes source code, dependencies, build tools, base images, and other 
materials.
+     * The inputs include source code, dependencies, build tools, base images, 
and other materials.
      * </p>
      *
      * @return The build definition, or {@code null} if not set.
@@ -104,7 +112,7 @@ public class Provenance {
      * Sets the build definition describing all inputs that produced the build 
output.
      *
      * @param buildDefinition The build definition.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public Provenance setBuildDefinition(final BuildDefinition 
buildDefinition) {
         this.buildDefinition = buildDefinition;
@@ -115,7 +123,7 @@ public class Provenance {
      * Sets the details about the invocation of the build tool and the 
environment in which it was run.
      *
      * @param runDetails The run details.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public Provenance setRunDetails(final RunDetails runDetails) {
         this.runDetails = runDetails;
diff --git 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/ResourceDescriptor.java
 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/ResourceDescriptor.java
index ca2a616..552258e 100644
--- 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/ResourceDescriptor.java
+++ 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/ResourceDescriptor.java
@@ -26,38 +26,54 @@ import com.fasterxml.jackson.annotation.JsonProperty;
  * Description of an artifact or resource referenced in the build, identified 
by URI and cryptographic digest.
  *
  * <p>
- * Used to represent inputs to, outputs from, or byproducts of the build 
process.
+ * This class represents inputs to, outputs from, or byproducts of the build 
process.
  * </p>
  *
- * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  * @since 1.10.0
+ * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  */
 @JsonInclude(JsonInclude.Include.NON_NULL)
 public class ResourceDescriptor {
 
-    /** Additional key-value metadata about the resource. */
+    /**
+     * Additional key-value metadata about the resource.
+     */
     @JsonProperty("annotations")
     private Map<String, Object> annotations;
-    /** Raw contents of the resource, base64-encoded in JSON. */
+    /**
+     * Raw contents of the resource, Base64-encoded in JSON.
+     */
     @JsonProperty("content")
     private byte[] content;
-    /** Map of digest algorithm names to hex-encoded values. */
+    /**
+     * Map of digest algorithm names to hex-encoded values.
+     */
     @JsonProperty("digest")
     private Map<String, String> digest;
-    /** Download URI for the resource, if different from {@link #uri}. */
+    /**
+     * Download URI for the resource, if different from {@link #uri}.
+     */
     @JsonProperty("downloadLocation")
     private String downloadLocation;
-    /** Media type of the resource. */
+    /**
+     * Media type of the resource.
+     */
     @JsonProperty("mediaType")
     private String mediaType;
-    /** Human-readable name of the resource. */
+    /**
+     * Human-readable name of the resource.
+     */
     @JsonProperty("name")
     private String name;
-    /** URI identifying the resource. */
+    /**
+     * URI identifying the resource.
+     */
     @JsonProperty("uri")
     private String uri;
 
-    /** Creates a new ResourceDescriptor instance. */
+    /**
+     * Creates a new ResourceDescriptor instance.
+     */
     public ResourceDescriptor() {
     }
 
@@ -85,7 +101,7 @@ public class ResourceDescriptor {
     }
 
     /**
-     * Gets additional key-value metadata about the resource, such as 
filename, size, or builder-specific attributes.
+     * Gets additional key-value metadata about the resource, such as the file 
name, size, or builder-specific attributes.
      *
      * @return The annotations map, or {@code null} if not set.
      */
@@ -94,7 +110,7 @@ public class ResourceDescriptor {
     }
 
     /**
-     * Gets the raw contents of the resource, base64-encoded when serialized 
to JSON.
+     * Gets the raw contents of the resource, Base64-encoded when serialized 
to JSON.
      *
      * @return The resource content, or {@code null} if not set.
      */
@@ -160,7 +176,7 @@ public class ResourceDescriptor {
      * Sets additional key-value metadata about the resource.
      *
      * @param annotations The annotations map.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public ResourceDescriptor setAnnotations(final Map<String, Object> 
annotations) {
         this.annotations = annotations;
@@ -171,7 +187,7 @@ public class ResourceDescriptor {
      * Sets the raw contents of the resource.
      *
      * @param content The resource content.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public ResourceDescriptor setContent(final byte[] content) {
         this.content = content;
@@ -182,7 +198,7 @@ public class ResourceDescriptor {
      * Sets the map of cryptographic digest algorithms to their hex-encoded 
values.
      *
      * @param digest The digest map.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public ResourceDescriptor setDigest(final Map<String, String> digest) {
         this.digest = digest;
@@ -193,7 +209,7 @@ public class ResourceDescriptor {
      * Sets the download URI for the resource.
      *
      * @param downloadLocation The download location URI.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public ResourceDescriptor setDownloadLocation(final String 
downloadLocation) {
         this.downloadLocation = downloadLocation;
@@ -204,7 +220,7 @@ public class ResourceDescriptor {
      * Sets the media type of the resource.
      *
      * @param mediaType The media type.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public ResourceDescriptor setMediaType(final String mediaType) {
         this.mediaType = mediaType;
@@ -215,7 +231,7 @@ public class ResourceDescriptor {
      * Sets the name of the resource.
      *
      * @param name The resource name.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public ResourceDescriptor setName(final String name) {
         this.name = name;
@@ -226,7 +242,7 @@ public class ResourceDescriptor {
      * Sets the URI identifying the resource.
      *
      * @param uri The resource URI.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public ResourceDescriptor setUri(final String uri) {
         this.uri = uri;
diff --git 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/RunDetails.java 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/RunDetails.java
index c2281fd..2be7a6a 100644
--- a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/RunDetails.java
+++ b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/RunDetails.java
@@ -25,8 +25,8 @@ import com.fasterxml.jackson.annotation.JsonProperty;
 /**
  * Details about the build invocation: the builder identity, execution 
metadata, and any byproduct artifacts.
  *
- * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  * @since 1.10.0
+ * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  */
 @JsonInclude(JsonInclude.Include.NON_NULL)
 public class RunDetails {
@@ -116,7 +116,7 @@ public class RunDetails {
      * Sets the builder that executed the invocation.
      *
      * @param builder The builder.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public RunDetails setBuilder(final Builder builder) {
         this.builder = builder;
@@ -127,7 +127,7 @@ public class RunDetails {
      * Sets the artifacts produced as a side effect of the build that are not 
the primary output.
      *
      * @param byproducts The list of byproduct artifacts.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public RunDetails setByproducts(final List<ResourceDescriptor> byproducts) 
{
         this.byproducts = byproducts;
@@ -138,7 +138,7 @@ public class RunDetails {
      * Sets the metadata about the build invocation.
      *
      * @param metadata The build metadata.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public RunDetails setMetadata(final BuildMetadata metadata) {
         this.metadata = metadata;
diff --git 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Signature.java 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Signature.java
index cd81229..b33d827 100644
--- a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Signature.java
+++ b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Signature.java
@@ -25,14 +25,14 @@ import com.fasterxml.jackson.annotation.JsonProperty;
 /**
  * A single cryptographic signature within a DSSE envelope.
  *
- * @see <a 
href="https://github.com/secure-systems-lab/dsse/blob/v1.0.2/envelope.md";>DSSE 
Envelope specification</a>
  * @since 1.10.0
+ * @see <a 
href="https://github.com/secure-systems-lab/dsse/blob/v1.0.2/envelope.md";>DSSE 
Envelope specification</a>
  */
 @JsonInclude(JsonInclude.Include.NON_NULL)
 public class Signature {
 
     /**
-     * Hint for which key was used to sign; unset is treated as empty.
+     * A hint identifying the key used to sign the payload; an unset value is 
treated as empty.
      *
      * <p>
      * Consumers MUST NOT require this field to be set, and MUST NOT use it 
for security decisions.
@@ -41,11 +41,15 @@ public class Signature {
     @JsonProperty("keyid")
     private String keyid;
 
-    /** Raw signature bytes of the PAE-encoded payload. */
+    /**
+     * Raw signature bytes of the PAE-encoded payload.
+     */
     @JsonProperty("sig")
     private byte[] sig;
 
-    /** Creates a new Signature instance. */
+    /**
+     * Creates a new Signature instance.
+     */
     public Signature() {
     }
 
@@ -61,7 +65,7 @@ public class Signature {
     /**
      * Gets the key identifier hint, or {@code null} if not set.
      *
-     * @return The key identifier, or {@code null}
+     * @return The key identifier, or {@code null}.
      */
     public String getKeyid() {
         return keyid;
@@ -85,7 +89,7 @@ public class Signature {
      * Sets the key identifier hint.
      *
      * @param keyid The key identifier, or {@code null} to leave unset.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public Signature setKeyid(final String keyid) {
         this.keyid = keyid;
@@ -96,7 +100,7 @@ public class Signature {
      * Sets the raw signature bytes.
      *
      * @param sig The signature bytes.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public Signature setSig(final byte[] sig) {
         this.sig = sig;
diff --git 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Statement.java 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Statement.java
index 081e4ff..2dd097e 100644
--- a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Statement.java
+++ b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/Statement.java
@@ -24,24 +24,34 @@ import com.fasterxml.jackson.annotation.JsonProperty;
 /**
  * In-toto v1 attestation envelope that binds a set of subject artifacts to an 
SLSA provenance predicate.
  *
- * @see <a 
href="https://github.com/in-toto/attestation/blob/main/spec/v1/statement.md";>in-toto
 Statement v1</a>
  * @since 1.10.0
+ * @see <a 
href="https://github.com/in-toto/attestation/blob/main/spec/v1/statement.md";>in-toto
 Statement v1</a>
  */
 public class Statement {
 
-    /** The in-toto statement schema URI. */
+    /**
+     * The in-toto statement schema URI.
+     */
     public static final String TYPE = "https://in-toto.io/Statement/v1";;
-    /** The provenance predicate. */
+    /**
+     * The provenance predicate.
+     */
     @JsonProperty("predicate")
     private Provenance predicate;
-    /** URI identifying the type of the predicate. */
+    /**
+     * URI identifying the type of the predicate.
+     */
     @JsonProperty("predicateType")
     private String predicateType;
-    /** Software artifacts that the attestation applies to. */
+    /**
+     * Software artifacts that the attestation applies to.
+     */
     @JsonProperty("subject")
     private List<ResourceDescriptor> subject;
 
-    /** Creates a new Statement instance. */
+    /**
+     * Creates a new Statement instance.
+     */
     public Statement() {
     }
 
@@ -110,7 +120,7 @@ public class Statement {
      * Sets the provenance predicate and automatically assigns {@code 
predicateType} to the SLSA provenance v1 URI.
      *
      * @param predicate The provenance predicate.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public Statement setPredicate(final Provenance predicate) {
         this.predicate = predicate;
@@ -122,7 +132,7 @@ public class Statement {
      * Sets the set of software artifacts that the attestation applies to.
      *
      * @param subject The list of subject artifacts.
-     * @return this for chaining.
+     * @return {@code this} for chaining.
      */
     public Statement setSubject(final List<ResourceDescriptor> subject) {
         this.subject = subject;
diff --git 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/package-info.java 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/package-info.java
index 1e37f7c..9539109 100644
--- 
a/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/package-info.java
+++ 
b/src/main/java/org/apache/commons/release/plugin/slsa/v1_2/package-info.java
@@ -30,10 +30,10 @@
  * information about how software artifacts were produced.
  * </p>
  *
+ * @since 1.10.0
  * @see <a href="https://slsa.dev/spec/v1.2";>SLSA v1.2 Specification</a>
  * @see <a href="https://github.com/in-toto/attestation";>In-toto Attestation 
Framework</a>
  * @see <a href="https://github.com/FasterXML/jackson";>Jackson JSON 
processor</a>
- * @since 1.10.0
  */
 package org.apache.commons.release.plugin.slsa.v1_2;
 
diff --git 
a/src/main/java/org/apache/commons/release/plugin/velocity/HeaderHtmlVelocityDelegate.java
 
b/src/main/java/org/apache/commons/release/plugin/velocity/HeaderHtmlVelocityDelegate.java
index 4ae0565..0faddc1 100644
--- 
a/src/main/java/org/apache/commons/release/plugin/velocity/HeaderHtmlVelocityDelegate.java
+++ 
b/src/main/java/org/apache/commons/release/plugin/velocity/HeaderHtmlVelocityDelegate.java
@@ -52,7 +52,9 @@ public final class HeaderHtmlVelocityDelegate {
         }
     }
 
-    /** The location of the Velocity template for this class. */
+    /**
+     * The location of the Velocity template for this class.
+     */
     private static final String TEMPLATE = 
"resources/org/apache/commons/release/plugin/velocity/HEADER.vm";
 
     /**
@@ -64,14 +66,16 @@ public final class HeaderHtmlVelocityDelegate {
         return new HeaderHtmlVelocityDelegateBuilder();
     }
 
-    /** The private constructor to be used by the {@link 
HeaderHtmlVelocityDelegateBuilder}. */
+    /**
+     * The private constructor to be used by the {@link 
HeaderHtmlVelocityDelegateBuilder}.
+     */
     private HeaderHtmlVelocityDelegate() {
     }
 
     /**
      * Renders the HEADER.vm Velocity template to the supplied writer.
      *
-     * @param writer any {@link Writer} that we wish to have the filled 
Velocity template written to.
+     * @param writer The writer to which to render the template.
      * @return The {@link Writer} to which the template was rendered.
      */
     public Writer render(final Writer writer) {
diff --git 
a/src/main/java/org/apache/commons/release/plugin/velocity/ReadmeHtmlVelocityDelegate.java
 
b/src/main/java/org/apache/commons/release/plugin/velocity/ReadmeHtmlVelocityDelegate.java
index d969f9f..ff8d8ec 100644
--- 
a/src/main/java/org/apache/commons/release/plugin/velocity/ReadmeHtmlVelocityDelegate.java
+++ 
b/src/main/java/org/apache/commons/release/plugin/velocity/ReadmeHtmlVelocityDelegate.java
@@ -38,13 +38,19 @@ public final class ReadmeHtmlVelocityDelegate {
      */
     public static final class ReadmeHtmlVelocityDelegateBuilder {
 
-        /** The Maven artifactId to use in the <code>README.vm</code> 
template. */
+        /**
+         * The Maven artifact ID to use in the <code>README.vm</code> template.
+         */
         private String artifactId;
 
-        /** The Maven version to use in the <code>README.vm</code> template. */
+        /**
+         * The Maven version to use in the <code>README.vm</code> template.
+         */
         private String version;
 
-        /** The site URL to use in the <code>README.vm</code> template. */
+        /**
+         * The site URL to use in the <code>README.vm</code> template.
+         */
         private String siteUrl;
 
         /**
@@ -66,7 +72,7 @@ public final class ReadmeHtmlVelocityDelegate {
         /**
          * Sets the Maven artifact ID for the {@link 
ReadmeHtmlVelocityDelegate}.
          *
-         * @param artifactId The {@link String} representing the Maven 
artifactId.
+         * @param artifactId The {@link String} representing the Maven 
artifact ID.
          * @return The builder to continue building.
          */
         public ReadmeHtmlVelocityDelegateBuilder setArtifactId(final String 
artifactId) {
@@ -77,7 +83,7 @@ public final class ReadmeHtmlVelocityDelegate {
         /**
          * Sets the site URL for the {@link ReadmeHtmlVelocityDelegate}.
          *
-         * @param siteUrl The site URL to be used in the 
<code>README.html</code>
+         * @param siteUrl The site URL to use in <code>README.html</code>.
          * @return The builder to continue building.
          */
         public ReadmeHtmlVelocityDelegateBuilder setSiteUrl(final String 
siteUrl) {
@@ -102,7 +108,9 @@ public final class ReadmeHtmlVelocityDelegate {
      */
     private static final Pattern END_DIGIT = Pattern.compile(".+\\d$");
 
-    /** The location of the Velocity template for this class. */
+    /**
+     * The location of the Velocity template for this class.
+     */
     private static final String TEMPLATE = 
"resources/org/apache/commons/release/plugin"
                                          + "/velocity/README.vm";
 
@@ -115,21 +123,27 @@ public final class ReadmeHtmlVelocityDelegate {
         return new ReadmeHtmlVelocityDelegateBuilder();
     }
 
-    /** This is supposed to represent the Maven artifactId. */
+    /**
+     * The Maven artifact ID.
+     */
     private final String artifactId;
 
-    /** This is supposed to represent the Maven version of the release. */
+    /**
+     * The Maven version of the release.
+     */
     private final String version;
 
-    /** The URL of the site that gets set into the <code>README.html</code>. */
+    /**
+     * The URL of the site that gets set into the <code>README.html</code>.
+     */
     private final String siteUrl;
 
     /**
      * The private constructor to be used by the {@link 
ReadmeHtmlVelocityDelegateBuilder}.
      *
-     * @param artifactId sets the {@link 
ReadmeHtmlVelocityDelegate#artifactId}.
-     * @param version sets the {@link ReadmeHtmlVelocityDelegate#version}.
-     * @param siteUrl sets the {@link ReadmeHtmlVelocityDelegate#siteUrl}.
+     * @param artifactId The Maven artifact ID.
+     * @param version The Maven version of the release.
+     * @param siteUrl The site URL.
      */
     private ReadmeHtmlVelocityDelegate(final String artifactId, final String 
version, final String siteUrl) {
         this.artifactId = artifactId;
@@ -141,7 +155,7 @@ public final class ReadmeHtmlVelocityDelegate {
      * Renders the <code>README.vm</code> Velocity template with the variables 
constructed with the
      * {@link ReadmeHtmlVelocityDelegateBuilder}.
      *
-     * @param writer is the {@link Writer} to which we wish to render the 
<code>README.vm</code> template.
+     * @param writer The writer to which to render the <code>README.vm</code> 
template.
      * @return A reference to the {@link Writer} passed in.
      */
     public Writer render(final Writer writer) {
diff --git 
a/src/main/java/org/apache/commons/release/plugin/velocity/package-info.java 
b/src/main/java/org/apache/commons/release/plugin/velocity/package-info.java
index 70a5127..c39d8f9 100644
--- a/src/main/java/org/apache/commons/release/plugin/velocity/package-info.java
+++ b/src/main/java/org/apache/commons/release/plugin/velocity/package-info.java
@@ -17,6 +17,7 @@
 
 /**
  * Contains classes that render Velocity templates to a {@link java.io.Writer}.
+ *
  * <p>
  * The Velocity templates generate the following files, which are deployed 
alongside the release:
  * </p>
diff --git a/src/main/resources/commons-xdoc-templates/vote-txt-template.txt 
b/src/main/resources/commons-xdoc-templates/vote-txt-template.txt
index 0ff74e9..8aa2a61 100644
--- a/src/main/resources/commons-xdoc-templates/vote-txt-template.txt
+++ b/src/main/resources/commons-xdoc-templates/vote-txt-template.txt
@@ -23,7 +23,7 @@ We have fixed a few bugs and added enhancements since the 
release of @NAME@ @BC@
 @NAME@ @VERSION@ @RC@ is available for review here:
     @DISTURL@ (SVN revision @RCREV@)
 
-The Git tag @TAGNAME@ commit for this RC is @TAGCOMMIT@, which you can browse 
here:
+The Git tag @TAGNAME@ for this RC points to commit @TAGCOMMIT@, which you can 
browse here:
     
https://gitbox.apache.org/repos/asf?p=commons-@[email protected];a=commit;h=@TAGCOMMIT@
 You may check out this tag using:
     git clone https://gitbox.apache.org/repos/asf/commons-@[email protected] --branch 
@TAGNAME@ @TAGNAME@
@@ -49,7 +49,7 @@ Details of changes since @BC@ are in the release notes:
 
 Site:
     @SITEURL@/index.html
-    (Note some *relative* links are broken and the @VERSION@ directories are 
not yet created - these will be OK once the site is deployed.)
+    (Note that some *relative* links are broken and the @VERSION@ directories 
have not yet been created. These will work once the site is deployed.)
 
 *** JApiCmp Report (compared to @BC@):
     @SITEURL@/japicmp.html
@@ -138,7 +138,7 @@ Linux: uname -a
 
 To check that a build is reproducible, run:
 
-# Verify using a JDK major version matching: @JAVA_VERSION@
+# Verify using a JDK whose major version matches @JAVA_VERSION@.
 export TZ="@TIMEZONE@"
 mvn clean verify artifact:compare -DskipTests 
-Dreference.repo=https://repository.apache.org/content/repositories/staging/ 
'-Dbuildinfo.ignore=*/*.spdx.json'
 
diff --git 
a/src/main/resources/org/apache/commons/release/plugin/velocity/README.vm 
b/src/main/resources/org/apache/commons/release/plugin/velocity/README.vm
index 4d121e7..538ec77 100644
--- a/src/main/resources/org/apache/commons/release/plugin/velocity/README.vm
+++ b/src/main/resources/org/apache/commons/release/plugin/velocity/README.vm
@@ -17,7 +17,7 @@
 <h1>${artifactIdWithFirstLetterscapitalized} v${version}.</h1>
 
 <p>
-This is the ${version} version of ${artifactId}. It is available in both 
binary and source distributions.
+This is version ${version} of ${artifactId}. It is available in both binary 
and source distributions.
 </p>
 
 
@@ -63,18 +63,17 @@ Many of the files have been digitally signed using GnuPG.  
If so,
 </p>
 
 <p>
-<b>Always download the KEYS file directly from the Apache site, never from a 
mirror site.</b>
+<b>Always download the KEYS file directly from the Apache site. Never download 
it from a mirror site.</b>
 </p>
 
 
 <pre>Always test available signatures. For example:
 $ pgpk -a KEYS
 $ pgpv ${artifactId}-${version}-bin.tar.gz.asc
-or,
+or
 $ pgp -ka KEYS
 $ pgp ${artifactId}-${version}-bin.tar.gz.asc
-or,
+or
 $ gpg --import KEYS
 $ gpg --verify ${artifactId}-${version}-bin.tar.gz.asc
 </pre>
-<p>
\ No newline at end of file
diff --git a/src/main/resources/signature-validator.sh 
b/src/main/resources/signature-validator.sh
index 3176b87..555cc56 100755
--- a/src/main/resources/signature-validator.sh
+++ b/src/main/resources/signature-validator.sh
@@ -17,7 +17,7 @@
 ###########
 # DOCUMENTATION.
 # Place this script in the root of the SVN distribution checkout.
-# For example, my directory looks like:
+# For example, a directory listing might look like this:
 #
 #   drwxr-xr-x@  8 usr  staff   256 Oct  1 11:22 .svn
 #   -rw-r--r--@  1 usr  staff  1230 Oct  1 11:22 HEADER.html
diff --git a/src/main/scripts/generate-xdocs.build.xml 
b/src/main/scripts/generate-xdocs.build.xml
index 702fdc5..9a27dee 100644
--- a/src/main/scripts/generate-xdocs.build.xml
+++ b/src/main/scripts/generate-xdocs.build.xml
@@ -34,7 +34,7 @@
         <property name="git.tag.name" 
value="commons-${commons.componentid}-${commons.release.version}-${commons.rc.version}"
 />
         <property name="svn.site.url" 
value="https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}/${commons.release.version}-${commons.rc.version}/site";
 />
 
-        <!-- Convert groupId to path name -->
+        <!-- Convert the group ID to a path. -->
         <loadresource property="tmp.groupPath">
           <propertyresource name="project.groupId"/>
           <filterchain>
@@ -68,19 +68,19 @@
 
         <echo level="info" message="*** Generating ${project.name} VOTE.txt 
***" />
 
-        <!-- Create a temporary directory to load the template files into -->
+        <!-- Create a temporary directory for the template files. -->
         <mkdir dir="${commonsMojoTempDir}"/>
 
-        <!-- Load SHA-512 file created by the deploy goal -->
+        <!-- Load the SHA-512 file created by the detach-distributions goal. 
-->
         <loadfile property="commons.sha512list" 
srcFile="target/commons-release-plugin/sha512.properties" failonerror="false"/>
 
-        <!-- Load the vote-txt template from mojo resources to temp directory 
-->
+        <!-- Load the vote-txt template from the mojo resources into the 
temporary directory. -->
         <loadresource property="vote-txt">
             <javaresource name="${commonsMojoXdocDir}/vote-txt-template.txt"/>
         </loadresource>
         <echo message="${vote-txt}" 
file="${commonsMojoTempDir}/vote-txt-template.txt" append="false" />
 
-        <!-- Without using ant-contrib: remove "-project" for multi-module 
artifacts -->
+        <!-- Remove "-project" from multi-module artifact IDs without using 
ant-contrib. -->
         <loadresource property="tmp.artifactId">
             <propertyresource name="project.artifactId" />
             <filterchain>
@@ -103,7 +103,7 @@
         </exec>
         <echo level="${level}" message="git.tag.commit              : 
${git.tag.commit}" />
 
-        <!-- Copy the vote-txt template filtering to replace properties. -->
+        <!-- Copy the vote-txt template, filtering it to replace properties. 
-->
         <copy file="${commonsMojoTempDir}/vote-txt-template.txt" 
tofile="target/VOTE.txt" overwrite="true">
             <filterset>
              <filter token="NAME"           value="${project.name}"/>
diff --git a/src/main/scripts/generate-xdocs.mojos.xml 
b/src/main/scripts/generate-xdocs.mojos.xml
index e516cc7..b88c700 100644
--- a/src/main/scripts/generate-xdocs.mojos.xml
+++ b/src/main/scripts/generate-xdocs.mojos.xml
@@ -46,7 +46,7 @@
           <readonly>true</readonly>
           <defaultValue>${project.groupId}</defaultValue>
           <type>java.lang.String</type>
-          <description>The groupId of the project currently being 
built.</description>
+          <description>The group ID of the project currently being 
built.</description>
         </parameter>
         <parameter>
           <name>project.artifactId</name>
@@ -55,7 +55,7 @@
           <readonly>true</readonly>
           <defaultValue>${project.artifactId}</defaultValue>
           <type>java.lang.String</type>
-          <description>The artifactId of the project currently being 
built.</description>
+          <description>The artifact ID of the project currently being 
built.</description>
         </parameter>
         <parameter>
           <name>commons.jira.id</name>
@@ -136,7 +136,7 @@
           <readonly>false</readonly>
           <defaultValue>${commons.release.desc}</defaultValue>
           <type>java.lang.String</type>
-          <description>Release Title or Description.</description>
+          <description>The release title or description.</description>
         </parameter>
         <parameter>
           <name>commons.release.subdir</name>
@@ -154,7 +154,7 @@
           <readonly>false</readonly>
           <defaultValue>${commons.releaseManagerName}</defaultValue>
           <type>java.lang.String</type>
-          <description>Release manager name. This should be defined in your 
Maven settings.xml file, not the POM.</description>
+          <description>The release manager's name. This should be defined in 
your Maven settings.xml file, not the POM.</description>
         </parameter>
         <parameter>
           <name>commons.releaseManagerKey</name>
@@ -163,7 +163,7 @@
           <readonly>false</readonly>
           <defaultValue>${commons.releaseManagerKey}</defaultValue>
           <type>java.lang.String</type>
-          <description>Release manager key. This should be defined in your 
Maven settings.xml file, not the POM.</description>
+          <description>The release manager's key. This should be defined in 
your Maven settings.xml file, not the POM.</description>
         </parameter>
         <parameter>
           <name>commons.nexus.repo.id</name>
@@ -173,7 +173,7 @@
           <defaultValue>${commons.nexus.repo.id}</defaultValue>
           <type>java.lang.String</type>
           <description>The Nexus repository ID on 
https://repository.apache.org/, usually a four-digit number.
-          This is the value after 
https://repository.apache.org/content/repositories/orgapachecommons-
+          This is the value following the orgapachecommons- prefix in the 
repository URL.
           </description>
         </parameter>
       </parameters>
diff --git a/src/site/xdoc/development.xml b/src/site/xdoc/development.xml
index 313d9db..303d987 100644
--- a/src/site/xdoc/development.xml
+++ b/src/site/xdoc/development.xml
@@ -51,12 +51,12 @@ public class CommonsDistributionDetachmentMojo extends 
AbstractMojo {
       <p>
         The variables in the mojo that are declared as private with the 
annotation <code>@Parameter</code> are
         initialized from existing Maven variables or the declared 
<code>&lt;configuration&gt;</code>. For
-        example, we have a boolean variable named <code>dryRun</code> declared 
as:
+        example, we declare a Boolean variable named <code>dryRun</code> as 
follows:
 <source><![CDATA[
 @Parameter(property = "commons.release.dryRun", defaultValue = "false")
 private Boolean dryRun;
 ]]></source>
-        that can be configured as follows:
+        It can be configured as follows:
 <source><![CDATA[
 <plugin>
   <groupId>org.apache.commons</groupId>
@@ -92,8 +92,7 @@ private Boolean dryRun;
     <distSvnStagingUrl>mockDistSvnStagingUrl</distSvnStagingUrl>
   </configuration>
 </plugin>]]></source>
-        Also note that we are declaring other values that we are using in the 
testing of the plugin. We then retrieve
-        our instantiated mojo by declaring a <code>MojoRule</code> in our test 
class,
+        The POM also declares other values used to test the plugin. To 
retrieve the instantiated mojo, first declare a <code>MojoRule</code> in the 
test class:
 <source><![CDATA[
 @Rule
 public MojoRule rule = new MojoRule() {
@@ -105,12 +104,11 @@ public MojoRule rule = new MojoRule() {
     protected void after() {
     }
 };]]></source>
-        and then retrieve the mojo by creating a <code>File</code> pointing to 
the mock POM and then
-        making the following call:
+        Then create a <code>File</code> pointing to the mock POM and retrieve 
the mojo with the following call:
 <source><![CDATA[
 mojo = (CommonsSiteCompressionMojo) rule.lookupMojo("compress-site", testPom);
 ]]></source>
-        where we are trying to get the mojo with the 
<code>compress-site</code> goal.
+        This retrieves the mojo for the <code>compress-site</code> goal.
       </p>
 
     </section>
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index bab356d..19a622c 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -60,7 +60,7 @@
                 </li>
                 <li>
                     <b>commons-release:stage-distributions</b> - Take all 
staged files in the
-                    <code>target/commons-release-plugin</code> directory, and 
the <code>RELEASE-NOTES.txt</code> from
+                    <code>target/commons-release-plugin</code> directory, and 
the <code>RELEASE-NOTES.txt</code> file from
                     the root of the project, and commit them to a specified 
staging Subversion repository.
                 </li>
                 <li>
@@ -111,7 +111,7 @@
             </p>
 <source><![CDATA[
     <properties>
-          <!-- Previous version of the component (used for reporting binary 
compatibility check)-->
+          <!-- Previous component version used for binary compatibility 
checks. -->
           <commons.bc.version>m.n</commons.bc.version>
           <commons.release.isDistModule>true</commons.release.isDistModule>
     </properties>
@@ -136,7 +136,7 @@
   </profiles>
 
   <activeProfiles>
-    <!-- define active profile name -->
+    <!-- Define the active profile name. -->
     <activeProfile>active-profile</activeProfile>
   </activeProfiles>
   ...
@@ -148,16 +148,16 @@
             <a 
href="https://commons.apache.org/releases/prepare.html";>Preparations For A 
Release</a>):
             </p>
             <ol>
-              <li>creating our release branch,</li>
-              <li>checking compatibility,</li>
-              <li>checking your dependencies,</li>
-              <li>checking Javadocs and code style,</li>
-              <li>checking the Apache license,</li>
-              <li>configuring the build to generate a complete set of release 
artifacts,</li>
-              <li>preparing the release notes, updating the download file and 
other autogenerated files,</li>
-              <li>tagging the release candidate, and</li>
+              <li>Create the release branch.</li>
+              <li>Check compatibility.</li>
+              <li>Check your dependencies.</li>
+              <li>Check Javadoc and code style.</li>
+              <li>Check the Apache license.</li>
+              <li>Configure the build to generate a complete set of release 
artifacts.</li>
+              <li>Prepare the release notes and update the download file and 
other generated files.</li>
+              <li>Tag the release candidate.</li>
               <li>
-                        running the following command:
+                        Run the following command:
 <source><![CDATA[
 mvn -Duser.name=<yourApacheId> [-Duser.password=<yourApacheIdsPassword] 
[-Dcommons.release.dryRun=true -Ptest-deploy] -Prelease clean test site deploy
 ]]></source></li>
@@ -168,8 +168,8 @@ mvn -Duser.name=<yourApacheId> 
[-Duser.password=<yourApacheIdsPassword] [-Dcommo
             to specify a server definition in Maven <code>settings.xml</code> 
that defines your encrypted authentication information.
             </p>
             <p>
-            If the component is new, then, before running this Maven command, 
you would want to create
-            the requisite Subversion directory 
<code>https://dist.apache.org/repos/dist/dev/commons/foo</code>. Note
+            If the component is new, create the required Subversion directory 
<code>https://dist.apache.org/repos/dist/dev/commons/foo</code>
+            before running this Maven command. Note
             that to perform a dry run of the release, you need to include
             <code>-Dcommons.release.dryRun=true -Ptest-deploy</code>.
             </p>
diff --git a/src/site/xdoc/vote-txt.xml b/src/site/xdoc/vote-txt.xml
index 53c3145..01c22b0 100644
--- a/src/site/xdoc/vote-txt.xml
+++ b/src/site/xdoc/vote-txt.xml
@@ -36,14 +36,14 @@
                 This goal works as follows:
                 </p>
                 <ul>
-                    <li>The goal is mapped to the Ant script/target using the 
<code>vote-txt</code> mojo definition in the
-                        <a 
href="https://svn.apache.org/repos/asf/commons/proper/commons-release-plugin/trunk/src/main/scripts/generate-xdocs.mojos.xml";>generate-xdocs.mojos.xml</a>
 mapping document</li>
-                    <li>Executes the <code>vote-txt</code> target in the
+                    <li>The goal is mapped to the Ant script and target using 
the <code>vote-txt</code> mojo definition in the
+                        <a 
href="https://svn.apache.org/repos/asf/commons/proper/commons-release-plugin/trunk/src/main/scripts/generate-xdocs.mojos.xml";>generate-xdocs.mojos.xml</a>
 mapping document.</li>
+                    <li>The goal executes the <code>vote-txt</code> target in 
the
                         <a 
href="https://svn.apache.org/repos/asf/commons/proper/commons-release-plugin/trunk/src/main/scripts/generate-xdocs.build.xml";>generate-xdocs.build.xml</a>
-                        Ant script</li>
-                    <li>Uses the <a 
href="https://svn.apache.org/repos/asf/commons/proper/commons-release-plugin/trunk/src/main/resources/commons-xdoc-templates/vote-txt-template.md";>vote-txt-template.md</a>
-                        template</li>
-                    <li>Uses the <a href="vote-txt-mojo.html">goal's 
parameters</a> to filter values in the template</li>
+                        Ant script.</li>
+                    <li>The goal uses the <a 
href="https://svn.apache.org/repos/asf/commons/proper/commons-release-plugin/trunk/src/main/resources/commons-xdoc-templates/vote-txt-template.md";>vote-txt-template.md</a>
+                        template.</li>
+                    <li>The goal uses the <a href="vote-txt-mojo.html">goal's 
parameters</a> to filter values in the template.</li>
                 </ul>
             </subsection>
             <subsection name="Configuration">
diff --git 
a/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.java
 
b/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.java
index e637d1d..61c6233 100644
--- 
a/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.java
+++ 
b/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.java
@@ -39,12 +39,12 @@ public class CommonsDistributionStagingMojoTest {
     public final MojoRule rule = new MojoRule() {
         @Override
         protected void after() {
-            // noop
+            // No action required.
         }
 
         @Override
         protected void before() throws Throwable {
-            // noop
+            // No action required.
         }
     };
 
diff --git 
a/src/test/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojoTest.java
 
b/src/test/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojoTest.java
index 46532e3..d77aa63 100644
--- 
a/src/test/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojoTest.java
+++ 
b/src/test/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojoTest.java
@@ -32,7 +32,7 @@ import org.junit.jupiter.api.Test;
 /**
  * Unit tests for {@link CommonsSiteCompressionMojo}.
  */
-@SuppressWarnings("deprecation") // testing a deprecated class
+@SuppressWarnings("deprecation") // Tests a deprecated class.
 @MojoTest
 public class CommonsSiteCompressionMojoTest {
 

Reply via email to