You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@commons.apache.org by gg...@apache.org on 2022/03/17 19:32:31 UTC

svn commit: r1078854 [15/25] - in /websites/production/commons/content/proper/commons-release-plugin: ./ apidocs/ apidocs/org/apache/commons/release/plugin/ apidocs/org/apache/commons/release/plugin/class-use/ apidocs/org/apache/commons/release/plugin/...

Modified: websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsDistributionStagingMojo.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsDistributionStagingMojo.java.html (original)
+++ websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsDistributionStagingMojo.java.html Thu Mar 17 19:32:29 2022
@@ -16,7 +16,20 @@
  */
 package org.apache.commons.release.plugin.mojos;
 
+import java.io.File;
+import java.io.IOException;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
+import java.nio.charset.StandardCharsets;
+import java.nio.file.Files;
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
 import org.apache.commons.io.FileUtils;
+import org.apache.commons.io.file.PathUtils;
 import org.apache.commons.lang3.StringUtils;
 import org.apache.commons.release.plugin.SharedFunctions;
 import org.apache.commons.release.plugin.velocity.HeaderHtmlVelocityDelegate;
@@ -44,15 +57,6 @@ import org.apache.maven.scm.repository.S
 import org.apache.maven.settings.Settings;
 import org.apache.maven.settings.crypto.SettingsDecrypter;
 
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.OutputStreamWriter;
-import java.io.Writer;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
 /**
  * This class checks out the dev distribution location, copies the distributions into that directory
  * structure under the <code>target/commons-release-plugin/scm</code> directory. Then commits the
@@ -65,13 +69,16 @@ import java.util.List;
         defaultPhase = LifecyclePhase.DEPLOY,
         threadSafe = true,
         aggregator = true)
-<span class="fc" id="L68">public class CommonsDistributionStagingMojo extends AbstractMojo {</span>
+<span class="fc" id="L72">public class CommonsDistributionStagingMojo extends AbstractMojo {</span>
 
     /** The name of file generated from the README.vm velocity template to be checked into the dist svn repo. */
     private static final String README_FILE_NAME = &quot;README.html&quot;;
+
     /** The name of file generated from the HEADER.vm velocity template to be checked into the dist svn repo. */
     private static final String HEADER_FILE_NAME = &quot;HEADER.html&quot;;
 
+    /** The name of the signature validation shell script to be checked into the dist svn repo. */
+    private static final String SIGNATURE_VALIDATOR_NAME = &quot;signature-validator.sh&quot;;
     /**
      * The {@link MavenProject} object is essentially the context of the maven build at
      * a given time.
@@ -181,32 +188,32 @@ import java.util.List;
      * build this up in the {@link CommonsDistributionStagingMojo#execute()} method. And, for example,
      * the directory should look like &lt;code&gt;https://https://dist.apache.org/repos/dist/dev/commons/text/1.4-RC1&lt;/code&gt;.
      */
-    private File distVersionRcVersionDirectory;
+    private File distRcVersionDirectory;
 
     @Override
     public void execute() throws MojoExecutionException, MojoFailureException {
-<span class="fc bfc" id="L188" title="All 2 branches covered.">        if (!isDistModule) {</span>
-<span class="fc" id="L189">            getLog().info(&quot;This module is marked as a non distribution &quot;</span>
+<span class="fc bfc" id="L195" title="All 2 branches covered.">        if (!isDistModule) {</span>
+<span class="fc" id="L196">            getLog().info(&quot;This module is marked as a non distribution &quot;</span>
                     + &quot;or assembly module, and the plugin will not run.&quot;);
-<span class="fc" id="L191">            return;</span>
+<span class="fc" id="L198">            return;</span>
         }
-<span class="pc bpc" id="L193" title="1 of 2 branches missed.">        if (StringUtils.isEmpty(distSvnStagingUrl)) {</span>
-<span class="nc" id="L194">            getLog().warn(&quot;commons.distSvnStagingUrl is not set, the commons-release-plugin will not run.&quot;);</span>
-<span class="nc" id="L195">            return;</span>
+<span class="pc bpc" id="L200" title="1 of 2 branches missed.">        if (StringUtils.isEmpty(distSvnStagingUrl)) {</span>
+<span class="nc" id="L201">            getLog().warn(&quot;commons.distSvnStagingUrl is not set, the commons-release-plugin will not run.&quot;);</span>
+<span class="nc" id="L202">            return;</span>
         }
-<span class="pc bpc" id="L197" title="1 of 2 branches missed.">        if (!workingDirectory.exists()) {</span>
-<span class="nc" id="L198">            getLog().info(&quot;Current project contains no distributions. Not executing.&quot;);</span>
-<span class="nc" id="L199">            return;</span>
+<span class="pc bpc" id="L204" title="1 of 2 branches missed.">        if (!workingDirectory.exists()) {</span>
+<span class="nc" id="L205">            getLog().info(&quot;Current project contains no distributions. Not executing.&quot;);</span>
+<span class="nc" id="L206">            return;</span>
         }
-<span class="fc" id="L201">        getLog().info(&quot;Preparing to stage distributions&quot;);</span>
+<span class="fc" id="L208">        getLog().info(&quot;Preparing to stage distributions&quot;);</span>
         try {
-<span class="fc" id="L203">            final ScmManager scmManager = new BasicScmManager();</span>
-<span class="fc" id="L204">            scmManager.setScmProvider(&quot;svn&quot;, new SvnExeScmProvider());</span>
-<span class="fc" id="L205">            final ScmRepository repository = scmManager.makeScmRepository(distSvnStagingUrl);</span>
-<span class="fc" id="L206">            final ScmProvider provider = scmManager.getProviderByRepository(repository);</span>
-<span class="fc" id="L207">            final SvnScmProviderRepository providerRepository = (SvnScmProviderRepository) repository</span>
-<span class="fc" id="L208">                    .getProviderRepository();</span>
-<span class="fc" id="L209">            SharedFunctions.setAuthentication(</span>
+<span class="fc" id="L210">            final ScmManager scmManager = new BasicScmManager();</span>
+<span class="fc" id="L211">            scmManager.setScmProvider(&quot;svn&quot;, new SvnExeScmProvider());</span>
+<span class="fc" id="L212">            final ScmRepository repository = scmManager.makeScmRepository(distSvnStagingUrl);</span>
+<span class="fc" id="L213">            final ScmProvider provider = scmManager.getProviderByRepository(repository);</span>
+<span class="fc" id="L214">            final SvnScmProviderRepository providerRepository = (SvnScmProviderRepository) repository</span>
+<span class="fc" id="L215">                    .getProviderRepository();</span>
+<span class="fc" id="L216">            SharedFunctions.setAuthentication(</span>
                     providerRepository,
                     distServer,
                     settings,
@@ -214,56 +221,56 @@ import java.util.List;
                     username,
                     password
             );
-<span class="fc" id="L217">            distVersionRcVersionDirectory =</span>
+<span class="fc" id="L224">            distRcVersionDirectory =</span>
                     new File(distCheckoutDirectory, commonsReleaseVersion + &quot;-&quot; + commonsRcVersion);
-<span class="pc bpc" id="L219" title="1 of 2 branches missed.">            if (!distCheckoutDirectory.exists()) {</span>
-<span class="fc" id="L220">                SharedFunctions.initDirectory(getLog(), distCheckoutDirectory);</span>
+<span class="pc bpc" id="L226" title="1 of 2 branches missed.">            if (!distCheckoutDirectory.exists()) {</span>
+<span class="fc" id="L227">                SharedFunctions.initDirectory(getLog(), distCheckoutDirectory);</span>
             }
-<span class="fc" id="L222">            final ScmFileSet scmFileSet = new ScmFileSet(distCheckoutDirectory);</span>
-<span class="fc" id="L223">            getLog().info(&quot;Checking out dist from: &quot; + distSvnStagingUrl);</span>
-<span class="fc" id="L224">            final CheckOutScmResult checkOutResult = provider.checkOut(repository, scmFileSet);</span>
-<span class="pc bpc" id="L225" title="1 of 2 branches missed.">            if (!checkOutResult.isSuccess()) {</span>
-<span class="nc" id="L226">                throw new MojoExecutionException(&quot;Failed to checkout files from SCM: &quot;</span>
-<span class="nc" id="L227">                        + checkOutResult.getProviderMessage() + &quot; [&quot; + checkOutResult.getCommandOutput() + &quot;]&quot;);</span>
+<span class="fc" id="L229">            final ScmFileSet scmFileSet = new ScmFileSet(distCheckoutDirectory);</span>
+<span class="fc" id="L230">            getLog().info(&quot;Checking out dist from: &quot; + distSvnStagingUrl);</span>
+<span class="fc" id="L231">            final CheckOutScmResult checkOutResult = provider.checkOut(repository, scmFileSet);</span>
+<span class="pc bpc" id="L232" title="1 of 2 branches missed.">            if (!checkOutResult.isSuccess()) {</span>
+<span class="nc" id="L233">                throw new MojoExecutionException(&quot;Failed to checkout files from SCM: &quot;</span>
+<span class="nc" id="L234">                        + checkOutResult.getProviderMessage() + &quot; [&quot; + checkOutResult.getCommandOutput() + &quot;]&quot;);</span>
             }
-<span class="fc" id="L229">            final File copiedReleaseNotes = copyReleaseNotesToWorkingDirectory();</span>
-<span class="fc" id="L230">            copyDistributionsIntoScmDirectoryStructureAndAddToSvn(copiedReleaseNotes,</span>
+<span class="fc" id="L236">            final File copiedReleaseNotes = copyReleaseNotesToWorkingDirectory();</span>
+<span class="fc" id="L237">            copyDistributionsIntoScmDirectoryStructureAndAddToSvn(copiedReleaseNotes,</span>
                     provider, repository);
-<span class="fc" id="L232">            final List&lt;File&gt; filesToAdd = new ArrayList&lt;&gt;();</span>
-<span class="fc" id="L233">            listNotHiddenFilesAndDirectories(distCheckoutDirectory, filesToAdd);</span>
-<span class="pc bpc" id="L234" title="1 of 2 branches missed.">            if (!dryRun) {</span>
-<span class="nc" id="L235">                final ScmFileSet fileSet = new ScmFileSet(distCheckoutDirectory, filesToAdd);</span>
-<span class="nc" id="L236">                final AddScmResult addResult = provider.add(</span>
+<span class="fc" id="L239">            final List&lt;File&gt; filesToAdd = new ArrayList&lt;&gt;();</span>
+<span class="fc" id="L240">            listNotHiddenFilesAndDirectories(distCheckoutDirectory, filesToAdd);</span>
+<span class="pc bpc" id="L241" title="1 of 2 branches missed.">            if (!dryRun) {</span>
+<span class="nc" id="L242">                final ScmFileSet fileSet = new ScmFileSet(distCheckoutDirectory, filesToAdd);</span>
+<span class="nc" id="L243">                final AddScmResult addResult = provider.add(</span>
                         repository,
                         fileSet
                 );
-<span class="nc bnc" id="L240" title="All 2 branches missed.">                if (!addResult.isSuccess()) {</span>
-<span class="nc" id="L241">                    throw new MojoExecutionException(&quot;Failed to add files to SCM: &quot; + addResult.getProviderMessage()</span>
-<span class="nc" id="L242">                            + &quot; [&quot; + addResult.getCommandOutput() + &quot;]&quot;);</span>
+<span class="nc bnc" id="L247" title="All 2 branches missed.">                if (!addResult.isSuccess()) {</span>
+<span class="nc" id="L248">                    throw new MojoExecutionException(&quot;Failed to add files to SCM: &quot; + addResult.getProviderMessage()</span>
+<span class="nc" id="L249">                            + &quot; [&quot; + addResult.getCommandOutput() + &quot;]&quot;);</span>
                 }
-<span class="nc" id="L244">                getLog().info(&quot;Staging release: &quot; + project.getArtifactId() + &quot;, version: &quot; + project.getVersion());</span>
-<span class="nc" id="L245">                final CheckInScmResult checkInResult = provider.checkIn(</span>
+<span class="nc" id="L251">                getLog().info(&quot;Staging release: &quot; + project.getArtifactId() + &quot;, version: &quot; + project.getVersion());</span>
+<span class="nc" id="L252">                final CheckInScmResult checkInResult = provider.checkIn(</span>
                         repository,
                         fileSet,
-<span class="nc" id="L248">                        &quot;Staging release: &quot; + project.getArtifactId() + &quot;, version: &quot; + project.getVersion()</span>
+<span class="nc" id="L255">                        &quot;Staging release: &quot; + project.getArtifactId() + &quot;, version: &quot; + project.getVersion()</span>
                 );
-<span class="nc bnc" id="L250" title="All 2 branches missed.">                if (!checkInResult.isSuccess()) {</span>
-<span class="nc" id="L251">                    getLog().error(&quot;Committing dist files failed: &quot; + checkInResult.getCommandOutput());</span>
-<span class="nc" id="L252">                    throw new MojoExecutionException(</span>
-<span class="nc" id="L253">                            &quot;Committing dist files failed: &quot; + checkInResult.getCommandOutput()</span>
+<span class="nc bnc" id="L257" title="All 2 branches missed.">                if (!checkInResult.isSuccess()) {</span>
+<span class="nc" id="L258">                    getLog().error(&quot;Committing dist files failed: &quot; + checkInResult.getCommandOutput());</span>
+<span class="nc" id="L259">                    throw new MojoExecutionException(</span>
+<span class="nc" id="L260">                            &quot;Committing dist files failed: &quot; + checkInResult.getCommandOutput()</span>
                     );
                 }
-<span class="nc" id="L256">                getLog().info(&quot;Committed revision &quot; + checkInResult.getScmRevision());</span>
-<span class="nc" id="L257">            } else {</span>
-<span class="fc" id="L258">                getLog().info(&quot;[Dry run] Would have committed to: &quot; + distSvnStagingUrl);</span>
-<span class="fc" id="L259">                getLog().info(</span>
-<span class="fc" id="L260">                        &quot;[Dry run] Staging release: &quot; + project.getArtifactId() + &quot;, version: &quot; + project.getVersion());</span>
+<span class="nc" id="L263">                getLog().info(&quot;Committed revision &quot; + checkInResult.getScmRevision());</span>
+<span class="nc" id="L264">            } else {</span>
+<span class="fc" id="L265">                getLog().info(&quot;[Dry run] Would have committed to: &quot; + distSvnStagingUrl);</span>
+<span class="fc" id="L266">                getLog().info(</span>
+<span class="fc" id="L267">                        &quot;[Dry run] Staging release: &quot; + project.getArtifactId() + &quot;, version: &quot; + project.getVersion());</span>
             }
-<span class="nc" id="L262">        } catch (final ScmException e) {</span>
-<span class="nc" id="L263">            getLog().error(&quot;Could not commit files to dist: &quot; + distSvnStagingUrl, e);</span>
-<span class="nc" id="L264">            throw new MojoExecutionException(&quot;Could not commit files to dist: &quot; + distSvnStagingUrl, e);</span>
-<span class="fc" id="L265">        }</span>
-<span class="fc" id="L266">    }</span>
+<span class="nc" id="L269">        } catch (final ScmException e) {</span>
+<span class="nc" id="L270">            getLog().error(&quot;Could not commit files to dist: &quot; + distSvnStagingUrl, e);</span>
+<span class="nc" id="L271">            throw new MojoExecutionException(&quot;Could not commit files to dist: &quot; + distSvnStagingUrl, e);</span>
+<span class="fc" id="L272">        }</span>
+<span class="fc" id="L273">    }</span>
 
     /**
      * Lists all directories and files to a flat list.
@@ -272,16 +279,16 @@ import java.util.List;
      */
     private void listNotHiddenFilesAndDirectories(final File directory, final List&lt;File&gt; files) {
         // Get all the files and directories from a directory.
-<span class="fc" id="L275">        final File[] fList = directory.listFiles();</span>
-<span class="fc bfc" id="L276" title="All 2 branches covered.">        for (final File file : fList) {</span>
-<span class="pc bpc" id="L277" title="1 of 4 branches missed.">            if (file.isFile() &amp;&amp; !file.isHidden()) {</span>
-<span class="fc" id="L278">                files.add(file);</span>
-<span class="pc bpc" id="L279" title="1 of 4 branches missed.">            } else if (file.isDirectory() &amp;&amp; !file.isHidden()) {</span>
-<span class="fc" id="L280">                files.add(file);</span>
-<span class="fc" id="L281">                listNotHiddenFilesAndDirectories(file, files);</span>
+<span class="fc" id="L282">        final File[] fList = directory.listFiles();</span>
+<span class="fc bfc" id="L283" title="All 2 branches covered.">        for (final File file : fList) {</span>
+<span class="pc bpc" id="L284" title="1 of 4 branches missed.">            if (file.isFile() &amp;&amp; !file.isHidden()) {</span>
+<span class="fc" id="L285">                files.add(file);</span>
+<span class="pc bpc" id="L286" title="1 of 4 branches missed.">            } else if (file.isDirectory() &amp;&amp; !file.isHidden()) {</span>
+<span class="fc" id="L287">                files.add(file);</span>
+<span class="fc" id="L288">                listNotHiddenFilesAndDirectories(file, files);</span>
             }
         }
-<span class="fc" id="L284">    }</span>
+<span class="fc" id="L291">    }</span>
 
     /**
      * A utility method that takes the &lt;code&gt;RELEASE-NOTES.txt&lt;/code&gt; file from the base directory of the
@@ -295,11 +302,11 @@ import java.util.List;
      *                                can properly handle the exception.
      */
     private File copyReleaseNotesToWorkingDirectory() throws MojoExecutionException {
-<span class="fc" id="L298">        SharedFunctions.initDirectory(getLog(), distVersionRcVersionDirectory);</span>
-<span class="fc" id="L299">        getLog().info(&quot;Copying RELEASE-NOTES.txt to working directory.&quot;);</span>
-<span class="fc" id="L300">        final File copiedReleaseNotes = new File(distVersionRcVersionDirectory, releaseNotesFile.getName());</span>
-<span class="fc" id="L301">        SharedFunctions.copyFile(getLog(), releaseNotesFile, copiedReleaseNotes);</span>
-<span class="fc" id="L302">        return copiedReleaseNotes;</span>
+<span class="fc" id="L305">        SharedFunctions.initDirectory(getLog(), distRcVersionDirectory);</span>
+<span class="fc" id="L306">        getLog().info(&quot;Copying RELEASE-NOTES.txt to working directory.&quot;);</span>
+<span class="fc" id="L307">        final File copiedReleaseNotes = new File(distRcVersionDirectory, releaseNotesFile.getName());</span>
+<span class="fc" id="L308">        SharedFunctions.copyFile(getLog(), releaseNotesFile, copiedReleaseNotes);</span>
+<span class="fc" id="L309">        return copiedReleaseNotes;</span>
     }
 
     /**
@@ -337,34 +344,54 @@ import java.util.List;
                                                                              final ScmProvider provider,
                                                                              final ScmRepository repository)
             throws MojoExecutionException {
-<span class="fc" id="L340">        final List&lt;File&gt; workingDirectoryFiles = Arrays.asList(workingDirectory.listFiles());</span>
-<span class="fc" id="L341">        final List&lt;File&gt; filesForMavenScmFileSet = new ArrayList&lt;&gt;();</span>
-<span class="fc" id="L342">        final File scmBinariesRoot = new File(distVersionRcVersionDirectory, &quot;binaries&quot;);</span>
-<span class="fc" id="L343">        final File scmSourceRoot = new File(distVersionRcVersionDirectory, &quot;source&quot;);</span>
-<span class="fc" id="L344">        SharedFunctions.initDirectory(getLog(), scmBinariesRoot);</span>
-<span class="fc" id="L345">        SharedFunctions.initDirectory(getLog(), scmSourceRoot);</span>
+<span class="fc" id="L347">        final List&lt;File&gt; workingDirectoryFiles = Arrays.asList(workingDirectory.listFiles());</span>
+<span class="fc" id="L348">        final List&lt;File&gt; filesForMavenScmFileSet = new ArrayList&lt;&gt;();</span>
+<span class="fc" id="L349">        final File scmBinariesRoot = new File(distRcVersionDirectory, &quot;binaries&quot;);</span>
+<span class="fc" id="L350">        final File scmSourceRoot = new File(distRcVersionDirectory, &quot;source&quot;);</span>
+<span class="fc" id="L351">        SharedFunctions.initDirectory(getLog(), scmBinariesRoot);</span>
+<span class="fc" id="L352">        SharedFunctions.initDirectory(getLog(), scmSourceRoot);</span>
         File copy;
-<span class="fc bfc" id="L347" title="All 2 branches covered.">        for (final File file : workingDirectoryFiles) {</span>
-<span class="fc bfc" id="L348" title="All 2 branches covered.">            if (file.getName().contains(&quot;src&quot;)) {</span>
-<span class="fc" id="L349">                copy = new File(scmSourceRoot,  file.getName());</span>
-<span class="fc" id="L350">                SharedFunctions.copyFile(getLog(), file, copy);</span>
-<span class="fc" id="L351">                filesForMavenScmFileSet.add(file);</span>
-<span class="fc bfc" id="L352" title="All 2 branches covered.">            } else if (file.getName().contains(&quot;bin&quot;)) {</span>
-<span class="fc" id="L353">                copy = new File(scmBinariesRoot,  file.getName());</span>
-<span class="fc" id="L354">                SharedFunctions.copyFile(getLog(), file, copy);</span>
-<span class="fc" id="L355">                filesForMavenScmFileSet.add(file);</span>
-<span class="pc bpc" id="L356" title="1 of 2 branches missed.">            } else if (StringUtils.containsAny(file.getName(), &quot;scm&quot;, &quot;sha256.properties&quot;, &quot;sha512.properties&quot;)) {</span>
-<span class="fc" id="L357">                getLog().debug(&quot;Not copying scm directory over to the scm directory because it is the scm directory.&quot;);</span>
+<span class="fc bfc" id="L354" title="All 2 branches covered.">        for (final File file : workingDirectoryFiles) {</span>
+<span class="fc bfc" id="L355" title="All 2 branches covered.">            if (file.getName().contains(&quot;src&quot;)) {</span>
+<span class="fc" id="L356">                copy = new File(scmSourceRoot,  file.getName());</span>
+<span class="fc" id="L357">                SharedFunctions.copyFile(getLog(), file, copy);</span>
+<span class="fc" id="L358">                filesForMavenScmFileSet.add(file);</span>
+<span class="fc bfc" id="L359" title="All 2 branches covered.">            } else if (file.getName().contains(&quot;bin&quot;)) {</span>
+<span class="fc" id="L360">                copy = new File(scmBinariesRoot,  file.getName());</span>
+<span class="fc" id="L361">                SharedFunctions.copyFile(getLog(), file, copy);</span>
+<span class="fc" id="L362">                filesForMavenScmFileSet.add(file);</span>
+<span class="pc bpc" id="L363" title="1 of 2 branches missed.">            } else if (StringUtils.containsAny(file.getName(), &quot;scm&quot;, &quot;sha256.properties&quot;, &quot;sha512.properties&quot;)) {</span>
+<span class="fc" id="L364">                getLog().debug(&quot;Not copying scm directory over to the scm directory because it is the scm directory.&quot;);</span>
                 //do nothing because we are copying into scm
             } else {
-<span class="nc" id="L360">                copy = new File(distCheckoutDirectory.getAbsolutePath(),  file.getName());</span>
-<span class="nc" id="L361">                SharedFunctions.copyFile(getLog(), file, copy);</span>
-<span class="nc" id="L362">                filesForMavenScmFileSet.add(file);</span>
+<span class="nc" id="L367">                copy = new File(distCheckoutDirectory.getAbsolutePath(),  file.getName());</span>
+<span class="nc" id="L368">                SharedFunctions.copyFile(getLog(), file, copy);</span>
+<span class="nc" id="L369">                filesForMavenScmFileSet.add(file);</span>
             }
-<span class="fc" id="L364">        }</span>
-<span class="fc" id="L365">        filesForMavenScmFileSet.addAll(buildReadmeAndHeaderHtmlFiles());</span>
-<span class="fc" id="L366">        filesForMavenScmFileSet.addAll(copySiteToScmDirectory());</span>
-<span class="fc" id="L367">        return filesForMavenScmFileSet;</span>
+<span class="fc" id="L371">        }</span>
+<span class="fc" id="L372">        filesForMavenScmFileSet.addAll(buildReadmeAndHeaderHtmlFiles());</span>
+<span class="fc" id="L373">        filesForMavenScmFileSet.add(copySignatureValidatorScriptToScmDirectory());</span>
+<span class="fc" id="L374">        filesForMavenScmFileSet.addAll(copySiteToScmDirectory());</span>
+<span class="fc" id="L375">        return filesForMavenScmFileSet;</span>
+    }
+
+    /**
+     * Copies our &lt;code&gt;signature-validator.sh&lt;/code&gt; script into
+     * &lt;code&gt;${basedir}/target/commons-release-plugin/scm/signature-validator.sh&lt;/code&gt;.
+     *
+     * @return the {@link File} for the signature-validator.sh
+     * @throws MojoExecutionException if an error occurs while the resource is being copied
+     */
+    private File copySignatureValidatorScriptToScmDirectory() throws MojoExecutionException {
+<span class="fc" id="L386">        final Path scmTargetPath = Paths.get(distRcVersionDirectory.toString(), SIGNATURE_VALIDATOR_NAME);</span>
+<span class="fc" id="L387">        final String name = &quot;/resources/&quot; + SIGNATURE_VALIDATOR_NAME;</span>
+        // The source can be in a local file or inside a jar file.
+        try {
+<span class="fc" id="L390">            PathUtils.copyFile(getClass().getResource(name), scmTargetPath);</span>
+<span class="nc" id="L391">        } catch (final Exception e) {</span>
+<span class="nc" id="L392">            throw new MojoExecutionException(String.format(&quot;Failed to copy '%s' to '%s'&quot;, name, scmTargetPath), e);</span>
+<span class="fc" id="L393">        }</span>
+<span class="fc" id="L394">        return scmTargetPath.toFile();</span>
     }
 
     /**
@@ -375,19 +402,19 @@ import java.util.List;
      * @throws MojoExecutionException if the site copying fails for some reason.
      */
     private List&lt;File&gt; copySiteToScmDirectory() throws MojoExecutionException {
-<span class="pc bpc" id="L378" title="1 of 2 branches missed.">        if (!siteDirectory.exists()) {</span>
-<span class="nc" id="L379">            getLog().error(&quot;\&quot;mvn site\&quot; was not run before this goal, or a siteDirectory did not exist.&quot;);</span>
-<span class="nc" id="L380">            throw new MojoExecutionException(</span>
+<span class="pc bpc" id="L405" title="1 of 2 branches missed.">        if (!siteDirectory.exists()) {</span>
+<span class="nc" id="L406">            getLog().error(&quot;\&quot;mvn site\&quot; was not run before this goal, or a siteDirectory did not exist.&quot;);</span>
+<span class="nc" id="L407">            throw new MojoExecutionException(</span>
                     &quot;\&quot;mvn site\&quot; was not run before this goal, or a siteDirectory did not exist.&quot;
             );
         }
-<span class="fc" id="L384">        final File siteInScm = new File(distVersionRcVersionDirectory, &quot;site&quot;);</span>
+<span class="fc" id="L411">        final File siteInScm = new File(distRcVersionDirectory, &quot;site&quot;);</span>
         try {
-<span class="fc" id="L386">            FileUtils.copyDirectory(siteDirectory, siteInScm);</span>
-<span class="nc" id="L387">        } catch (final IOException e) {</span>
-<span class="nc" id="L388">            throw new MojoExecutionException(&quot;Site copying failed&quot;, e);</span>
-<span class="fc" id="L389">        }</span>
-<span class="fc" id="L390">        return new ArrayList&lt;&gt;(FileUtils.listFiles(siteInScm, null, true));</span>
+<span class="fc" id="L413">            FileUtils.copyDirectory(siteDirectory, siteInScm);</span>
+<span class="nc" id="L414">        } catch (final IOException e) {</span>
+<span class="nc" id="L415">            throw new MojoExecutionException(&quot;Site copying failed&quot;, e);</span>
+<span class="fc" id="L416">        }</span>
+<span class="fc" id="L417">        return new ArrayList&lt;&gt;(FileUtils.listFiles(siteInScm, null, true));</span>
     }
 
     /**
@@ -409,40 +436,45 @@ import java.util.List;
      *                                files fails.
      */
     private List&lt;File&gt; buildReadmeAndHeaderHtmlFiles() throws MojoExecutionException {
-<span class="fc" id="L412">        final List&lt;File&gt; headerAndReadmeFiles = new ArrayList&lt;&gt;();</span>
-<span class="fc" id="L413">        final File headerFile = new File(distVersionRcVersionDirectory, HEADER_FILE_NAME);</span>
+<span class="fc" id="L439">        final List&lt;File&gt; headerAndReadmeFiles = new ArrayList&lt;&gt;();</span>
+<span class="fc" id="L440">        final File headerFile = new File(distRcVersionDirectory, HEADER_FILE_NAME);</span>
         //
         // HEADER file
         //
-<span class="fc" id="L417">        try (Writer headerWriter = new OutputStreamWriter(new FileOutputStream(headerFile), &quot;UTF-8&quot;)) {</span>
-<span class="fc" id="L418">            HeaderHtmlVelocityDelegate.builder().build().render(headerWriter);</span>
-<span class="nc" id="L419">        } catch (final IOException e) {</span>
-<span class="nc" id="L420">            final String message = &quot;Could not build HEADER html file &quot; + headerFile;</span>
-<span class="nc" id="L421">            getLog().error(message, e);</span>
-<span class="nc" id="L422">            throw new MojoExecutionException(message, e);</span>
-<span class="fc" id="L423">        }</span>
-<span class="fc" id="L424">        headerAndReadmeFiles.add(headerFile);</span>
+<span class="fc" id="L444">        try (Writer headerWriter = new OutputStreamWriter(Files.newOutputStream(headerFile.toPath()),</span>
+                StandardCharsets.UTF_8)) {
+<span class="fc" id="L446">            HeaderHtmlVelocityDelegate.builder().build().render(headerWriter);</span>
+<span class="nc" id="L447">        } catch (final IOException e) {</span>
+<span class="nc" id="L448">            final String message = &quot;Could not build HEADER html file &quot; + headerFile;</span>
+<span class="nc" id="L449">            getLog().error(message, e);</span>
+<span class="nc" id="L450">            throw new MojoExecutionException(message, e);</span>
+<span class="fc" id="L451">        }</span>
+<span class="fc" id="L452">        headerAndReadmeFiles.add(headerFile);</span>
         //
         // README file
         //
-<span class="fc" id="L428">        final File readmeFile = new File(distVersionRcVersionDirectory, README_FILE_NAME);</span>
-<span class="fc" id="L429">        try (Writer readmeWriter = new OutputStreamWriter(new FileOutputStream(readmeFile), &quot;UTF-8&quot;)) {</span>
+<span class="fc" id="L456">        final File readmeFile = new File(distRcVersionDirectory, README_FILE_NAME);</span>
+<span class="fc" id="L457">        try (Writer readmeWriter = new OutputStreamWriter(Files.newOutputStream(readmeFile.toPath()),</span>
+                StandardCharsets.UTF_8)) {
             // @formatter:off
-<span class="fc" id="L431">            final ReadmeHtmlVelocityDelegate readmeHtmlVelocityDelegate = ReadmeHtmlVelocityDelegate.builder()</span>
-<span class="fc" id="L432">                    .withArtifactId(project.getArtifactId())</span>
-<span class="fc" id="L433">                    .withVersion(project.getVersion())</span>
-<span class="fc" id="L434">                    .withSiteUrl(project.getUrl())</span>
-<span class="fc" id="L435">                    .build();</span>
+<span class="fc" id="L460">            final ReadmeHtmlVelocityDelegate readmeHtmlVelocityDelegate = ReadmeHtmlVelocityDelegate.builder()</span>
+<span class="fc" id="L461">                    .withArtifactId(project.getArtifactId())</span>
+<span class="fc" id="L462">                    .withVersion(project.getVersion())</span>
+<span class="fc" id="L463">                    .withSiteUrl(project.getUrl())</span>
+<span class="fc" id="L464">                    .build();</span>
             // @formatter:on
-<span class="fc" id="L437">            readmeHtmlVelocityDelegate.render(readmeWriter);</span>
-<span class="nc" id="L438">        } catch (final IOException e) {</span>
-<span class="nc" id="L439">            final String message = &quot;Could not build README html file &quot; + readmeFile;</span>
-<span class="nc" id="L440">            getLog().error(message, e);</span>
-<span class="nc" id="L441">            throw new MojoExecutionException(message, e);</span>
-<span class="fc" id="L442">        }</span>
-<span class="fc" id="L443">        headerAndReadmeFiles.add(readmeFile);</span>
-<span class="fc" id="L444">        headerAndReadmeFiles.addAll(copyHeaderAndReadmeToSubdirectories(headerFile, readmeFile));</span>
-<span class="fc" id="L445">        return headerAndReadmeFiles;</span>
+<span class="fc" id="L466">            readmeHtmlVelocityDelegate.render(readmeWriter);</span>
+<span class="nc" id="L467">        } catch (final IOException e) {</span>
+<span class="nc" id="L468">            final String message = &quot;Could not build README html file &quot; + readmeFile;</span>
+<span class="nc" id="L469">            getLog().error(message, e);</span>
+<span class="nc" id="L470">            throw new MojoExecutionException(message, e);</span>
+<span class="fc" id="L471">        }</span>
+<span class="fc" id="L472">        headerAndReadmeFiles.add(readmeFile);</span>
+        //
+        // signature-validator.sh file copy
+        //
+<span class="fc" id="L476">        headerAndReadmeFiles.addAll(copyHeaderAndReadmeToSubdirectories(headerFile, readmeFile));</span>
+<span class="fc" id="L477">        return headerAndReadmeFiles;</span>
     }
 
     /**
@@ -457,22 +489,22 @@ import java.util.List;
      */
     private List&lt;File&gt; copyHeaderAndReadmeToSubdirectories(final File headerFile, final File readmeFile)
             throws MojoExecutionException {
-<span class="fc" id="L460">        final List&lt;File&gt; symbolicLinkFiles = new ArrayList&lt;&gt;();</span>
-<span class="fc" id="L461">        final File sourceRoot = new File(distVersionRcVersionDirectory, &quot;source&quot;);</span>
-<span class="fc" id="L462">        final File binariesRoot = new File(distVersionRcVersionDirectory, &quot;binaries&quot;);</span>
-<span class="fc" id="L463">        final File sourceHeaderFile = new File(sourceRoot, HEADER_FILE_NAME);</span>
-<span class="fc" id="L464">        final File sourceReadmeFile = new File(sourceRoot, README_FILE_NAME);</span>
-<span class="fc" id="L465">        final File binariesHeaderFile = new File(binariesRoot, HEADER_FILE_NAME);</span>
-<span class="fc" id="L466">        final File binariesReadmeFile = new File(binariesRoot, README_FILE_NAME);</span>
-<span class="fc" id="L467">        SharedFunctions.copyFile(getLog(), headerFile, sourceHeaderFile);</span>
-<span class="fc" id="L468">        symbolicLinkFiles.add(sourceHeaderFile);</span>
-<span class="fc" id="L469">        SharedFunctions.copyFile(getLog(), readmeFile, sourceReadmeFile);</span>
-<span class="fc" id="L470">        symbolicLinkFiles.add(sourceReadmeFile);</span>
-<span class="fc" id="L471">        SharedFunctions.copyFile(getLog(), headerFile, binariesHeaderFile);</span>
-<span class="fc" id="L472">        symbolicLinkFiles.add(binariesHeaderFile);</span>
-<span class="fc" id="L473">        SharedFunctions.copyFile(getLog(), readmeFile, binariesReadmeFile);</span>
-<span class="fc" id="L474">        symbolicLinkFiles.add(binariesReadmeFile);</span>
-<span class="fc" id="L475">        return symbolicLinkFiles;</span>
+<span class="fc" id="L492">        final List&lt;File&gt; symbolicLinkFiles = new ArrayList&lt;&gt;();</span>
+<span class="fc" id="L493">        final File sourceRoot = new File(distRcVersionDirectory, &quot;source&quot;);</span>
+<span class="fc" id="L494">        final File binariesRoot = new File(distRcVersionDirectory, &quot;binaries&quot;);</span>
+<span class="fc" id="L495">        final File sourceHeaderFile = new File(sourceRoot, HEADER_FILE_NAME);</span>
+<span class="fc" id="L496">        final File sourceReadmeFile = new File(sourceRoot, README_FILE_NAME);</span>
+<span class="fc" id="L497">        final File binariesHeaderFile = new File(binariesRoot, HEADER_FILE_NAME);</span>
+<span class="fc" id="L498">        final File binariesReadmeFile = new File(binariesRoot, README_FILE_NAME);</span>
+<span class="fc" id="L499">        SharedFunctions.copyFile(getLog(), headerFile, sourceHeaderFile);</span>
+<span class="fc" id="L500">        symbolicLinkFiles.add(sourceHeaderFile);</span>
+<span class="fc" id="L501">        SharedFunctions.copyFile(getLog(), readmeFile, sourceReadmeFile);</span>
+<span class="fc" id="L502">        symbolicLinkFiles.add(sourceReadmeFile);</span>
+<span class="fc" id="L503">        SharedFunctions.copyFile(getLog(), headerFile, binariesHeaderFile);</span>
+<span class="fc" id="L504">        symbolicLinkFiles.add(binariesHeaderFile);</span>
+<span class="fc" id="L505">        SharedFunctions.copyFile(getLog(), readmeFile, binariesReadmeFile);</span>
+<span class="fc" id="L506">        symbolicLinkFiles.add(binariesReadmeFile);</span>
+<span class="fc" id="L507">        return symbolicLinkFiles;</span>
     }
 
     /**
@@ -483,7 +515,7 @@ import java.util.List;
      *                is invoked.
      */
     protected void setBaseDir(final File baseDir) {
-<span class="fc" id="L486">        this.baseDir = baseDir;</span>
-<span class="fc" id="L487">    }</span>
+<span class="fc" id="L518">        this.baseDir = baseDir;</span>
+<span class="fc" id="L519">    }</span>
 }
-</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.3.201901230119</span></div></body></html>
\ No newline at end of file
+</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.7.202105040129</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsSiteCompressionMojo.html
==============================================================================
--- websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsSiteCompressionMojo.html (original)
+++ websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsSiteCompressionMojo.html Thu Mar 17 19:32:29 2022
@@ -1 +1 @@
-<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>CommonsSiteCompressionMojo</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Release Plugin</a> &gt; <a href="index.html" class="el_package">org.apache.commons.release.plugin.mojos</a> &gt; <span class="el_class">CommonsSiteCompressionMojo</span></div><h1>CommonsSiteCompressionMojo<
 /h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">42 of 197</td><td class="ctr2">78%</td><td class="bar">4 of 16</td><td cl
 ass="ctr2">75%</td><td class="ctr1">4</td><td class="ctr2">13</td><td class="ctr1">9</td><td class="ctr2">43</td><td class="ctr1">0</td><td class="ctr2">5</td></tr></tfoot><tbody><tr><td id="a2"><a href="CommonsSiteCompressionMojo.java.html#L88" class="el_method">execute()</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="51" height="10" title="38" alt="38"/><img src="../jacoco-resources/greenbar.gif" width="68" height="10" title="51" alt="51"/></td><td class="ctr2" id="c4">57%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="30" height="10" title="2" alt="2"/><img src="../jacoco-resources/greenbar.gif" width="90" height="10" title="6" alt="6"/></td><td class="ctr2" id="e0">75%</td><td class="ctr1" id="f0">2</td><td class="ctr2" id="g0">5</td><td class="ctr1" id="h0">8</td><td class="ctr2" id="i0">21</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a3"><a href="CommonsSiteCompressionMojo.jav
 a.html#L128" class="el_method">getAllSiteFiles(File, List)</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="5" height="10" title="4" alt="4"/><img src="../jacoco-resources/greenbar.gif" width="36" height="10" title="27" alt="27"/></td><td class="ctr2" id="c3">87%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="15" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="45" height="10" title="3" alt="3"/></td><td class="ctr2" id="e1">75%</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">3</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i3">6</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a4"><a href="CommonsSiteCompressionMojo.java.html#L150" class="el_method">writeZipFile(File, File, List)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="56" height="10" title="42" alt="42"/></td><td class="ctr2" id="c0">100%</t
 d><td class="bar" id="d2"><img src="../jacoco-resources/redbar.gif" width="15" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="45" height="10" title="3" alt="3"/></td><td class="ctr2" id="e2">75%</td><td class="ctr1" id="f2">1</td><td class="ctr2" id="g2">3</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">7</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a0"><a href="CommonsSiteCompressionMojo.java.html#L171" class="el_method">addToZip(File, File, ZipOutputStream)</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="43" height="10" title="32" alt="32"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i1">8</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a1"><a href="CommonsSiteComp
 ressionMojo.java.html#L51" class="el_method">CommonsSiteCompressionMojo()</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="4" height="10" title="3" alt="3"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.3.201901230119</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>CommonsSiteCompressionMojo</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Release Plugin</a> &gt; <a href="index.html" class="el_package">org.apache.commons.release.plugin.mojos</a> &gt; <span class="el_class">CommonsSiteCompressionMojo</span></div><h1>CommonsSiteCompressionMojo<
 /h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">42 of 202</td><td class="ctr2">79%</td><td class="bar">4 of 16</td><td cl
 ass="ctr2">75%</td><td class="ctr1">4</td><td class="ctr2">13</td><td class="ctr1">9</td><td class="ctr2">44</td><td class="ctr1">0</td><td class="ctr2">5</td></tr></tfoot><tbody><tr><td id="a2"><a href="CommonsSiteCompressionMojo.java.html#L89" class="el_method">execute()</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="51" height="10" title="38" alt="38"/><img src="../jacoco-resources/greenbar.gif" width="68" height="10" title="51" alt="51"/></td><td class="ctr2" id="c4">57%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="30" height="10" title="2" alt="2"/><img src="../jacoco-resources/greenbar.gif" width="90" height="10" title="6" alt="6"/></td><td class="ctr2" id="e0">75%</td><td class="ctr1" id="f0">2</td><td class="ctr2" id="g0">5</td><td class="ctr1" id="h0">8</td><td class="ctr2" id="i0">21</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a3"><a href="CommonsSiteCompressionMojo.jav
 a.html#L129" class="el_method">getAllSiteFiles(File, List)</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="5" height="10" title="4" alt="4"/><img src="../jacoco-resources/greenbar.gif" width="36" height="10" title="27" alt="27"/></td><td class="ctr2" id="c3">87%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="15" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="45" height="10" title="3" alt="3"/></td><td class="ctr2" id="e1">75%</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">3</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i3">6</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a4"><a href="CommonsSiteCompressionMojo.java.html#L151" class="el_method">writeZipFile(File, File, List)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="62" height="10" title="46" alt="46"/></td><td class="ctr2" id="c0">100%</t
 d><td class="bar" id="d2"><img src="../jacoco-resources/redbar.gif" width="15" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="45" height="10" title="3" alt="3"/></td><td class="ctr2" id="e2">75%</td><td class="ctr1" id="f2">1</td><td class="ctr2" id="g2">3</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i1">8</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a0"><a href="CommonsSiteCompressionMojo.java.html#L173" class="el_method">addToZip(File, File, ZipOutputStream)</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="44" height="10" title="33" alt="33"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i2">8</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a1"><a href="CommonsSiteComp
 ressionMojo.java.html#L52" class="el_method">CommonsSiteCompressionMojo()</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="4" height="10" title="3" alt="3"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.7.202105040129</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsSiteCompressionMojo.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsSiteCompressionMojo.java.html (original)
+++ websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsSiteCompressionMojo.java.html Thu Mar 17 19:32:29 2022
@@ -17,9 +17,10 @@
 package org.apache.commons.release.plugin.mojos;
 
 import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
 import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.nio.file.Files;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.zip.ZipEntry;
@@ -48,7 +49,7 @@ import org.apache.maven.plugins.annotati
         defaultPhase = LifecyclePhase.POST_SITE,
         threadSafe = true,
         aggregator = true)
-<span class="fc" id="L51">public class CommonsSiteCompressionMojo extends AbstractMojo {</span>
+<span class="fc" id="L52">public class CommonsSiteCompressionMojo extends AbstractMojo {</span>
 
     /**
      * The working directory for the plugin which, assuming the maven uses the default
@@ -85,37 +86,37 @@ import org.apache.maven.plugins.annotati
 
     @Override
     public void execute() throws MojoExecutionException, MojoFailureException {
-<span class="pc bpc" id="L88" title="1 of 2 branches missed.">        if (!isDistModule) {</span>
-<span class="nc" id="L89">            getLog().info(&quot;This module is marked as a non distribution &quot;</span>
+<span class="pc bpc" id="L89" title="1 of 2 branches missed.">        if (!isDistModule) {</span>
+<span class="nc" id="L90">            getLog().info(&quot;This module is marked as a non distribution &quot;</span>
                     + &quot;or assembly module, and the plugin will not run.&quot;);
-<span class="nc" id="L91">            return;</span>
+<span class="nc" id="L92">            return;</span>
         }
-<span class="pc bpc" id="L93" title="1 of 2 branches missed.">        if (StringUtils.isEmpty(distSvnStagingUrl)) {</span>
-<span class="nc" id="L94">            getLog().warn(&quot;commons.distSvnStagingUrl is not set, the commons-release-plugin will not run.&quot;);</span>
-<span class="nc" id="L95">            return;</span>
-        }
-<span class="fc bfc" id="L97" title="All 2 branches covered.">        if (!siteDirectory.exists()) {</span>
-<span class="fc" id="L98">            getLog().error(&quot;\&quot;mvn site\&quot; was not run before this goal, or a siteDirectory did not exist.&quot;);</span>
-<span class="fc" id="L99">            throw new MojoFailureException(</span>
+<span class="pc bpc" id="L94" title="1 of 2 branches missed.">        if (StringUtils.isEmpty(distSvnStagingUrl)) {</span>
+<span class="nc" id="L95">            getLog().warn(&quot;commons.distSvnStagingUrl is not set, the commons-release-plugin will not run.&quot;);</span>
+<span class="nc" id="L96">            return;</span>
+        }
+<span class="fc bfc" id="L98" title="All 2 branches covered.">        if (!siteDirectory.exists()) {</span>
+<span class="fc" id="L99">            getLog().error(&quot;\&quot;mvn site\&quot; was not run before this goal, or a siteDirectory did not exist.&quot;);</span>
+<span class="fc" id="L100">            throw new MojoFailureException(</span>
                     &quot;\&quot;mvn site\&quot; was not run before this goal, or a siteDirectory did not exist.&quot;
             );
         }
-<span class="fc bfc" id="L103" title="All 2 branches covered.">        if (!workingDirectory.exists()) {</span>
-<span class="fc" id="L104">            getLog().info(&quot;Current project contains no distributions. Not executing.&quot;);</span>
-<span class="fc" id="L105">            return;</span>
+<span class="fc bfc" id="L104" title="All 2 branches covered.">        if (!workingDirectory.exists()) {</span>
+<span class="fc" id="L105">            getLog().info(&quot;Current project contains no distributions. Not executing.&quot;);</span>
+<span class="fc" id="L106">            return;</span>
         }
         try {
-<span class="fc" id="L108">            filesToCompress = new ArrayList&lt;&gt;();</span>
-<span class="fc" id="L109">            getAllSiteFiles(siteDirectory, filesToCompress);</span>
-<span class="fc" id="L110">            writeZipFile(workingDirectory, siteDirectory, filesToCompress);</span>
-<span class="nc" id="L111">        } catch (final IOException e) {</span>
-<span class="nc" id="L112">            getLog().error(&quot;Failed to create ./target/commons-release-plugin/site.zip: &quot; + e.getMessage(), e);</span>
-<span class="nc" id="L113">            throw new MojoExecutionException(</span>
-<span class="nc" id="L114">                    &quot;Failed to create ./target/commons-release-plugin/site.zip: &quot; + e.getMessage(),</span>
+<span class="fc" id="L109">            filesToCompress = new ArrayList&lt;&gt;();</span>
+<span class="fc" id="L110">            getAllSiteFiles(siteDirectory, filesToCompress);</span>
+<span class="fc" id="L111">            writeZipFile(workingDirectory, siteDirectory, filesToCompress);</span>
+<span class="nc" id="L112">        } catch (final IOException e) {</span>
+<span class="nc" id="L113">            getLog().error(&quot;Failed to create ./target/commons-release-plugin/site.zip: &quot; + e.getMessage(), e);</span>
+<span class="nc" id="L114">            throw new MojoExecutionException(</span>
+<span class="nc" id="L115">                    &quot;Failed to create ./target/commons-release-plugin/site.zip: &quot; + e.getMessage(),</span>
                     e
             );
-<span class="fc" id="L117">        }</span>
-<span class="fc" id="L118">    }</span>
+<span class="fc" id="L118">        }</span>
+<span class="fc" id="L119">    }</span>
 
     /**
      * By default this method iterates across the &lt;code&gt;target/site&lt;/code&gt; directory and adds all of the files
@@ -125,14 +126,14 @@ import org.apache.maven.plugins.annotati
      * @param filesToCompress the {@link List} to which to add all the files.
      */
     private void getAllSiteFiles(final File siteDirectory, final List&lt;File&gt; filesToCompress) {
-<span class="fc" id="L128">        final File[] files = siteDirectory.listFiles();</span>
-<span class="fc bfc" id="L129" title="All 2 branches covered.">        for (final File file : files) {</span>
-<span class="fc" id="L130">            filesToCompress.add(file);</span>
-<span class="pc bpc" id="L131" title="1 of 2 branches missed.">            if (file.isDirectory()) {</span>
-<span class="nc" id="L132">                getAllSiteFiles(file, filesToCompress);</span>
+<span class="fc" id="L129">        final File[] files = siteDirectory.listFiles();</span>
+<span class="fc bfc" id="L130" title="All 2 branches covered.">        for (final File file : files) {</span>
+<span class="fc" id="L131">            filesToCompress.add(file);</span>
+<span class="pc bpc" id="L132" title="1 of 2 branches missed.">            if (file.isDirectory()) {</span>
+<span class="nc" id="L133">                getAllSiteFiles(file, filesToCompress);</span>
             }
         }
-<span class="fc" id="L135">    }</span>
+<span class="fc" id="L136">    }</span>
 
     /**
      * A helper method for writing all of the files in our &lt;code&gt;fileList&lt;/code&gt; to a &lt;code&gt;site.zip&lt;/code&gt; file
@@ -147,15 +148,16 @@ import org.apache.maven.plugins.annotati
      */
     private void writeZipFile(final File outputDirectory, final File directoryToZip, final List&lt;File&gt; fileList)
             throws IOException {
-<span class="fc" id="L150">        try (FileOutputStream fos = new FileOutputStream(outputDirectory.getAbsolutePath() + &quot;/site.zip&quot;);</span>
-<span class="fc" id="L151">                ZipOutputStream zos = new ZipOutputStream(fos)) {</span>
-<span class="fc bfc" id="L152" title="All 2 branches covered.">            for (final File file : fileList) {</span>
-<span class="pc bpc" id="L153" title="1 of 2 branches missed.">                if (!file.isDirectory()) { // we only zip files, not directories</span>
-<span class="fc" id="L154">                    addToZip(directoryToZip, file, zos);</span>
+<span class="fc" id="L151">        try (OutputStream fos = Files.newOutputStream(new File(outputDirectory.getAbsolutePath() + &quot;/site.zip&quot;)</span>
+<span class="fc" id="L152">                .toPath());</span>
+<span class="fc" id="L153">             ZipOutputStream zos = new ZipOutputStream(fos)) {</span>
+<span class="fc bfc" id="L154" title="All 2 branches covered.">            for (final File file : fileList) {</span>
+<span class="pc bpc" id="L155" title="1 of 2 branches missed.">                if (!file.isDirectory()) { // we only zip files, not directories</span>
+<span class="fc" id="L156">                    addToZip(directoryToZip, file, zos);</span>
                 }
-<span class="fc" id="L156">            }</span>
+<span class="fc" id="L158">            }</span>
         }
-<span class="fc" id="L158">    }</span>
+<span class="fc" id="L160">    }</span>
 
     /**
      * Given the &lt;code&gt;directoryToZip&lt;/code&gt; we add the &lt;code&gt;file&lt;/code&gt; to the zip archive represented by
@@ -168,16 +170,16 @@ import org.apache.maven.plugins.annotati
      * @throws IOException if adding the &lt;code&gt;file&lt;/code&gt; doesn't work out properly.
      */
     private void addToZip(final File directoryToZip, final File file, final ZipOutputStream zos) throws IOException {
-<span class="fc" id="L171">        try (FileInputStream fis = new FileInputStream(file)) {</span>
+<span class="fc" id="L173">        try (InputStream fis = Files.newInputStream(file.toPath())) {</span>
             // we want the zipEntry's path to be a relative path that is relative
             // to the directory being zipped, so chop off the rest of the path
-<span class="fc" id="L174">            final String zipFilePath = file.getCanonicalPath().substring(</span>
-<span class="fc" id="L175">                    directoryToZip.getCanonicalPath().length() + 1,</span>
-<span class="fc" id="L176">                    file.getCanonicalPath().length());</span>
-<span class="fc" id="L177">            final ZipEntry zipEntry = new ZipEntry(zipFilePath);</span>
-<span class="fc" id="L178">            zos.putNextEntry(zipEntry);</span>
-<span class="fc" id="L179">            IOUtils.copy(fis, zos);</span>
+<span class="fc" id="L176">            final String zipFilePath = file.getCanonicalPath().substring(</span>
+<span class="fc" id="L177">                    directoryToZip.getCanonicalPath().length() + 1,</span>
+<span class="fc" id="L178">                    file.getCanonicalPath().length());</span>
+<span class="fc" id="L179">            final ZipEntry zipEntry = new ZipEntry(zipFilePath);</span>
+<span class="fc" id="L180">            zos.putNextEntry(zipEntry);</span>
+<span class="fc" id="L181">            IOUtils.copy(fis, zos);</span>
         }
-<span class="fc" id="L181">    }</span>
+<span class="fc" id="L183">    }</span>
 }
-</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.3.201901230119</span></div></body></html>
\ No newline at end of file
+</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.7.202105040129</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsStagingCleanupMojo.html
==============================================================================
--- websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsStagingCleanupMojo.html (original)
+++ websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsStagingCleanupMojo.html Thu Mar 17 19:32:29 2022
@@ -1 +1 @@
-<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>CommonsStagingCleanupMojo</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Release Plugin</a> &gt; <a href="index.html" class="el_package">org.apache.commons.release.plugin.mojos</a> &gt; <span class="el_class">CommonsStagingCleanupMojo</span></div><h1>CommonsStagingCleanupMojo</h1
 ><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">148 of 238</td><td class="ctr2">37%</td><td class="bar">11 of 16</td><td cla
 ss="ctr2">31%</td><td class="ctr1">8</td><td class="ctr2">10</td><td class="ctr1">26</td><td class="ctr2">45</td><td class="ctr1">0</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a1"><a href="CommonsStagingCleanupMojo.java.html#L137" class="el_method">execute()</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="75" height="10" title="148" alt="148"/><img src="../jacoco-resources/greenbar.gif" width="44" height="10" title="87" alt="87"/></td><td class="ctr2" id="c1">37%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="82" height="10" title="11" alt="11"/><img src="../jacoco-resources/greenbar.gif" width="37" height="10" title="5" alt="5"/></td><td class="ctr2" id="e0">31%</td><td class="ctr1" id="f0">8</td><td class="ctr2" id="g0">9</td><td class="ctr1" id="h0">26</td><td class="ctr2" id="i0">44</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a href="CommonsStagingCleanupMojo
 .java.html#L58" class="el_method">CommonsStagingCleanupMojo()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="1" height="10" title="3" alt="3"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.3.201901230119</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>CommonsStagingCleanupMojo</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Release Plugin</a> &gt; <a href="index.html" class="el_package">org.apache.commons.release.plugin.mojos</a> &gt; <span class="el_class">CommonsStagingCleanupMojo</span></div><h1>CommonsStagingCleanupMojo</h1
 ><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">135 of 238</td><td class="ctr2">43%</td><td class="bar">10 of 16</td><td cla
 ss="ctr2">37%</td><td class="ctr1">8</td><td class="ctr2">10</td><td class="ctr1">24</td><td class="ctr2">45</td><td class="ctr1">0</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a1"><a href="CommonsStagingCleanupMojo.java.html#L137" class="el_method">execute()</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="68" height="10" title="135" alt="135"/><img src="../jacoco-resources/greenbar.gif" width="51" height="10" title="100" alt="100"/></td><td class="ctr2" id="c1">42%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="75" height="10" title="10" alt="10"/><img src="../jacoco-resources/greenbar.gif" width="45" height="10" title="6" alt="6"/></td><td class="ctr2" id="e0">37%</td><td class="ctr1" id="f0">8</td><td class="ctr2" id="g0">9</td><td class="ctr1" id="h0">24</td><td class="ctr2" id="i0">44</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a href="CommonsStagingCleanupMo
 jo.java.html#L58" class="el_method">CommonsStagingCleanupMojo()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="1" height="10" title="3" alt="3"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.7.202105040129</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsStagingCleanupMojo.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsStagingCleanupMojo.java.html (original)
+++ websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/CommonsStagingCleanupMojo.java.html Thu Mar 17 19:32:29 2022
@@ -170,10 +170,10 @@ import java.util.List;
             }
 <span class="fc" id="L171">            final List&lt;File&gt; filesToRemove = Arrays.asList(distCleanupDirectory.listFiles());</span>
 <span class="pc bpc" id="L172" title="1 of 2 branches missed.">            if (filesToRemove.size() == 1) {</span>
-<span class="fc" id="L173">                getLog().info(&quot;No files to delete&quot;);</span>
-<span class="fc" id="L174">                return;</span>
+<span class="nc" id="L173">                getLog().info(&quot;No files to delete&quot;);</span>
+<span class="nc" id="L174">                return;</span>
             }
-<span class="nc bnc" id="L176" title="All 2 branches missed.">            if (!dryRun) {</span>
+<span class="pc bpc" id="L176" title="1 of 2 branches missed.">            if (!dryRun) {</span>
 <span class="nc" id="L177">                final ScmFileSet fileSet = new ScmFileSet(distCleanupDirectory, filesToRemove);</span>
 <span class="nc" id="L178">                final RemoveScmResult removeScmResult = provider.remove(repository, fileSet,</span>
                         &quot;Cleaning up staging area&quot;);
@@ -193,12 +193,12 @@ import java.util.List;
 <span class="nc" id="L193">                            + &quot; [&quot; + removeScmResult.getCommandOutput() + &quot;]&quot;);</span>
                 }
 <span class="nc" id="L195">            } else {</span>
-<span class="nc" id="L196">                getLog().info(&quot;Would have attempted to delete files from: &quot; + distSvnStagingUrl);</span>
+<span class="fc" id="L196">                getLog().info(&quot;Would have attempted to delete files from: &quot; + distSvnStagingUrl);</span>
             }
 <span class="nc" id="L198">        } catch (final ScmException e) {</span>
 <span class="nc" id="L199">            throw new MojoFailureException(e.getMessage());</span>
-<span class="nc" id="L200">        }</span>
+<span class="fc" id="L200">        }</span>
 
-<span class="nc" id="L202">    }</span>
+<span class="fc" id="L202">    }</span>
 }
-</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.3.201901230119</span></div></body></html>
\ No newline at end of file
+</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.7.202105040129</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/index.html
==============================================================================
--- websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/index.html (original)
+++ websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin.mojos/index.html Thu Mar 17 19:32:29 2022
@@ -1 +1 @@
-<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>org.apache.commons.release.plugin.mojos</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.source.html" class="el_source">Source Files</a><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Release Plugin</a> &gt; <span class="el_package">org.apache.commons.release.plugin.mojos</span></div><h1>org.apach
 e.commons.release.plugin.mojos</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2"
  id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">503 of 1,638</td><td class="ctr2">69%</td><td class="bar">31 of 88</td><td class="ctr2">64%</td><td class="ctr1">26</td><td class="ctr2">69</td><td class="ctr1">87</td><td class="ctr2">318</td><td class="ctr1">0</td><td class="ctr2">25</td><td class="ctr1">0</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a1"><a href="CommonsDistributionStagingMojo.html" class="el_class">CommonsDistributionStagingMojo</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="37" height="10" title="250" alt="250"/><img src="../jacoco-resources/greenbar.gif" width="82" height="10" title="551" alt="551"/></td><td class="ctr2" id="c2">68%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="43" height="10" title="13" alt="13"/><img src="../jacoco-resources/greenbar.gif" width="76" height="10" title="23" alt="23"/></td><td class="ctr2" id="e2">63%<
 /td><td class="ctr1" id="f0">11</td><td class="ctr2" id="g0">27</td><td class="ctr1" id="h0">38</td><td class="ctr2" id="i0">144</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">9</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr><tr><td id="a3"><a href="CommonsStagingCleanupMojo.html" class="el_class">CommonsStagingCleanupMojo</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="22" height="10" title="148" alt="148"/><img src="../jacoco-resources/greenbar.gif" width="13" height="10" title="90" alt="90"/></td><td class="ctr2" id="c3">37%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="36" height="10" title="11" alt="11"/><img src="../jacoco-resources/greenbar.gif" width="16" height="10" title="5" alt="5"/></td><td class="ctr2" id="e3">31%</td><td class="ctr1" id="f1">8</td><td class="ctr2" id="g3">10</td><td class="ctr1" id="h1">26</td><td class="ctr2" id="i2">45</td><td class="ctr1" id="j1">0</
 td><td class="ctr2" id="k3">2</td><td class="ctr1" id="l1">0</td><td class="ctr2" id="m1">1</td></tr><tr><td id="a0"><a href="CommonsDistributionDetachmentMojo.html" class="el_class">CommonsDistributionDetachmentMojo</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="9" height="10" title="63" alt="63"/><img src="../jacoco-resources/greenbar.gif" width="50" height="10" title="339" alt="339"/></td><td class="ctr2" id="c0">84%</td><td class="bar" id="d3"><img src="../jacoco-resources/redbar.gif" width="10" height="10" title="3" alt="3"/><img src="../jacoco-resources/greenbar.gif" width="56" height="10" title="17" alt="17"/></td><td class="ctr2" id="e0">85%</td><td class="ctr1" id="f3">3</td><td class="ctr2" id="g1">19</td><td class="ctr1" id="h2">14</td><td class="ctr2" id="i1">86</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k1">9</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m2">1</td></tr><tr><td id="a2"><a href="CommonsSiteCompressi
 onMojo.html" class="el_class">CommonsSiteCompressionMojo</a></td><td class="bar" id="b3"><img src="../jacoco-resources/redbar.gif" width="6" height="10" title="42" alt="42"/><img src="../jacoco-resources/greenbar.gif" width="23" height="10" title="155" alt="155"/></td><td class="ctr2" id="c1">78%</td><td class="bar" id="d2"><img src="../jacoco-resources/redbar.gif" width="13" height="10" title="4" alt="4"/><img src="../jacoco-resources/greenbar.gif" width="40" height="10" title="12" alt="12"/></td><td class="ctr2" id="e1">75%</td><td class="ctr1" id="f2">4</td><td class="ctr2" id="g2">13</td><td class="ctr1" id="h3">9</td><td class="ctr2" id="i3">43</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k2">5</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m3">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.3.201901230119</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>org.apache.commons.release.plugin.mojos</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.source.html" class="el_source">Source Files</a><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Release Plugin</a> &gt; <span class="el_package">org.apache.commons.release.plugin.mojos</span></div><h1>org.apach
 e.commons.release.plugin.mojos</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2"
  id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">540 of 1,722</td><td class="ctr2">68%</td><td class="bar">30 of 88</td><td class="ctr2">65%</td><td class="ctr1">26</td><td class="ctr2">70</td><td class="ctr1">94</td><td class="ctr2">334</td><td class="ctr1">0</td><td class="ctr2">26</td><td class="ctr1">0</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a1"><a href="CommonsDistributionStagingMojo.html" class="el_class">CommonsDistributionStagingMojo</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="37" height="10" title="268" alt="268"/><img src="../jacoco-resources/greenbar.gif" width="82" height="10" title="584" alt="584"/></td><td class="ctr2" id="c2">68%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="43" height="10" title="13" alt="13"/><img src="../jacoco-resources/greenbar.gif" width="76" height="10" title="23" alt="23"/></td><td class="ctr2" id="e2">63%<
 /td><td class="ctr1" id="f0">11</td><td class="ctr2" id="g0">28</td><td class="ctr1" id="h0">40</td><td class="ctr2" id="i0">152</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">10</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr><tr><td id="a3"><a href="CommonsStagingCleanupMojo.html" class="el_class">CommonsStagingCleanupMojo</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="19" height="10" title="135" alt="135"/><img src="../jacoco-resources/greenbar.gif" width="14" height="10" title="103" alt="103"/></td><td class="ctr2" id="c3">43%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="33" height="10" title="10" alt="10"/><img src="../jacoco-resources/greenbar.gif" width="20" height="10" title="6" alt="6"/></td><td class="ctr2" id="e3">37%</td><td class="ctr1" id="f1">8</td><td class="ctr2" id="g3">10</td><td class="ctr1" id="h1">24</td><td class="ctr2" id="i2">45</td><td class="ctr1" id="j1">
 0</td><td class="ctr2" id="k3">2</td><td class="ctr1" id="l1">0</td><td class="ctr2" id="m1">1</td></tr><tr><td id="a0"><a href="CommonsDistributionDetachmentMojo.html" class="el_class">CommonsDistributionDetachmentMojo</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="13" height="10" title="95" alt="95"/><img src="../jacoco-resources/greenbar.gif" width="47" height="10" title="335" alt="335"/></td><td class="ctr2" id="c1">77%</td><td class="bar" id="d3"><img src="../jacoco-resources/redbar.gif" width="10" height="10" title="3" alt="3"/><img src="../jacoco-resources/greenbar.gif" width="56" height="10" title="17" alt="17"/></td><td class="ctr2" id="e0">85%</td><td class="ctr1" id="f3">3</td><td class="ctr2" id="g1">19</td><td class="ctr1" id="h2">21</td><td class="ctr2" id="i1">93</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k1">9</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m2">1</td></tr><tr><td id="a2"><a href="CommonsSiteCompr
 essionMojo.html" class="el_class">CommonsSiteCompressionMojo</a></td><td class="bar" id="b3"><img src="../jacoco-resources/redbar.gif" width="5" height="10" title="42" alt="42"/><img src="../jacoco-resources/greenbar.gif" width="22" height="10" title="160" alt="160"/></td><td class="ctr2" id="c0">79%</td><td class="bar" id="d2"><img src="../jacoco-resources/redbar.gif" width="13" height="10" title="4" alt="4"/><img src="../jacoco-resources/greenbar.gif" width="40" height="10" title="12" alt="12"/></td><td class="ctr2" id="e1">75%</td><td class="ctr1" id="f2">4</td><td class="ctr2" id="g2">13</td><td class="ctr1" id="h3">9</td><td class="ctr2" id="i3">44</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k2">5</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m3">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.7.202105040129</span></div></body></html>
\ No newline at end of file