You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2019/08/30 13:59:51 UTC

svn commit: r35466 [29/34] - in /dev/commons/commons-release-plugin/1.7-RC1: ./ binaries/ site/ site/apidocs/ site/apidocs/org/ site/apidocs/org/apache/ site/apidocs/org/apache/commons/ site/apidocs/org/apache/commons/release/ site/apidocs/org/apache/c...

Added: dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.html
==============================================================================
--- dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.html (added)
+++ dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.html Fri Aug 30 13:59:50 2019
@@ -0,0 +1,157 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>CommonsDistributionStagingMojoTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../testapidocs/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em class="jxr_comment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em class="jxr_comment"> * the License.  You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em class="jxr_comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.release.plugin.mojos;
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.MojoRule;
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.codehaus.plexus.util.FileUtils;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong class="jxr_keyword">import</strong> org.junit.Before;
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> org.junit.Rule;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> java.io.File;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> junit.framework.TestCase.assertTrue;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertFalse;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertNotNull;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <em class="jxr_javadoccomment"> * Unit tests for {@link CommonsDistributionStagingMojo}.</em>
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <em class="jxr_javadoccomment"> * @author chtompki</em>
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <em class="jxr_javadoccomment"> * @since 1.0.</em>
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="CommonsDistributionStagingMojoTest" href="../../../../../../org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.html#CommonsDistributionStagingMojoTest">CommonsDistributionStagingMojoTest</a> {
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH = <span class="jxr_string">"target/testing-commons-release-plugin"</span>;
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>      @Rule
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>      <strong class="jxr_keyword">public</strong> MojoRule rule = <strong class="jxr_keyword">new</strong> MojoRule() {
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>          @Override
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>          <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> before() <strong class="jxr_keyword">throws</strong> Throwable {
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>              <em class="jxr_comment">// noop</em>
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>          }
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>  
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>          @Override
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>          <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> after() {
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>              <em class="jxr_comment">// noop</em>
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>          }
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>      };
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>  
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>      <strong class="jxr_keyword">private</strong> CommonsDistributionDetachmentMojo detachmentMojo;
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>  
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>      <strong class="jxr_keyword">private</strong> CommonsDistributionStagingMojo mojoForTest;
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>  
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>      @Before
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>          <strong class="jxr_keyword">final</strong> File testingDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH);
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>          <strong class="jxr_keyword">if</strong> (testingDirectory.exists()) {
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>              FileUtils.deleteDirectory(testingDirectory);
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>          }
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>      }
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>  
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>      @Test
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSuccess() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>          <strong class="jxr_keyword">final</strong> File testPom = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"src/test/resources/mojos/stage-distributions/stage-distributions.xml"</span>);
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>          assertNotNull(testPom);
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>          assertTrue(testPom.exists());
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>          <strong class="jxr_keyword">final</strong> File detachmentPom = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"src/test/resources/mojos/detach-distributions/detach-distributions.xml"</span>);
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>          assertNotNull(detachmentPom);
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>          assertTrue(detachmentPom.exists());
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>          mojoForTest = (CommonsDistributionStagingMojo) rule.lookupMojo(<span class="jxr_string">"stage-distributions"</span>, testPom);
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>          detachmentMojo = (CommonsDistributionDetachmentMojo) rule.lookupMojo(<span class="jxr_string">"detach-distributions"</span>, detachmentPom);
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>          detachmentMojo.execute();
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>          <strong class="jxr_keyword">final</strong> File releaseNotesBasedir = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"src/test/resources/mojos/stage-distributions/"</span>);
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>          mojoForTest.setBaseDir(releaseNotesBasedir);
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>          mojoForTest.execute();
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>          assertRequisiteFilesExist();
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>      }
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>  
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>      @Test
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testDisabled() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>          <strong class="jxr_keyword">final</strong> File testPom = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"src/test/resources/mojos/stage-distributions/stage-distributions-disabled.xml"</span>);
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>          assertNotNull(testPom);
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>          assertTrue(testPom.exists());
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>          mojoForTest = (CommonsDistributionStagingMojo) rule.lookupMojo(<span class="jxr_string">"stage-distributions"</span>, testPom);
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>          mojoForTest.execute();
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>          <strong class="jxr_keyword">final</strong> File testingDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH);
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>          assertFalse(testingDirectory.exists());
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>      }
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>  
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> assertRequisiteFilesExist() {
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>          <strong class="jxr_keyword">final</strong> File targetScmDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1"</span>);
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>          <strong class="jxr_keyword">final</strong> File releaseNotes = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/RELEASE-NOTES.txt"</span>);
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>          <strong class="jxr_keyword">final</strong> File readmeHtml = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/README.html"</span>);
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>          <strong class="jxr_keyword">final</strong> File headerHtml = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/HEADER.html"</span>);
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>          <strong class="jxr_keyword">final</strong> File binariesReadmeHtml = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/binaries/README.html"</span>);
+<a class="jxr_linenumber" name="L100" href="#L100">100</a>         <strong class="jxr_keyword">final</strong> File binariesHeaderHtml = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/binaries/HEADER.html"</span>);
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>         <strong class="jxr_keyword">final</strong> File binTar = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.tar.gz"</span>);
+<a class="jxr_linenumber" name="L102" href="#L102">102</a>         <strong class="jxr_keyword">final</strong> File binTarASC = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.tar.gz.asc"</span>);
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>         <strong class="jxr_keyword">final</strong> File binTarSha512 = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.tar.gz.sha512"</span>);
+<a class="jxr_linenumber" name="L104" href="#L104">104</a>         <strong class="jxr_keyword">final</strong> File binZip = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.zip"</span>);
+<a class="jxr_linenumber" name="L105" href="#L105">105</a>         <strong class="jxr_keyword">final</strong> File binZipASC = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.zip.asc"</span>);
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>         <strong class="jxr_keyword">final</strong> File binZipSha512 = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.zip.sha512"</span>);
+<a class="jxr_linenumber" name="L107" href="#L107">107</a>         <strong class="jxr_keyword">final</strong> File sourcesReadmeHtml = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/binaries/README.html"</span>);
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>         <strong class="jxr_keyword">final</strong> File sourceHeaderHtml = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/binaries/HEADER.html"</span>);
+<a class="jxr_linenumber" name="L109" href="#L109">109</a>         <strong class="jxr_keyword">final</strong> File srcTar = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.tar.gz"</span>);
+<a class="jxr_linenumber" name="L110" href="#L110">110</a>         <strong class="jxr_keyword">final</strong> File srcTarASC = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.tar.gz.asc"</span>);
+<a class="jxr_linenumber" name="L111" href="#L111">111</a>         <strong class="jxr_keyword">final</strong> File srcTarSha512 = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.tar.gz.sha512"</span>);
+<a class="jxr_linenumber" name="L112" href="#L112">112</a>         <strong class="jxr_keyword">final</strong> File srcZip = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.zip"</span>);
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>         <strong class="jxr_keyword">final</strong> File srcZipASC = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.zip.asc"</span>);
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>         <strong class="jxr_keyword">final</strong> File srcZipSha512 = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.zip.sha512"</span>);
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>         <strong class="jxr_keyword">final</strong> File site = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/site"</span>);
+<a class="jxr_linenumber" name="L116" href="#L116">116</a>         <strong class="jxr_keyword">final</strong> File siteIndexHtml = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/site/index.html"</span>);
+<a class="jxr_linenumber" name="L117" href="#L117">117</a>         <strong class="jxr_keyword">final</strong> File siteSubdirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/site/subdirectory"</span>);
+<a class="jxr_linenumber" name="L118" href="#L118">118</a>         <strong class="jxr_keyword">final</strong> File siteSubdirectoryIndexHtml = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm/1.0-SNAPSHOT-RC1/site/subdirectory/index.html"</span>);
+<a class="jxr_linenumber" name="L119" href="#L119">119</a>         assertTrue(targetScmDirectory.exists());
+<a class="jxr_linenumber" name="L120" href="#L120">120</a>         assertTrue(releaseNotes.exists());
+<a class="jxr_linenumber" name="L121" href="#L121">121</a>         assertTrue(readmeHtml.exists());
+<a class="jxr_linenumber" name="L122" href="#L122">122</a>         assertTrue(headerHtml.exists());
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>         assertTrue(binariesReadmeHtml.exists());
+<a class="jxr_linenumber" name="L124" href="#L124">124</a>         assertTrue(binariesHeaderHtml.exists());
+<a class="jxr_linenumber" name="L125" href="#L125">125</a>         assertTrue(binTar.exists());
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>         assertTrue(binTarASC.exists());
+<a class="jxr_linenumber" name="L127" href="#L127">127</a>         assertTrue(binTarSha512.exists());
+<a class="jxr_linenumber" name="L128" href="#L128">128</a>         assertTrue(binZip.exists());
+<a class="jxr_linenumber" name="L129" href="#L129">129</a>         assertTrue(binZipASC.exists());
+<a class="jxr_linenumber" name="L130" href="#L130">130</a>         assertTrue(binZipSha512.exists());
+<a class="jxr_linenumber" name="L131" href="#L131">131</a>         assertTrue(sourcesReadmeHtml.exists());
+<a class="jxr_linenumber" name="L132" href="#L132">132</a>         assertTrue(sourceHeaderHtml.exists());
+<a class="jxr_linenumber" name="L133" href="#L133">133</a>         assertTrue(srcTar.exists());
+<a class="jxr_linenumber" name="L134" href="#L134">134</a>         assertTrue(srcTarASC.exists());
+<a class="jxr_linenumber" name="L135" href="#L135">135</a>         assertTrue(srcTarSha512.exists());
+<a class="jxr_linenumber" name="L136" href="#L136">136</a>         assertTrue(srcZip.exists());
+<a class="jxr_linenumber" name="L137" href="#L137">137</a>         assertTrue(srcZipASC.exists());
+<a class="jxr_linenumber" name="L138" href="#L138">138</a>         assertTrue(srcZipSha512.exists());
+<a class="jxr_linenumber" name="L139" href="#L139">139</a>         assertTrue(site.exists());
+<a class="jxr_linenumber" name="L140" href="#L140">140</a>         assertTrue(siteIndexHtml.exists());
+<a class="jxr_linenumber" name="L141" href="#L141">141</a>         assertTrue(siteSubdirectory.exists());
+<a class="jxr_linenumber" name="L142" href="#L142">142</a>         assertTrue(siteSubdirectoryIndexHtml.exists());
+<a class="jxr_linenumber" name="L143" href="#L143">143</a>     }
+<a class="jxr_linenumber" name="L144" href="#L144">144</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2018&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojoTest.html
==============================================================================
--- dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojoTest.html (added)
+++ dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojoTest.html Fri Aug 30 13:59:50 2019
@@ -0,0 +1,117 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>CommonsSiteCompressionMojoTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../testapidocs/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojoTest.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em class="jxr_comment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em class="jxr_comment"> * the License.  You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em class="jxr_comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.release.plugin.mojos;
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.MojoFailureException;
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.MojoRule;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong class="jxr_keyword">import</strong> org.codehaus.plexus.util.FileUtils;
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> org.junit.Before;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> org.junit.Rule;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> java.io.File;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> junit.framework.TestCase.assertTrue;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertEquals;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertFalse;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertNotNull;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <em class="jxr_javadoccomment"> * Unit tests for {@link CommonsSiteCompressionMojo}.</em>
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  <em class="jxr_javadoccomment"> * @author chtompki</em>
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  <em class="jxr_javadoccomment"> * @since 1.0</em>
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="CommonsSiteCompressionMojoTest" href="../../../../../../org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojoTest.html#CommonsSiteCompressionMojoTest">CommonsSiteCompressionMojoTest</a> {
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH = <span class="jxr_string">"target/testing-commons-release-plugin"</span>;
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>      @Rule
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>      <strong class="jxr_keyword">public</strong> MojoRule rule = <strong class="jxr_keyword">new</strong> MojoRule() {
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>          @Override
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>          <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> before() <strong class="jxr_keyword">throws</strong> Throwable {
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>              <em class="jxr_comment">// noop</em>
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>          }
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>  
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>          @Override
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>          <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> after() {
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>              <em class="jxr_comment">// noop</em>
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>          }
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>      };
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>  
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>      <strong class="jxr_keyword">protected</strong> CommonsSiteCompressionMojo mojo;
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>  
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>      @Before
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>          <strong class="jxr_keyword">final</strong> File testingDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH);
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>          <strong class="jxr_keyword">if</strong> (testingDirectory.exists()) {
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>              FileUtils.deleteDirectory(testingDirectory);
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>          }
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>      }
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>  
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>      @Test
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testCompressSiteSuccess() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>          <strong class="jxr_keyword">final</strong> File testingDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH);
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>          testingDirectory.mkdir();
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>          <strong class="jxr_keyword">final</strong> File testPom = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"src/test/resources/mojos/compress-site/compress-site.xml"</span>);
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>          assertNotNull(testPom);
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>          assertTrue(testPom.exists());
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>          mojo = (CommonsSiteCompressionMojo) rule.lookupMojo(<span class="jxr_string">"compress-site"</span>, testPom);
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>          mojo.execute();
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>          <strong class="jxr_keyword">final</strong> File siteZip = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/site.zip"</span>);
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>          assertTrue(siteZip.exists());
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>      }
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>  
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>      @Test
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testCompressSiteDirNonExistentFailure() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>          <strong class="jxr_keyword">final</strong> File testPom = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"src/test/resources/mojos/compress-site/compress-site-failure.xml"</span>);
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>          assertNotNull(testPom);
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>          assertTrue(testPom.exists());
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>          mojo = (CommonsSiteCompressionMojo) rule.lookupMojo(<span class="jxr_string">"compress-site"</span>, testPom);
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>          <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>              mojo.execute();
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>          } <strong class="jxr_keyword">catch</strong> (<strong class="jxr_keyword">final</strong> MojoFailureException e) {
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>              assertEquals(
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>                      <span class="jxr_string">"\&quot;mvn site\&quot; was not run before this goal, or a siteDirectory did not exist."</span>, e.getMessage()
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>              );
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>          }
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>      }
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>  
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>      @Test
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testDisabled() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>          <strong class="jxr_keyword">final</strong> File testPom = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"src/test/resources/mojos/compress-site/compress-site-disabled.xml"</span>);
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>          assertNotNull(testPom);
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>          assertTrue(testPom.exists());
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>          mojo = (CommonsSiteCompressionMojo) rule.lookupMojo(<span class="jxr_string">"compress-site"</span>, testPom);
+<a class="jxr_linenumber" name="L100" href="#L100">100</a>         mojo.execute();
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>         <strong class="jxr_keyword">final</strong> File testingDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH);
+<a class="jxr_linenumber" name="L102" href="#L102">102</a>         assertFalse(testingDirectory.exists());
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>     }
+<a class="jxr_linenumber" name="L104" href="#L104">104</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2018&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/CommonsStagingCleanupMojoTest.html
==============================================================================
--- dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/CommonsStagingCleanupMojoTest.html (added)
+++ dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/CommonsStagingCleanupMojoTest.html Fri Aug 30 13:59:50 2019
@@ -0,0 +1,88 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>CommonsStagingCleanupMojoTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../testapidocs/org/apache/commons/release/plugin/mojos/CommonsStagingCleanupMojoTest.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em class="jxr_comment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em class="jxr_comment"> * the License.  You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em class="jxr_comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.release.plugin.mojos;
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.MojoRule;
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.codehaus.plexus.util.FileUtils;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong class="jxr_keyword">import</strong> org.junit.Before;
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> org.junit.Rule;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> java.io.File;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> junit.framework.TestCase.assertTrue;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertNotNull;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <em class="jxr_javadoccomment"> * Unit tests for {@link CommonsSiteCompressionMojo}.</em>
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <em class="jxr_javadoccomment"> * @author chtompki</em>
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <em class="jxr_javadoccomment"> * @since 1.0</em>
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="CommonsStagingCleanupMojoTest" href="../../../../../../org/apache/commons/release/plugin/mojos/CommonsStagingCleanupMojoTest.html#CommonsStagingCleanupMojoTest">CommonsStagingCleanupMojoTest</a> {
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH = <span class="jxr_string">"target/testing-commons-release-plugin"</span>;
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>      @Rule
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>      <strong class="jxr_keyword">public</strong> MojoRule rule = <strong class="jxr_keyword">new</strong> MojoRule() {
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>          @Override
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>          <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> before() <strong class="jxr_keyword">throws</strong> Throwable {
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>              <em class="jxr_comment">// noop</em>
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>          }
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>  
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>          @Override
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>          <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> after() {
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>              <em class="jxr_comment">// noop</em>
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>          }
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>      };
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>  
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>      <strong class="jxr_keyword">protected</strong> CommonsStagingCleanupMojo mojo;
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>  
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>      @Before
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>          <strong class="jxr_keyword">final</strong> File testingDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH);
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>          <strong class="jxr_keyword">if</strong> (testingDirectory.exists()) {
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>              FileUtils.deleteDirectory(testingDirectory);
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>          }
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>      }
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>  
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>      @Test
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testCompressSiteSuccess() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>          <strong class="jxr_keyword">final</strong> File testingDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH);
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>          testingDirectory.mkdir();
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>          <strong class="jxr_keyword">final</strong> File testPom = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"src/test/resources/mojos/staging-cleanup/staging-cleanup.xml"</span>);
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>          assertNotNull(testPom);
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>          assertTrue(testPom.exists());
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>          mojo = (CommonsStagingCleanupMojo) rule.lookupMojo(<span class="jxr_string">"clean-staging"</span>, testPom);
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>          mojo.execute();
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>          <strong class="jxr_keyword">final</strong> File cleanupDir = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm-cleanup"</span>);
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>          assertTrue(cleanupDir.exists());
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>      }
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>  }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2018&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/package-frame.html
==============================================================================
--- dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/package-frame.html (added)
+++ dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/package-frame.html Fri Aug 30 13:59:50 2019
@@ -0,0 +1,30 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+    <!-- generated by Apache Maven JXR (jdk8) -->
+    <head>
+        <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+        <title>Apache Commons Release Plugin 1.7 Reference Package org.apache.commons.release.plugin.mojos</title>
+        <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
+    </head>
+    <body>
+        <h1 class="bar"><a href="package-summary.html" target="classFrame">org.apache.commons.release.plugin.mojos</a></h1>
+        <div class="indexContainer">
+            <h2 title="Classes">Classes</h2>
+            <ul title="Classes">
+                                <li>
+                    <a href="CommonsDistributionDetachmentMojoTest.html#CommonsDistributionDetachmentMojoTest" target="classFrame">CommonsDistributionDetachmentMojoTest</a>
+                </li>
+                                <li>
+                    <a href="CommonsDistributionStagingMojoTest.html#CommonsDistributionStagingMojoTest" target="classFrame">CommonsDistributionStagingMojoTest</a>
+                </li>
+                                <li>
+                    <a href="CommonsSiteCompressionMojoTest.html#CommonsSiteCompressionMojoTest" target="classFrame">CommonsSiteCompressionMojoTest</a>
+                </li>
+                                <li>
+                    <a href="CommonsStagingCleanupMojoTest.html#CommonsStagingCleanupMojoTest" target="classFrame">CommonsStagingCleanupMojoTest</a>
+                </li>
+                            </ul>
+        </div>
+    </body>
+</html>
\ No newline at end of file

Added: dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/package-summary.html
==============================================================================
--- dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/package-summary.html (added)
+++ dev/commons/commons-release-plugin/1.7-RC1/site/xref-test/org/apache/commons/release/plugin/mojos/package-summary.html Fri Aug 30 13:59:50 2019
@@ -0,0 +1,122 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+    <!-- generated by Apache Maven JXR (jdk8) -->
+    <head>
+        <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+        <title>Apache Commons Release Plugin 1.7 Reference Package org.apache.commons.release.plugin.mojos</title>
+        <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
+    </head>
+
+    <body>
+                <div class="topNav">
+            <a name="navbar_top"><!--   --></a>
+            <a href="#skip-navbar_top" title="Skip navigation links"></a>
+            <a name="navbar_top_firstrow"><!--   --></a>
+            <ul class="navList" title="Navigation">
+                <li><a href="../../../../../../overview-summary.html">Overview</a></li>
+                <li class="navBarCell1Rev">Package</li>
+                <li>Class</li>
+                <li>Use</li>
+                <li>Tree</li>
+                <li>Deprecated</li>
+                <li>Index</li>
+                <li>Help</li>
+            </ul>
+            <div class="aboutLanguage"><em><strong>Apache Commons Release Plugin 1.7 Reference</strong></em></div>
+        </div>
+        <div class="subNav">
+            <ul class="navList">
+                <li>Prev</li>
+                <li>Next</li>
+            </ul>
+            <ul class="navList">
+                <li><a href="../../../../../../index.html?overview-summary.html" target="_top">Frames</a></li>
+                <li><a href="package-summary.html" target="_top">No Frames</a></li>
+            </ul>
+            <ul class="navList" id="allclasses_navbar_top">
+                <li>All Classes</li>
+            </ul>
+            <div>
+            </div>
+            <a name="skip-navbar_top"><!--   --></a>
+        </div>
+        
+                <div class="header">
+            <h1 title="Package" class="title">Package org.apache.commons.release.plugin.mojos</h1>
+        </div>
+        <div class="contentContainer">
+            <ul class="blockList">
+                <li class="blockList">
+                    <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
+                        <caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
+                        <thead>
+                            <tr>
+                                <th class="colFirst colLast" scope="col">Class</th>
+                            </tr>
+                        </thead>
+                        <tbody>
+                                            		                                                                                                <tr class="altColor">
+                                <td class="colFirst colLast">
+                                    <a href="CommonsDistributionDetachmentMojoTest.html#CommonsDistributionDetachmentMojoTest" target="classFrame" title="class in org.apache.commons.release.plugin.mojos">CommonsDistributionDetachmentMojoTest</a>
+                                </td>
+                            </tr>
+                                                                                                                        <tr class="rowColor">
+                                <td class="colFirst colLast">
+                                    <a href="CommonsDistributionStagingMojoTest.html#CommonsDistributionStagingMojoTest" target="classFrame" title="class in org.apache.commons.release.plugin.mojos">CommonsDistributionStagingMojoTest</a>
+                                </td>
+                            </tr>
+                                                                                                                        <tr class="altColor">
+                                <td class="colFirst colLast">
+                                    <a href="CommonsSiteCompressionMojoTest.html#CommonsSiteCompressionMojoTest" target="classFrame" title="class in org.apache.commons.release.plugin.mojos">CommonsSiteCompressionMojoTest</a>
+                                </td>
+                            </tr>
+                                                                                                                        <tr class="rowColor">
+                                <td class="colFirst colLast">
+                                    <a href="CommonsStagingCleanupMojoTest.html#CommonsStagingCleanupMojoTest" target="classFrame" title="class in org.apache.commons.release.plugin.mojos">CommonsStagingCleanupMojoTest</a>
+                                </td>
+                            </tr>
+                                                    </tbody>
+                    </table>
+                </li>
+            </ul>
+        </div>
+        
+                <div class="bottomNav">
+            <a name="navbar_bottom"><!--   --></a>
+            <a href="#skip-navbar_bottom" title="Skip navigation links"></a>
+            <a name="navbar_bottom_firstrow"><!--   --></a>
+            <ul class="navList" title="Navigation">
+                <li><a href="../../../../../../overview-summary.html">Overview</a></li>
+                <li class="navBarCell1Rev">Package</li>
+                <li>Class</li>
+                <li>Use</li>
+                <li>Tree</li>
+                <li>Deprecated</li>
+                <li>Index</li>
+                <li>Help</li>
+            </ul>
+            <div class="aboutLanguage"><em><strong>Apache Commons Release Plugin 1.7 Reference</strong></em></div>
+        </div>
+        <div class="subNav">
+            <ul class="navList">
+                <li>Prev</li>
+                <li>Next</li>
+            </ul>
+            <ul class="navList">
+                <li><a href="../../../../../../index.html?overview-summary.html" target="_top">Frames</a></li>
+                <li><a href="package-summary.html" target="_top">No Frames</a></li>
+            </ul>
+            <ul class="navList" id="allclasses_navbar_bottom">
+                <li>All Classes</li>
+            </ul>
+            <div>
+            </div>
+            <a name="skip-navbar_bottom"><!--   --></a>
+        </div>
+        
+        <div id="footer">
+            Copyright &#169; 2018&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.
+        </div>
+    </body>
+</html>
\ No newline at end of file