Modified: websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin/index.source.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin/index.source.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/jacoco/org.apache.commons.release.plugin/index.source.html Mon Mar 5 17:50:33 2018 @@ -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</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.html" class="el_class">Classes</a><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Release Plugin</a> > <span class="el_package">org.apache.commons.release.plugin</span></div><h1>org.apache.commons.release.plugin< /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(thi s)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">44 of 85</td><td class="ctr2">48%</td><td class="bar">2 of 6</td><td class="ctr2">66%</td><td class="ctr1">3</td><td class="ctr2">6</td><td class="ctr1">10</td><td class="ctr2">23</td><td class="ctr1">1</td><td class="ctr2">3</td><td class="ctr1">0</td><td class="ctr2">1</td></tr></tfoot><tbody><tr><td id="a0"><a href="SharedFunctions.java.html" class="el_source">SharedFunctions.java</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="62" height="10" title="44" alt="44"/><img src="../jacoco-resources/greenbar.gif" width="57" height="10" title="41" alt="41"/></td><td class="ctr2" id="c0">48%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="40" height="10" title="2" alt="2"/><img src="../jacoco-resources/greenbar.gif" width="80" height="10" title="4" alt="4"/></td><td class="ctr2" id="e0">66%</td><td class="ctr1" id="f0">3</td><td class="ctr2" id="g0">6</td><t d class="ctr1" id="h0">10</td><td class="ctr2" id="i0">23</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">3</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.7.9.201702052155</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</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.html" class="el_class">Classes</a><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Release Plugin</a> > <span class="el_package">org.apache.commons.release.plugin</span></div><h1>org.apache.commons.release.plugin< /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(thi s)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">41 of 82</td><td class="ctr2">50%</td><td class="bar">2 of 6</td><td class="ctr2">66%</td><td class="ctr1">2</td><td class="ctr2">5</td><td class="ctr1">8</td><td class="ctr2">21</td><td class="ctr1">0</td><td class="ctr2">2</td><td class="ctr1">0</td><td class="ctr2">1</td></tr></tfoot><tbody><tr><td id="a0"><a href="SharedFunctions.java.html" class="el_source">SharedFunctions.java</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="60" height="10" title="41" alt="41"/><img src="../jacoco-resources/greenbar.gif" width="60" height="10" title="41" alt="41"/></td><td class="ctr2" id="c0">50%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="40" height="10" title="2" alt="2"/><img src="../jacoco-resources/greenbar.gif" width="80" height="10" title="4" alt="4"/></td><td class="ctr2" id="e0">66%</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">2</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.0.201801022044</span></div></body></html> \ No newline at end of file
Modified: websites/production/commons/content/proper/commons-release-plugin/javancss.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/javancss.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/javancss.html Mon Mar 5 17:50:33 2018 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – JavaNCSS Metric Results</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -282,11 +282,11 @@ <td>org.apache.commons.release.plugin.mojos</td> <td>3</td> <td>15</td> -<td>258</td> +<td>290</td> <td>15</td> <td>142</td> <td>4</td> -<td>131</td></tr> +<td>149</td></tr> <tr class="a"> <td>org.apache.commons.release.plugin</td> <td>1</td> @@ -308,11 +308,11 @@ <tr class="a"> <td>4</td> <td>18</td> -<td>292</td> +<td>324</td> <td>19</td> <td>169</td> <td>5</td> -<td>178</td></tr></table></div> +<td>196</td></tr></table></div> <div class="section"> <h2><a name="Objects"></a>Objects</h2><a name="object">Objects</a> <p>[ <a href="#package">package</a> ] [ <a href="#object">object</a> ] [ <a href="#method">method</a> ] [ <a href="#explanation">explanation</a> ]</p> @@ -326,19 +326,19 @@ <th>Javadocs</th></tr> <tr class="a"> <td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.html">org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojo</a></td> -<td>89</td> +<td>99</td> <td>6</td> <td>0</td> <td>6</td></tr> <tr class="b"> <td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.html">org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojo</a></td> -<td>64</td> +<td>73</td> <td>5</td> <td>0</td> <td>5</td></tr> <tr class="a"> <td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.html">org.apache.commons.release.plugin.mojos.CommonsSiteCompressionMojo</a></td> -<td>43</td> +<td>52</td> <td>4</td> <td>0</td> <td>4</td></tr> @@ -358,19 +358,19 @@ <th>Javadocs</th></tr> <tr class="b"> <td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.html">org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojo</a></td> -<td>89</td> +<td>99</td> <td>6</td> <td>0</td> <td>6</td></tr> <tr class="a"> <td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.html">org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojo</a></td> -<td>64</td> +<td>73</td> <td>5</td> <td>0</td> <td>5</td></tr> <tr class="b"> <td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.html">org.apache.commons.release.plugin.mojos.CommonsSiteCompressionMojo</a></td> -<td>43</td> +<td>52</td> <td>4</td> <td>0</td> <td>4</td></tr> @@ -389,8 +389,8 @@ <th>Methods average</th> <th>Javadocs average</th></tr> <tr class="a"> -<td>55.25</td> -<td>292.00</td> +<td>62.25</td> +<td>324.00</td> <td>0.00</td> <td>4.50</td> <td>4.75</td></tr></table></div> @@ -406,17 +406,27 @@ <th>Javadocs</th></tr> <tr class="a"> <td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.html">org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojo.execute()</a></td> -<td>36</td> -<td>10</td> +<td>43</td> +<td>15</td> <td>0</td></tr> <tr class="b"> <td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.html">org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojo.copyDistributionsIntoScmDirectoryStructure()</a></td> -<td>25</td> +<td>27</td> <td>5</td> <td>1</td></tr> <tr class="a"> +<td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.html">org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojo.execute()</a></td> +<td>21</td> +<td>11</td> +<td>0</td></tr> +<tr class="b"> +<td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.html">org.apache.commons.release.plugin.mojos.CommonsSiteCompressionMojo.execute()</a></td> +<td>19</td> +<td>11</td> +<td>0</td></tr> +<tr class="a"> <td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.html">org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojo.sha1AndMd5SignArtifacts()</a></td> -<td>16</td> +<td>15</td> <td>5</td> <td>1</td></tr> <tr class="b"> @@ -425,16 +435,6 @@ <td>4</td> <td>1</td></tr> <tr class="a"> -<td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.html">org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojo.execute()</a></td> -<td>12</td> -<td>5</td> -<td>0</td></tr> -<tr class="b"> -<td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.html">org.apache.commons.release.plugin.mojos.CommonsSiteCompressionMojo.execute()</a></td> -<td>12</td> -<td>6</td> -<td>0</td></tr> -<tr class="a"> <td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.html">org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojo.copyRemovedArtifactsToWorkingDirectory()</a></td> <td>11</td> <td>2</td> @@ -446,7 +446,7 @@ <td>1</td></tr> <tr class="a"> <td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.html">org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojo.copyReleaseNotesToWorkingDirectory()</a></td> -<td>9</td> +<td>8</td> <td>1</td> <td>1</td></tr> <tr class="b"> @@ -502,9 +502,9 @@ <th>CCN average</th> <th>Javadocs average</th></tr> <tr class="b"> -<td>292.00</td> -<td>10.61</td> -<td>3.17</td> +<td>324.00</td> +<td>11.89</td> +<td>4.06</td> <td>0.83</td></tr></table></div> <div class="section"> <h2><a name="Explanations"></a>Explanations</h2><a name="explanation">Explanations</a> Modified: websites/production/commons/content/proper/commons-release-plugin/jira-report.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/jira-report.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/jira-report.html Mon Mar 5 17:50:33 2018 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – JIRA Report</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -273,13 +273,21 @@ <th>Status</th></tr> <tr class="b"> <td></td> +<td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-101">COMMONSSITE-101</a></td> +<td>Commons Release Plugin</td> +<td>Make -Dcommons.release.dryRun=true our commit toggle</td> +<td>Bug</td> +<td>Fixed</td> +<td>Resolved</td></tr> +<tr class="a"> +<td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-88">COMMONSSITE-88</a></td> <td></td> <td>Dowload page fixes for build plugin and site</td> <td>Bug</td> <td>Fixed</td> <td>Resolved</td></tr> -<tr class="a"> +<tr class="b"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-84">COMMONSSITE-84</a></td> <td>Site</td> @@ -287,7 +295,7 @@ <td>Bug</td> <td>Fixed</td> <td>Closed</td></tr> -<tr class="b"> +<tr class="a"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-82">COMMONSSITE-82</a></td> <td>Commons Skin</td> @@ -295,7 +303,7 @@ <td>Bug</td> <td>Fixed</td> <td>Resolved</td></tr> -<tr class="a"> +<tr class="b"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-74">COMMONSSITE-74</a></td> <td>Commons Build</td> @@ -303,7 +311,7 @@ <td>Bug</td> <td>Fixed</td> <td>Closed</td></tr> -<tr class="b"> +<tr class="a"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-73">COMMONSSITE-73</a></td> <td>Commons Parent Pom</td> @@ -311,7 +319,7 @@ <td>Bug</td> <td>Fixed</td> <td>Resolved</td></tr> -<tr class="a"> +<tr class="b"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-69">COMMONSSITE-69</a></td> <td></td> @@ -319,7 +327,7 @@ <td>Bug</td> <td>Fixed</td> <td>Resolved</td></tr> -<tr class="b"> +<tr class="a"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-57">COMMONSSITE-57</a></td> <td>Site</td> @@ -327,7 +335,7 @@ <td>Bug</td> <td>Fixed</td> <td>Resolved</td></tr> -<tr class="a"> +<tr class="b"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-52">COMMONSSITE-52</a></td> <td>Site</td> @@ -335,7 +343,7 @@ <td>Bug</td> <td>Fixed</td> <td>Resolved</td></tr> -<tr class="b"> +<tr class="a"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-43">COMMONSSITE-43</a></td> <td>Commons Parent Pom</td> @@ -343,7 +351,7 @@ <td>Bug</td> <td>Fixed</td> <td>Resolved</td></tr> -<tr class="a"> +<tr class="b"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-41">COMMONSSITE-41</a></td> <td>Commons Parent Pom</td> @@ -351,7 +359,7 @@ <td>Bug</td> <td>Fixed</td> <td>Resolved</td></tr> -<tr class="b"> +<tr class="a"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-36">COMMONSSITE-36</a></td> <td>Commons Build Plugin</td> @@ -359,7 +367,7 @@ <td>Bug</td> <td>Fixed</td> <td>Resolved</td></tr> -<tr class="a"> +<tr class="b"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-35">COMMONSSITE-35</a></td> <td>Commons Build Plugin</td> @@ -367,7 +375,7 @@ <td>Bug</td> <td>Fixed</td> <td>Closed</td></tr> -<tr class="b"> +<tr class="a"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-25">COMMONSSITE-25</a></td> <td>Site</td> @@ -375,7 +383,7 @@ <td>Bug</td> <td>Fixed</td> <td>Closed</td></tr> -<tr class="a"> +<tr class="b"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-6">COMMONSSITE-6</a></td> <td></td> @@ -383,7 +391,7 @@ <td>Bug</td> <td>Fixed</td> <td>Closed</td></tr> -<tr class="b"> +<tr class="a"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-5">COMMONSSITE-5</a></td> <td></td> @@ -391,7 +399,7 @@ <td>Bug</td> <td>Fixed</td> <td>Closed</td></tr> -<tr class="a"> +<tr class="b"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-4">COMMONSSITE-4</a></td> <td></td> @@ -399,7 +407,7 @@ <td>Bug</td> <td>Fixed</td> <td>Closed</td></tr> -<tr class="b"> +<tr class="a"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-3">COMMONSSITE-3</a></td> <td></td> @@ -407,7 +415,7 @@ <td>Bug</td> <td>Fixed</td> <td>Closed</td></tr> -<tr class="a"> +<tr class="b"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-2">COMMONSSITE-2</a></td> <td></td> @@ -415,7 +423,7 @@ <td>Bug</td> <td>Fixed</td> <td>Closed</td></tr> -<tr class="b"> +<tr class="a"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-1">COMMONSSITE-1</a></td> <td></td> @@ -423,6 +431,14 @@ <td>Bug</td> <td>Fixed</td> <td>Closed</td></tr> +<tr class="b"> +<td></td> +<td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-98">COMMONSSITE-98</a></td> +<td>Commons Release Plugin</td> +<td>Create a mojo for staging commons-rng in some form or fashion</td> +<td>Improvement</td> +<td>Fixed</td> +<td>Resolved</td></tr> <tr class="a"> <td></td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-89">COMMONSSITE-89</a></td> @@ -576,6 +592,22 @@ <td>Fixed</td> <td>Closed</td></tr> <tr class="b"> +<td>1.1</td> +<td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-104">COMMONSSITE-104</a></td> +<td>Commons Release Plugin</td> +<td>Commons Release Plugin: generated signature files don't reflect actual signatures.</td> +<td>Bug</td> +<td>Fixed</td> +<td>Resolved</td></tr> +<tr class="a"> +<td>1.1</td> +<td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-102">COMMONSSITE-102</a></td> +<td>Commons Release Plugin</td> +<td>Commons Release Plugin doesn't work with Commons Release Plugin</td> +<td>Bug</td> +<td>Fixed</td> +<td>Resolved</td></tr> +<tr class="b"> <td>1.8</td> <td><a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSSITE-93">COMMONSSITE-93</a></td> <td>Commons Build Plugin</td> Modified: websites/production/commons/content/proper/commons-release-plugin/mail-lists.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/mail-lists.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/mail-lists.html Mon Mar 5 17:50:33 2018 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Project Mailing Lists</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> Modified: websites/production/commons/content/proper/commons-release-plugin/pmd.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/pmd.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/pmd.html Mon Mar 5 17:50:33 2018 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – PMD Results</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -262,7 +262,7 @@ <td class="content"> <div class="section"> <h2><a name="PMD_Results"></a>PMD Results</h2> -<p>The following document contains the results of <a class="externalLink" href="http://pmd.sourceforge.net/">PMD</a> 5.6.1.</p></div> +<p>The following document contains the results of <a class="externalLink" href="http://pmd.sourceforge.net/">PMD</a> 6.0.1.</p></div> <div class="section"> <h2><a name="Files"></a>Files</h2> <div class="section"> @@ -272,8 +272,17 @@ <th>Violation</th> <th>Line</th></tr> <tr class="b"> -<td>Avoid unused private fields such as 'distSvnStagingUrl'.</td> -<td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.html#L89">89</a></td></tr></table></div> +<td>Avoid unused imports such as 'java.io.FileInputStream'</td> +<td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.html#L32">32</a></td></tr></table></div> +<div class="section"> +<h3><a name="org.2Fapache.2Fcommons.2Frelease.2Fplugin.2Fmojos.2FCommonsDistributionStagingMojo.java"></a>org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java</h3> +<table border="0" class="bodyTable"> +<tr class="a"> +<th>Violation</th> +<th>Line</th></tr> +<tr class="b"> +<td>Avoid unused private fields such as 'basedir'.</td> +<td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.html#L71">71</a></td></tr></table></div> <div class="section"> <h3><a name="org.2Fapache.2Fcommons.2Frelease.2Fplugin.2Fmojos.2FCommonsSiteCompressionMojo.java"></a>org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.java</h3> <table border="0" class="bodyTable"> @@ -282,10 +291,10 @@ <th>Line</th></tr> <tr class="b"> <td>Avoid unused private fields such as 'dirs'.</td> -<td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.html#L63">63</a></td></tr> +<td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.html#L83">83</a></td></tr> <tr class="a"> <td>Avoid unused private fields such as 'scatterZipCreator'.</td> -<td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.html#L68">68</a></td></tr></table></div></div> +<td><a href="./xref/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.html#L88">88</a></td></tr></table></div></div> </td> </tr> </table> Modified: websites/production/commons/content/proper/commons-release-plugin/project-info.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/project-info.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/project-info.html Mon Mar 5 17:50:33 2018 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Project Information</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> Modified: websites/production/commons/content/proper/commons-release-plugin/project-reports.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/project-reports.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/project-reports.html Mon Mar 5 17:50:33 2018 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Generated Reports</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> Modified: websites/production/commons/content/proper/commons-release-plugin/project-summary.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/project-summary.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/project-summary.html Mon Mar 5 17:50:33 2018 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Project Summary</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -291,7 +291,7 @@ <td>commons-release-plugin</td></tr> <tr class="b"> <td>Version</td> -<td>1.1-SNAPSHOT</td></tr> +<td>1.1</td></tr> <tr class="a"> <td>Type</td> <td>maven-plugin</td></tr> Modified: websites/production/commons/content/proper/commons-release-plugin/rat-report.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/rat-report.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/rat-report.html Mon Mar 5 17:50:33 2018 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Rat (Release Audit Tool) results</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -269,14 +269,14 @@ ***************************************************** Summary ------- -Generated at: 2018-01-16T20:41:37-05:00 +Generated at: 2018-03-05T12:50:07-05:00 Notes: 5 Binaries: 2 Archives: 2 -Standards: 35 +Standards: 38 -Apache Licensed: 35 +Apache Licensed: 38 Generated Documents: 0 JavaDocs are generated, thus a license header is optional. @@ -307,10 +307,13 @@ Archives: N LICENSE.txt AL .travis.yml AL src/test/resources/mojos/compress-site/example-site/index.html + AL src/test/resources/mojos/compress-site/compress-site-disabled.xml AL src/test/resources/mojos/compress-site/compress-site-failure.xml AL src/test/resources/mojos/compress-site/compress-site.xml N src/test/resources/mojos/stage-distributions/RELEASE-NOTES.txt + AL src/test/resources/mojos/stage-distributions/stage-distributions-disabled.xml AL src/test/resources/mojos/stage-distributions/stage-distributions.xml + AL src/test/resources/mojos/detach-distributions/detach-distributions-disabled.xml A src/test/resources/mojos/detach-distributions/target/mockAttachedZip.zip A src/test/resources/mojos/detach-distributions/target/mockAttachedTar.tar.gz AL src/test/resources/mojos/detach-distributions/target/mockAttachedFile.html Modified: websites/production/commons/content/proper/commons-release-plugin/release-history.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/release-history.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/release-history.html Mon Mar 5 17:50:33 2018 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -8,7 +8,7 @@ <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Commons Documentation Team" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Home</title> @@ -36,8 +36,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -221,6 +221,15 @@ <tr class="b"> +<td>1.1</td> +<td>2-28-2018</td> +<td>7.0</td> +<td><a href="javadocs/api-1.1/">api-1.1</a></td> +<td><a href="release-notes/RELEASE-NOTES-1.1.txt">release notes for 1.1</a></td> + </tr> + +<tr class="a"> + <td>1.0</td> <td>1-10-2018</td> <td>7.0</td> Added: websites/production/commons/content/proper/commons-release-plugin/release-notes/RELEASE-NOTES-1.1.txt ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/release-notes/RELEASE-NOTES-1.1.txt (added) +++ websites/production/commons/content/proper/commons-release-plugin/release-notes/RELEASE-NOTES-1.1.txt Mon Mar 5 17:50:33 2018 @@ -0,0 +1,56 @@ + Apache Commons Release Plugin + Version 1.1 + Release Notes + +INTRODUCTION +============ +This document contains the release notes for the 1.0 version of Apache commons-release-plgin. +The commons-release-plugin is meant to be a mechanism for automating The Apache Commons Project's +release process. + +The Apache Commons Release Plugin is a collection of Java based Maven mojos for Apache Commons +Release process. These mojos are intended to be used as a collection of steps to be strung +together for the purpose of removing the manual steps required to produce an Apache Commons Release. + + +Changes in this version include: + +NEW FEATURES +============ + +o COMMONSSITE-98: Making the project more multi-module compatible + +FIXED BUGS +========== + +o COMMONSSITE-104: Sha1 signature files now reflect actual signatures. +o COMMONSSITE-102: Commons Release Plugin doesn't work with Commons Release Plugin +o COMMONSSITE-101: Make -Dcommons.release.dryRun=true our commit toggle + + + +============================================================================= + + Apache Commons Release Plugin + Version 1.0 + Release Notes + +NEW FEATURES +============ + +o COMMONSSITE-96: Create commons-release-component project skeleton. +o COMMONSSITE-99: Prepare Standard Build integrations, travis, jacoco, checkstyle, etc. +o COMMONSSITE-97: Documentation for commons-release-plugin. + + +Historical list of changes: http://commons.apache.org/release-plugin/changes-report.html + +For complete information on the Apache commons-release-plugin, including instructions on how +to submit bug reports, patches, or suggestions for improvement, see the Apache commons-release-plugin's +website: + +http://commons.apache.org/release-plugin/ + +Have fun! +-Apache Commons Release Plugin team + Modified: websites/production/commons/content/proper/commons-release-plugin/source-repository.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/source-repository.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/source-repository.html Mon Mar 5 17:50:33 2018 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Source Code Management</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> Modified: websites/production/commons/content/proper/commons-release-plugin/taglist.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/taglist.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/taglist.html Mon Mar 5 17:50:33 2018 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Tag List report</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> Modified: websites/production/commons/content/proper/commons-release-plugin/team-list.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/team-list.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/team-list.html Mon Mar 5 17:50:33 2018 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 16 January 2018 + | Generated by Apache Maven Doxia at 05 March 2018 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180116" /> + <meta name="Date-Revision-yyyymmdd" content="20180305" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Project Team</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 16 January 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li> + <li id="publishDate">Last Published: 05 March 2018</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.1</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -267,7 +267,13 @@ <td><a name="chtompki"></a>chtompki</td> <td>Rob Tompkins</td> <td><a class="externalLink" href="mailto:[email protected]">[email protected]</a></td> -<td>-5</td></tr></table></div> +<td>-5</td></tr> +<tr class="a"> +<td><img src="http://www.gravatar.com/avatar/ebb1af3a9dd9a3dd5f169d9c698f9f21?d=mm&s=60" alt="" /></td> +<td><a name="ggregory"></a>ggregory</td> +<td>Gary Gregory</td> +<td><a class="externalLink" href="mailto:[email protected]">[email protected]</a></td> +<td>-6</td></tr></table></div> <div class="section"> <h3><a name="Contributors"></a>Contributors</h3><a name="Contributors"></a> <p>There are no contributors listed for this project. Please check back again later.</p></div></div> Modified: websites/production/commons/content/proper/commons-release-plugin/xref-test/allclasses-frame.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/xref-test/allclasses-frame.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/xref-test/allclasses-frame.html Mon Mar 5 17:50:33 2018 @@ -21,10 +21,10 @@ <a href="org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojoTest.html" target="classFrame">CommonsSiteCompressionMojoTest</a> </li> <li> - <a href="org/apache/commons/release/plugin/stubs/DistributionDetachmentProjectStub.html" target="classFrame">DistributionDetachmentProjectStub</a> + <a href="org/apache/commons/release/plugin/stubs/DistributionDetachmentProjectStub.html" target="classFrame">DistributionDetachmentArtifactStub</a> </li> <li> - <a href="org/apache/commons/release/plugin/stubs/DistributionDetachmentProjectStub.html" target="classFrame">DistributionDetatchmentArtifactStub</a> + <a href="org/apache/commons/release/plugin/stubs/DistributionDetachmentProjectStub.html" target="classFrame">DistributionDetachmentProjectStub</a> </li> </ul> Modified: websites/production/commons/content/proper/commons-release-plugin/xref-test/index.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/xref-test/index.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/xref-test/index.html Mon Mar 5 17:50:33 2018 @@ -4,7 +4,7 @@ <!-- this is a JXR report set --> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> - <title>Apache Commons Release Plugin 1.1-SNAPSHOT Reference</title> + <title>Apache Commons Release Plugin 1.1 Reference</title> </head> <frameset cols="20%,80%"> <frameset rows="30%,70%"> Modified: websites/production/commons/content/proper/commons-release-plugin/xref-test/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/xref-test/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/xref-test/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.html Mon Mar 5 17:50:33 2018 @@ -25,62 +25,85 @@ <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.junit.Rule; -<a class="jxr_linenumber" name="L21" href="#L21">21</a> <strong class="jxr_keyword">import</strong> org.junit.Test; -<a class="jxr_linenumber" name="L22" href="#L22">22</a> -<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> java.io.File; +<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> <strong class="jxr_keyword">static</strong> junit.framework.TestCase.assertTrue; -<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertFalse; -<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertNotNull; -<a class="jxr_linenumber" name="L28" href="#L28">28</a> -<a class="jxr_linenumber" name="L29" href="#L29">29</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="L30" href="#L30">30</a> <em class="jxr_javadoccomment"> * Unit tests for {@link CommonsDistributionDetachmentMojo}.</em> -<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"> * @author chtompki</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> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.html">CommonsDistributionDetachmentMojoTest</a> { -<a class="jxr_linenumber" name="L35" href="#L35">35</a> -<a class="jxr_linenumber" name="L36" href="#L36">36</a> @Rule -<a class="jxr_linenumber" name="L37" href="#L37">37</a> <strong class="jxr_keyword">public</strong> MojoRule rule = <strong class="jxr_keyword">new</strong> MojoRule() { -<a class="jxr_linenumber" name="L38" href="#L38">38</a> @Override -<a class="jxr_linenumber" name="L39" href="#L39">39</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="L40" href="#L40">40</a> } -<a class="jxr_linenumber" name="L41" href="#L41">41</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 CommonsDistributionDetachmentMojo}.</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"> */</em> +<a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.html">CommonsDistributionDetachmentMojoTest</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> after() { +<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> } -<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> <strong class="jxr_keyword">private</strong> CommonsDistributionDetachmentMojo mojo; -<a class="jxr_linenumber" name="L48" href="#L48">48</a> -<a class="jxr_linenumber" name="L49" href="#L49">49</a> @Test -<a class="jxr_linenumber" name="L50" href="#L50">50</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="L51" href="#L51">51</a> File testPom = <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="L52" href="#L52">52</a> assertNotNull(testPom); -<a class="jxr_linenumber" name="L53" href="#L53">53</a> assertTrue(testPom.exists()); -<a class="jxr_linenumber" name="L54" href="#L54">54</a> mojo = (CommonsDistributionDetachmentMojo) rule.lookupMojo(<span class="jxr_string">"detach-distributions"</span>, testPom); -<a class="jxr_linenumber" name="L55" href="#L55">55</a> mojo.execute(); -<a class="jxr_linenumber" name="L56" href="#L56">56</a> File detachedTarGz = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"target/commons-release-plugin/mockAttachedTar.tar.gz"</span>); -<a class="jxr_linenumber" name="L57" href="#L57">57</a> File detachedTarGzAsc = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"target/commons-release-plugin/mockAttachedTar.tar.gz.asc"</span>); -<a class="jxr_linenumber" name="L58" href="#L58">58</a> File detachedTarMd5 = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"target/commons-release-plugin/mockAttachedTar.tar.gz.md5"</span>); -<a class="jxr_linenumber" name="L59" href="#L59">59</a> File detachedTarGzSha1 = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"target/commons-release-plugin/mockAttachedTar.tar.gz.sha1"</span>); -<a class="jxr_linenumber" name="L60" href="#L60">60</a> File detachedZip = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"target/commons-release-plugin/mockAttachedZip.zip"</span>); -<a class="jxr_linenumber" name="L61" href="#L61">61</a> File detachedZipAsc = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"target/commons-release-plugin/mockAttachedZip.zip.asc"</span>); -<a class="jxr_linenumber" name="L62" href="#L62">62</a> File detachedZipMd5 = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"target/commons-release-plugin/mockAttachedZip.zip.md5"</span>); -<a class="jxr_linenumber" name="L63" href="#L63">63</a> File detachedZipSha1 = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"target/commons-release-plugin/mockAttachedZip.zip.sha1"</span>); -<a class="jxr_linenumber" name="L64" href="#L64">64</a> File notDetatchedMockAttachedFile = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"target/commons-release-plugin/mockAttachedFile.html"</span>); -<a class="jxr_linenumber" name="L65" href="#L65">65</a> assertTrue(detachedTarGz.exists()); -<a class="jxr_linenumber" name="L66" href="#L66">66</a> assertTrue(detachedTarGzAsc.exists()); -<a class="jxr_linenumber" name="L67" href="#L67">67</a> assertTrue(detachedTarMd5.exists()); -<a class="jxr_linenumber" name="L68" href="#L68">68</a> assertTrue(detachedTarGzSha1.exists()); -<a class="jxr_linenumber" name="L69" href="#L69">69</a> assertTrue(detachedZip.exists()); -<a class="jxr_linenumber" name="L70" href="#L70">70</a> assertTrue(detachedZipAsc.exists()); -<a class="jxr_linenumber" name="L71" href="#L71">71</a> assertTrue(detachedZipMd5.exists()); -<a class="jxr_linenumber" name="L72" href="#L72">72</a> assertTrue(detachedZipSha1.exists()); -<a class="jxr_linenumber" name="L73" href="#L73">73</a> assertFalse(notDetatchedMockAttachedFile.exists()); -<a class="jxr_linenumber" name="L74" href="#L74">74</a> } -<a class="jxr_linenumber" name="L75" href="#L75">75</a> } +<a class="jxr_linenumber" name="L45" href="#L45">45</a> +<a class="jxr_linenumber" name="L46" href="#L46">46</a> @Override +<a class="jxr_linenumber" name="L47" href="#L47">47</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> after() { +<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> +<a class="jxr_linenumber" name="L51" href="#L51">51</a> <strong class="jxr_keyword">private</strong> CommonsDistributionDetachmentMojo mojo; +<a class="jxr_linenumber" name="L52" href="#L52">52</a> +<a class="jxr_linenumber" name="L53" href="#L53">53</a> @Before +<a class="jxr_linenumber" name="L54" href="#L54">54</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="L55" href="#L55">55</a> File testingDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH); +<a class="jxr_linenumber" name="L56" href="#L56">56</a> <strong class="jxr_keyword">if</strong> (testingDirectory.exists()) { +<a class="jxr_linenumber" name="L57" href="#L57">57</a> FileUtils.deleteDirectory(testingDirectory); +<a class="jxr_linenumber" name="L58" href="#L58">58</a> } +<a class="jxr_linenumber" name="L59" href="#L59">59</a> } +<a class="jxr_linenumber" name="L60" href="#L60">60</a> +<a class="jxr_linenumber" name="L61" href="#L61">61</a> @Test +<a class="jxr_linenumber" name="L62" href="#L62">62</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="L63" href="#L63">63</a> File testPom = <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="L64" href="#L64">64</a> assertNotNull(testPom); +<a class="jxr_linenumber" name="L65" href="#L65">65</a> assertTrue(testPom.exists()); +<a class="jxr_linenumber" name="L66" href="#L66">66</a> mojo = (CommonsDistributionDetachmentMojo) rule.lookupMojo(<span class="jxr_string">"detach-distributions"</span>, testPom); +<a class="jxr_linenumber" name="L67" href="#L67">67</a> mojo.execute(); +<a class="jxr_linenumber" name="L68" href="#L68">68</a> File detachedTarGz = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/mockAttachedTar.tar.gz"</span>); +<a class="jxr_linenumber" name="L69" href="#L69">69</a> File detachedTarGzAsc = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/mockAttachedTar.tar.gz.asc"</span>); +<a class="jxr_linenumber" name="L70" href="#L70">70</a> File detachedTarMd5 = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/mockAttachedTar.tar.gz.md5"</span>); +<a class="jxr_linenumber" name="L71" href="#L71">71</a> File detachedTarGzSha1 = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/mockAttachedTar.tar.gz.sha1"</span>); +<a class="jxr_linenumber" name="L72" href="#L72">72</a> File detachedZip = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/mockAttachedZip.zip"</span>); +<a class="jxr_linenumber" name="L73" href="#L73">73</a> File detachedZipAsc = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/mockAttachedZip.zip.asc"</span>); +<a class="jxr_linenumber" name="L74" href="#L74">74</a> File detachedZipMd5 = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/mockAttachedZip.zip.md5"</span>); +<a class="jxr_linenumber" name="L75" href="#L75">75</a> File detachedZipSha1 = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/mockAttachedZip.zip.sha1"</span>); +<a class="jxr_linenumber" name="L76" href="#L76">76</a> File notDetachedMockAttachedFile = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/mockAttachedFile.html"</span>); +<a class="jxr_linenumber" name="L77" href="#L77">77</a> assertTrue(detachedTarGz.exists()); +<a class="jxr_linenumber" name="L78" href="#L78">78</a> assertTrue(detachedTarGzAsc.exists()); +<a class="jxr_linenumber" name="L79" href="#L79">79</a> assertTrue(detachedTarMd5.exists()); +<a class="jxr_linenumber" name="L80" href="#L80">80</a> assertTrue(detachedTarGzSha1.exists()); +<a class="jxr_linenumber" name="L81" href="#L81">81</a> assertTrue(detachedZip.exists()); +<a class="jxr_linenumber" name="L82" href="#L82">82</a> assertTrue(detachedZipAsc.exists()); +<a class="jxr_linenumber" name="L83" href="#L83">83</a> assertTrue(detachedZipMd5.exists()); +<a class="jxr_linenumber" name="L84" href="#L84">84</a> assertTrue(detachedZipSha1.exists()); +<a class="jxr_linenumber" name="L85" href="#L85">85</a> assertFalse(notDetachedMockAttachedFile.exists()); +<a class="jxr_linenumber" name="L86" href="#L86">86</a> } +<a class="jxr_linenumber" name="L87" href="#L87">87</a> +<a class="jxr_linenumber" name="L88" href="#L88">88</a> @Test +<a class="jxr_linenumber" name="L89" href="#L89">89</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="L90" href="#L90">90</a> File testPom = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"src/test/resources/mojos/detach-distributions/detach-distributions-disabled.xml"</span>); +<a class="jxr_linenumber" name="L91" href="#L91">91</a> assertNotNull(testPom); +<a class="jxr_linenumber" name="L92" href="#L92">92</a> assertTrue(testPom.exists()); +<a class="jxr_linenumber" name="L93" href="#L93">93</a> mojo = (CommonsDistributionDetachmentMojo) rule.lookupMojo(<span class="jxr_string">"detach-distributions"</span>, testPom); +<a class="jxr_linenumber" name="L94" href="#L94">94</a> mojo.execute(); +<a class="jxr_linenumber" name="L95" href="#L95">95</a> File testingDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH); +<a class="jxr_linenumber" name="L96" href="#L96">96</a> assertFalse(testingDirectory.exists()); +<a class="jxr_linenumber" name="L97" href="#L97">97</a> } +<a class="jxr_linenumber" name="L98" href="#L98">98</a> } </pre> <hr/> <div id="footer">Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> Modified: websites/production/commons/content/proper/commons-release-plugin/xref-test/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/xref-test/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/xref-test/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.html Mon Mar 5 17:50:33 2018 @@ -25,55 +25,79 @@ <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.junit.Rule; -<a class="jxr_linenumber" name="L21" href="#L21">21</a> <strong class="jxr_keyword">import</strong> org.junit.Test; -<a class="jxr_linenumber" name="L22" href="#L22">22</a> -<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> java.io.File; +<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> <strong class="jxr_keyword">static</strong> junit.framework.TestCase.assertTrue; -<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertNotNull; -<a class="jxr_linenumber" name="L27" href="#L27">27</a> -<a class="jxr_linenumber" name="L28" href="#L28">28</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="L29" href="#L29">29</a> <em class="jxr_javadoccomment"> * Unit tests for {@link CommonsDistributionStagingMojo}.</em> -<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"> * @author chtompki</em> -<a class="jxr_linenumber" name="L32" href="#L32">32</a> <em class="jxr_javadoccomment"> * @since 1.0.</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> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.html">CommonsDistributionStagingMojoTest</a> { -<a class="jxr_linenumber" name="L35" href="#L35">35</a> -<a class="jxr_linenumber" name="L36" href="#L36">36</a> @Rule -<a class="jxr_linenumber" name="L37" href="#L37">37</a> <strong class="jxr_keyword">public</strong> MojoRule rule = <strong class="jxr_keyword">new</strong> MojoRule() { -<a class="jxr_linenumber" name="L38" href="#L38">38</a> @Override -<a class="jxr_linenumber" name="L39" href="#L39">39</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="L40" href="#L40">40</a> } -<a class="jxr_linenumber" name="L41" href="#L41">41</a> -<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> after() { -<a class="jxr_linenumber" name="L44" href="#L44">44</a> } -<a class="jxr_linenumber" name="L45" href="#L45">45</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 href="../../../../../../org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.html">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> } <a class="jxr_linenumber" name="L46" href="#L46">46</a> -<a class="jxr_linenumber" name="L47" href="#L47">47</a> <strong class="jxr_keyword">private</strong> CommonsDistributionDetachmentMojo detatchmentMojo; -<a class="jxr_linenumber" name="L48" href="#L48">48</a> -<a class="jxr_linenumber" name="L49" href="#L49">49</a> <strong class="jxr_keyword">private</strong> CommonsDistributionStagingMojo mojoForTest; -<a class="jxr_linenumber" name="L50" href="#L50">50</a> -<a class="jxr_linenumber" name="L51" href="#L51">51</a> @Test -<a class="jxr_linenumber" name="L52" href="#L52">52</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="L53" href="#L53">53</a> 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="L54" href="#L54">54</a> assertNotNull(testPom); -<a class="jxr_linenumber" name="L55" href="#L55">55</a> assertTrue(testPom.exists()); -<a class="jxr_linenumber" name="L56" href="#L56">56</a> 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="L57" href="#L57">57</a> assertNotNull(detachmentPom); -<a class="jxr_linenumber" name="L58" href="#L58">58</a> assertTrue(detachmentPom.exists()); -<a class="jxr_linenumber" name="L59" href="#L59">59</a> mojoForTest = (CommonsDistributionStagingMojo) rule.lookupMojo(<span class="jxr_string">"stage-distributions"</span>, testPom); -<a class="jxr_linenumber" name="L60" href="#L60">60</a> detatchmentMojo = (CommonsDistributionDetachmentMojo) rule.lookupMojo(<span class="jxr_string">"detach-distributions"</span>, detachmentPom); -<a class="jxr_linenumber" name="L61" href="#L61">61</a> detatchmentMojo.execute(); -<a class="jxr_linenumber" name="L62" href="#L62">62</a> 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="L63" href="#L63">63</a> mojoForTest.setBasedir(releaseNotesBasedir); -<a class="jxr_linenumber" name="L64" href="#L64">64</a> mojoForTest.execute(); -<a class="jxr_linenumber" name="L65" href="#L65">65</a> File targetScmDirectory = <strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"target/commons-release-plugin/scm"</span>); -<a class="jxr_linenumber" name="L66" href="#L66">66</a> assertTrue(targetScmDirectory.exists()); -<a class="jxr_linenumber" name="L67" href="#L67">67</a> } -<a class="jxr_linenumber" name="L68" href="#L68">68</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> } +<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> <strong class="jxr_keyword">private</strong> CommonsDistributionDetachmentMojo detachmentMojo; +<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> CommonsDistributionStagingMojo mojoForTest; +<a class="jxr_linenumber" name="L55" href="#L55">55</a> +<a class="jxr_linenumber" name="L56" href="#L56">56</a> @Before +<a class="jxr_linenumber" name="L57" href="#L57">57</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="L58" href="#L58">58</a> File testingDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH); +<a class="jxr_linenumber" name="L59" href="#L59">59</a> <strong class="jxr_keyword">if</strong> (testingDirectory.exists()) { +<a class="jxr_linenumber" name="L60" href="#L60">60</a> FileUtils.deleteDirectory(testingDirectory); +<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> +<a class="jxr_linenumber" name="L64" href="#L64">64</a> @Test +<a class="jxr_linenumber" name="L65" href="#L65">65</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="L66" href="#L66">66</a> 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="L67" href="#L67">67</a> assertNotNull(testPom); +<a class="jxr_linenumber" name="L68" href="#L68">68</a> assertTrue(testPom.exists()); +<a class="jxr_linenumber" name="L69" href="#L69">69</a> 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="L70" href="#L70">70</a> assertNotNull(detachmentPom); +<a class="jxr_linenumber" name="L71" href="#L71">71</a> assertTrue(detachmentPom.exists()); +<a class="jxr_linenumber" name="L72" href="#L72">72</a> mojoForTest = (CommonsDistributionStagingMojo) rule.lookupMojo(<span class="jxr_string">"stage-distributions"</span>, testPom); +<a class="jxr_linenumber" name="L73" href="#L73">73</a> detachmentMojo = (CommonsDistributionDetachmentMojo) rule.lookupMojo(<span class="jxr_string">"detach-distributions"</span>, detachmentPom); +<a class="jxr_linenumber" name="L74" href="#L74">74</a> detachmentMojo.execute(); +<a class="jxr_linenumber" name="L75" href="#L75">75</a> 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="L76" href="#L76">76</a> mojoForTest.setBasedir(releaseNotesBasedir); +<a class="jxr_linenumber" name="L77" href="#L77">77</a> mojoForTest.execute(); +<a class="jxr_linenumber" name="L78" href="#L78">78</a> File targetScmDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + <span class="jxr_string">"/scm"</span>); +<a class="jxr_linenumber" name="L79" href="#L79">79</a> assertTrue(targetScmDirectory.exists()); +<a class="jxr_linenumber" name="L80" href="#L80">80</a> } +<a class="jxr_linenumber" name="L81" href="#L81">81</a> +<a class="jxr_linenumber" name="L82" href="#L82">82</a> @Test +<a class="jxr_linenumber" name="L83" href="#L83">83</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="L84" href="#L84">84</a> 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="L85" href="#L85">85</a> assertNotNull(testPom); +<a class="jxr_linenumber" name="L86" href="#L86">86</a> assertTrue(testPom.exists()); +<a class="jxr_linenumber" name="L87" href="#L87">87</a> mojoForTest = (CommonsDistributionStagingMojo) rule.lookupMojo(<span class="jxr_string">"stage-distributions"</span>, testPom); +<a class="jxr_linenumber" name="L88" href="#L88">88</a> mojoForTest.execute(); +<a class="jxr_linenumber" name="L89" href="#L89">89</a> File testingDirectory = <strong class="jxr_keyword">new</strong> File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH); +<a class="jxr_linenumber" name="L90" href="#L90">90</a> assertFalse(testingDirectory.exists()); +<a class="jxr_linenumber" name="L91" href="#L91">91</a> } +<a class="jxr_linenumber" name="L92" href="#L92">92</a> } </pre> <hr/> <div id="footer">Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
