Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/taglist.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/taglist.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/taglist.html Wed Apr 12 18:11:10 2023 @@ -2,7 +2,7 @@ <!-- - | Generated by Apache Maven Doxia Site Renderer 1.11.1 from org.codehaus.mojo:taglist-maven-plugin:3.0.0:taglist at 2022-08-20 + | Generated by Apache Maven Doxia Site Renderer 1.11.1 from org.codehaus.mojo:taglist-maven-plugin:3.0.0:taglist at 2023-04-12 | Rendered using Apache Maven Fluido Skin 1.11.1 --> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> @@ -49,8 +49,8 @@ <li class=""><a href="../index.html" title="Shared Components">Shared Components</a><span class="divider">/</span></li> <li class=""><a href="index.html" title="Apache Maven Dependency Analyzer">Apache Maven Dependency Analyzer</a><span class="divider">/</span></li> <li class="active ">Tag List report</li> - <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2022-08-20</li> - <li id="projectVersion" class="pull-right">Version: 1.13.0</li> + <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2023-04-12</li> + <li id="projectVersion" class="pull-right">Version: 1.13.1</li> </ul> </div> </header> @@ -78,7 +78,6 @@ <li><a href="xref-test/index.html" title="Test Source Xref"><span class="none"></span>Test Source Xref</a></li> <li class="active"><a><span class="none"></span>Tag List</a></li> <li><a href="apidocs/index.html" title="Javadoc"><span class="none"></span>Javadoc</a></li> - <li><a href="testapidocs/index.html" title="Test Javadoc"><span class="none"></span>Test Javadoc</a></li> </ul></li> <li class="nav-header">Maven Projects</li> <li><a href="../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li> @@ -144,10 +143,10 @@ <th>Line</th></tr> <tr class="b"> <td>ensure innerName is correct</td> -<td><a href="./xref-test/org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html#L217">217</a></td></tr> +<td><a href="./xref-test/org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html#L198">198</a></td></tr> <tr class="a"> <td>determine actual use of default values public void testVisitFieldWithValue() { }</td> -<td><a href="./xref-test/org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html#L245">245</a></td></tr></table></section></section> +<td><a href="./xref-test/org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html#L224">224</a></td></tr></table></section></section> </main> </div> </div> @@ -155,7 +154,7 @@ <footer> <div class="container-fluid"> <div class="row-fluid"> - <p>© 2002–2022 + <p>© 2002–2023 <a href="https://www.apache.org/">The Apache Software Foundation</a> </p> </div>
Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/team.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/team.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/team.html Wed Apr 12 18:11:10 2023 @@ -2,7 +2,7 @@ <!-- - | Generated by Apache Maven Doxia Site Renderer 1.11.1 from org.apache.maven.plugins:maven-project-info-reports-plugin:3.3.0:team at 2022-08-20 + | Generated by Apache Maven Doxia Site Renderer 1.11.1 from org.apache.maven.plugins:maven-project-info-reports-plugin:3.4.1:team at 2023-04-12 | Rendered using Apache Maven Fluido Skin 1.11.1 --> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> @@ -49,8 +49,8 @@ <li class=""><a href="../index.html" title="Shared Components">Shared Components</a><span class="divider">/</span></li> <li class=""><a href="index.html" title="Apache Maven Dependency Analyzer">Apache Maven Dependency Analyzer</a><span class="divider">/</span></li> <li class="active ">Project Team</li> - <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2022-08-20</li> - <li id="projectVersion" class="pull-right">Version: 1.13.0</li> + <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2023-04-12</li> + <li id="projectVersion" class="pull-right">Version: 1.13.1</li> </ul> </div> </header> @@ -236,6 +236,15 @@ <td>Europe/Paris</td> <td>-</td></tr> <tr class="a"> +<td align="left"><figure><img src="https://www.gravatar.com/avatar/29837f2f27fc887ad3e48390c2937e8f?d=mm&s=60" alt="" /></figure></td> +<td><a name="gnodet"></a>gnodet</td> +<td>Guillaume Nodet</td> +<td><a class="externalLink" href="mailto:gno...@apache.org">gno...@apache.org</a></td> +<td>Red Hat</td> +<td>PMC Member</td> +<td>Europe/Paris</td> +<td>-</td></tr> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/35b0cc47b5e6d602734c636082d630df?d=mm&s=60" alt="" /></figure></td> <td><a name="hboutemy"></a>hboutemy</td> <td>Hervé Boutemy</td> @@ -244,7 +253,7 @@ <td>PMC Member</td> <td>Europe/Paris</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/a52c0cfedf677c3dbf7ff1eaa4f3d8b4?d=mm&s=60" alt="" /></figure></td> <td><a name="ifedorenko"></a>ifedorenko</td> <td>Igor Fedorenko</td> @@ -253,7 +262,7 @@ <td>PMC Member</td> <td>-5</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/81f0dd51add422563de0b7ce828b0728?d=mm&s=60" alt="" /></figure></td> <td><a name="jvanzyl"></a>jvanzyl</td> <td>Jason van Zyl</td> @@ -262,7 +271,7 @@ <td>PMC Member</td> <td>-5</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/3c2ad6b6efb1c84d9ff60259f8c8ef95?d=mm&s=60" alt="" /></figure></td> <td><a name="krosenvold"></a>krosenvold</td> <td>Kristian Rosenvold</td> @@ -271,7 +280,7 @@ <td>PMC Member</td> <td>+1</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="mkleint"></a>mkleint</td> <td>Milos Kleint</td> @@ -280,7 +289,7 @@ <td>PMC Member</td> <td>-</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/bab29f762bea8e578505424443d8cd41?d=mm&s=60" alt="" /></figure></td> <td><a name="olamy"></a>olamy</td> <td>Olivier Lamy</td> @@ -289,7 +298,7 @@ <td>PMC Member</td> <td>Australia/Brisbane</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/f6caee604fc0ee8ffb030dcac691c9e3?d=mm&s=60" alt="" /></figure></td> <td><a name="michaelo"></a>michaelo</td> <td>Michael Osipov</td> @@ -298,7 +307,7 @@ <td>PMC Member</td> <td>Europe/Berlin</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/d035aeb839495240c58bbb03992ceda8?d=mm&s=60" alt="" /></figure></td> <td><a name="rfscholte"></a>rfscholte</td> <td>Robert Scholte</td> @@ -307,7 +316,7 @@ <td>PMC Member</td> <td>Europe/Amsterdam</td> <td>twitter=@rfscholte</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/5447780a4d31a6f20e28ee453a1f5b8d?d=mm&s=60" alt="" /></figure></td> <td><a name="rgoers"></a>rgoers</td> <td>Ralph Goers</td> @@ -316,7 +325,7 @@ <td>PMC Member</td> <td>-8</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/90cc13b765c79d2d55ca64388ea2bc5f?d=mm&s=60" alt="" /></figure></td> <td><a name="sjaranowski"></a>sjaranowski</td> <td>Slawomir Jaranowski</td> @@ -325,7 +334,7 @@ <td>PMC Member</td> <td>Europe/Warsaw</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/84b52fef91820858d5e18cc0363b3bbe?d=mm&s=60" alt="" /></figure></td> <td><a name="stephenc"></a>stephenc</td> <td>Stephen Connolly</td> @@ -334,7 +343,7 @@ <td>PMC Member</td> <td>0</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/28734d9ff3306a41efafa5b94d8eb163?d=mm&s=60" alt="" /></figure></td> <td><a name="struberg"></a>struberg</td> <td>Mark Struberg</td> @@ -343,7 +352,7 @@ <td>PMC Member</td> <td>-</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/feb64254400eb261c6ba03afadd092a3?d=mm&s=60" alt="" /></figure></td> <td><a name="tibordigana"></a>tibordigana</td> <td>Tibor Digaňa</td> @@ -352,7 +361,7 @@ <td>PMC Member</td> <td>Europe/Bratislava</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/6b3c87a9fd95fb1d0af16816a075224e?d=mm&s=60" alt="" /></figure></td> <td><a name="vsiveton"></a>vsiveton</td> <td>Vincent Siveton</td> @@ -361,7 +370,7 @@ <td>PMC Member</td> <td>-5</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/c662f616ca2c1b04d5ba7b96ca3b5171?d=mm&s=60" alt="" /></figure></td> <td><a name="wfay"></a>wfay</td> <td>Wayne Fay</td> @@ -370,7 +379,7 @@ <td>PMC Member</td> <td>-6</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/ea3935a08a086d01b5ee12fb2d6e923a?d=mm&s=60" alt="" /></figure></td> <td><a name="adangel"></a>adangel</td> <td>Andreas Dangel</td> @@ -379,7 +388,7 @@ <td>Committer</td> <td>Europe/Berlin</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/bb362cf0ab5e1d0068665a9d9f0167e7?d=mm&s=60" alt="" /></figure></td> <td><a name="bdemers"></a>bdemers</td> <td>Brian Demers</td> @@ -388,7 +397,7 @@ <td>Committer</td> <td>-5</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="bellingard"></a>bellingard</td> <td>Fabrice Bellingard</td> @@ -397,7 +406,7 @@ <td>Committer</td> <td>-</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/9a790b32ad665e9aa78988ba378250c1?d=mm&s=60" alt="" /></figure></td> <td><a name="bentmann"></a>bentmann</td> <td>Benjamin Bentmann</td> @@ -406,7 +415,7 @@ <td>Committer</td> <td>+1</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/456da78808527c596ccd30fba769dd6d?d=mm&s=60" alt="" /></figure></td> <td><a name="chrisgwarp"></a>chrisgwarp</td> <td>Chris Graham</td> @@ -415,7 +424,7 @@ <td>Committer</td> <td>Australia/Melbourne</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/be9859a805a76f3482204de9e95a7b6f?d=mm&s=60" alt="" /></figure></td> <td><a name="dantran"></a>dantran</td> <td>Dan Tran</td> @@ -424,7 +433,7 @@ <td>Committer</td> <td>-8</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/ea665d843e7e25fc1799a344fba022e0?d=mm&s=60" alt="" /></figure></td> <td><a name="dbradicich"></a>dbradicich</td> <td>Damian Bradicich</td> @@ -433,7 +442,7 @@ <td>Committer</td> <td>-5</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/1db61ec29963d4a77ef2275140144fd4?d=mm&s=60" alt="" /></figure></td> <td><a name="brett"></a>brett</td> <td>Brett Porter</td> @@ -442,7 +451,7 @@ <td>Committer</td> <td>+10</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/be211eb53b665c51eb3f2e421bdc77cb?d=mm&s=60" alt="" /></figure></td> <td><a name="dfabulich"></a>dfabulich</td> <td>Daniel Fabulich</td> @@ -451,7 +460,7 @@ <td>Committer</td> <td>-8</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/1f61c73e879b918d650c24e12b5a3b9f?d=mm&s=60" alt="" /></figure></td> <td><a name="eolivelli"></a>eolivelli</td> <td>Enrico Olivelli</td> @@ -460,7 +469,7 @@ <td>Committer</td> <td>Europe/Rome</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/50ba5fa66fe2067a20381b90845266ef?d=mm&s=60" alt="" /></figure></td> <td><a name="fgiust"></a>fgiust</td> <td>Fabrizio Giustina</td> @@ -469,15 +478,6 @@ <td>Committer</td> <td>+1</td> <td>-</td></tr> -<tr class="a"> -<td align="left"><figure><img src="https://www.gravatar.com/avatar/29837f2f27fc887ad3e48390c2937e8f?d=mm&s=60" alt="" /></figure></td> -<td><a name="gnodet"></a>gnodet</td> -<td>Guillaume Nodet</td> -<td><a class="externalLink" href="mailto:gno...@apache.org">gno...@apache.org</a></td> -<td>Red Hat</td> -<td>Committer</td> -<td>Europe/Paris</td> -<td>-</td></tr> <tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/785a1a564fbfc3a91478a886e9262eee?d=mm&s=60" alt="" /></figure></td> <td><a name="godin"></a>godin</td> @@ -515,6 +515,15 @@ <td>-</td> <td>-</td></tr> <tr class="b"> +<td align="left"><figure><img src="https://www.gravatar.com/avatar/3aedf60487a104a09251c580d64fafec?d=mm&s=60" alt="" /></figure></td> +<td><a name="kwin"></a>kwin</td> +<td>Konrad Windszus</td> +<td><a class="externalLink" href="mailto:k...@apache.org">k...@apache.org</a></td> +<td>Cognizant Netcentric</td> +<td>Committer</td> +<td>Europe/Berlin</td> +<td>-</td></tr> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/3b75b73e1b6507a257aa9f6910f5c030?d=mm&s=60" alt="" /></figure></td> <td><a name="ltheussl"></a>ltheussl</td> <td>Lukas Theussl</td> @@ -523,7 +532,7 @@ <td>Committer</td> <td>+1</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/7575e2568caf22d6613fc0c4c6653363?d=mm&s=60" alt="" /></figure></td> <td><a name="markh"></a>markh</td> <td>Mark Hobson</td> @@ -532,7 +541,7 @@ <td>Committer</td> <td>0</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/4d2493f7bfc80a760d9351a44c78fee3?d=mm&s=60" alt="" /></figure></td> <td><a name="martinkanters"></a>martinkanters</td> <td>Martin Kanters</td> @@ -541,7 +550,7 @@ <td>Committer</td> <td>Europe/Amsterdam</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/c10f4d927ec131d4c95fdc7b24929a80?d=mm&s=60" alt="" /></figure></td> <td><a name="mthmulders"></a>mthmulders</td> <td>Maarten Mulders</td> @@ -550,7 +559,7 @@ <td>Committer</td> <td>Europe/Amsterdam</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="mauro"></a>mauro</td> <td>Mauro Talevi</td> @@ -559,7 +568,7 @@ <td>Committer</td> <td>-</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/f1d16806fc23bffc6b7fbdefba6441b2?d=mm&s=60" alt="" /></figure></td> <td><a name="mfriedenhagen"></a>mfriedenhagen</td> <td>Mirko Friedenhagen</td> @@ -568,7 +577,7 @@ <td>Committer</td> <td>+1</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/770cc58fdbd81a203d965faf49e30752?d=mm&s=60" alt="" /></figure></td> <td><a name="mmoser"></a>mmoser</td> <td>Manfred Moser</td> @@ -577,7 +586,7 @@ <td>Committer</td> <td>-8</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="nicolas"></a>nicolas</td> <td>Nicolas de Loof</td> @@ -586,7 +595,7 @@ <td>Committer</td> <td>-</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="oching"></a>oching</td> <td>Maria Odea B. Ching</td> @@ -595,7 +604,7 @@ <td>Committer</td> <td>-</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/caf8be8931e2b7a13d386a7d05053714?d=mm&s=60" alt="" /></figure></td> <td><a name="pgier"></a>pgier</td> <td>Paul Gier</td> @@ -604,7 +613,7 @@ <td>Committer</td> <td>-6</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/7fd7c636a4868a5672430eb4ea359e9e?d=mm&s=60" alt="" /></figure></td> <td><a name="ptahchiev"></a>ptahchiev</td> <td>Petar Tahchiev</td> @@ -613,7 +622,7 @@ <td>Committer</td> <td>+2</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/841c8ca525fe0dad19cb0dd2f459364d?d=mm&s=60" alt="" /></figure></td> <td><a name="rafale"></a>rafale</td> <td>Raphaël Piéroni</td> @@ -622,7 +631,7 @@ <td>Committer</td> <td>+1</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/a7b855d54a93692cc35fb18bbc6c9d9b?d=mm&s=60" alt="" /></figure></td> <td><a name="schulte"></a>schulte</td> <td>Christian Schulte</td> @@ -631,7 +640,7 @@ <td>Committer</td> <td>Europe/Berlin</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/6cf6cca56375bcb9b2ec951ab714039b?d=mm&s=60" alt="" /></figure></td> <td><a name="snicoll"></a>snicoll</td> <td>Stephane Nicoll</td> @@ -640,7 +649,7 @@ <td>Committer</td> <td>+1</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/2c27249f3e6df269751ee1c5d74c7d2e?d=mm&s=60" alt="" /></figure></td> <td><a name="simonetripodi"></a>simonetripodi</td> <td>Simone Tripodi</td> @@ -649,7 +658,7 @@ <td>Committer</td> <td>+1</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/1bed2b4af6b88dca9d023b8d1d061753?d=mm&s=60" alt="" /></figure></td> <td><a name="sor"></a>sor</td> <td>Christian Stein</td> @@ -658,7 +667,7 @@ <td>Committer</td> <td>Europe/Berlin</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/2b5aa3653c59f40a08f2a314c04aa854?d=mm&s=60" alt="" /></figure></td> <td><a name="tchemit"></a>tchemit</td> <td>Tony Chemit</td> @@ -667,7 +676,7 @@ <td>Committer</td> <td>Europe/Paris</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/187d7c84095d8fbd8a0731eebaaa30de?d=mm&s=60" alt="" /></figure></td> <td><a name="vmassol"></a>vmassol</td> <td>Vincent Massol</td> @@ -676,7 +685,7 @@ <td>Committer</td> <td>+1</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/89d44feb36e50e382410b6b797cfa812?d=mm&s=60" alt="" /></figure></td> <td><a name="slachiewicz"></a>slachiewicz</td> <td>Sylwester Lachiewicz</td> @@ -685,7 +694,7 @@ <td>Committer</td> <td>Europe/Warsaw</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/70b40da7f0f25f55f9812d21e85279b9?d=mm&s=60" alt="" /></figure></td> <td><a name="elharo"></a>elharo</td> <td>Elliotte Rusty Harold</td> @@ -694,7 +703,7 @@ <td>Committer</td> <td>America/New_York</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/cbe8a9133ef3337eb267252a06f649bf?d=mm&s=60" alt="" /></figure></td> <td><a name="agudian"></a>agudian</td> <td>Andreas Gudian</td> @@ -703,7 +712,7 @@ <td>Emeritus</td> <td>Europe/Berlin</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="aramirez"></a>aramirez</td> <td>Allan Q. Ramirez</td> @@ -712,7 +721,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="bayard"></a>bayard</td> <td>Henri Yandell</td> @@ -721,7 +730,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/6559d4b2de15cb1433fc13c34599e4c7?d=mm&s=60" alt="" /></figure></td> <td><a name="carlos"></a>carlos</td> <td>Carlos Sanchez</td> @@ -730,7 +739,7 @@ <td>Emeritus</td> <td>+1</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="chrisjs"></a>chrisjs</td> <td>Chris Stevenson</td> @@ -739,7 +748,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="dblevins"></a>dblevins</td> <td>David Blevins</td> @@ -748,7 +757,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="dlr"></a>dlr</td> <td>Daniel Rall</td> @@ -757,7 +766,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/89d1772a8f19085482a13decc709cda2?d=mm&s=60" alt="" /></figure></td> <td><a name="epunzalan"></a>epunzalan</td> <td>Edwin Punzalan</td> @@ -766,7 +775,7 @@ <td>Emeritus</td> <td>-8</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="felipeal"></a>felipeal</td> <td>Felipe Leme</td> @@ -775,7 +784,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/5eb06f355d82f3267f3db16c6359601e?d=mm&s=60" alt="" /></figure></td> <td><a name="jdcasey"></a>jdcasey</td> <td>John Casey</td> @@ -784,7 +793,7 @@ <td>Emeritus</td> <td>-6</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/e685ce2ea401d7c31344b4003faefff5?d=mm&s=60" alt="" /></figure></td> <td><a name="jmcconnell"></a>jmcconnell</td> <td>Jesse McConnell</td> @@ -793,7 +802,7 @@ <td>Emeritus</td> <td>-6</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/38f7796e51a469f8efc08de2d88fa335?d=mm&s=60" alt="" /></figure></td> <td><a name="joakime"></a>joakime</td> <td>Joakim Erdfelt</td> @@ -802,7 +811,7 @@ <td>Emeritus</td> <td>-5</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/e3d64fc9947612977757ad096b492b56?d=mm&s=60" alt="" /></figure></td> <td><a name="jruiz"></a>jruiz</td> <td>Johnny Ruiz III</td> @@ -811,7 +820,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="jstrachan"></a>jstrachan</td> <td>James Strachan</td> @@ -820,7 +829,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/b38a3be83226b10b399985496c058e4c?d=mm&s=60" alt="" /></figure></td> <td><a name="jtolentino"></a>jtolentino</td> <td>Ernesto Tolentino Jr.</td> @@ -829,7 +838,7 @@ <td>Emeritus</td> <td>+8</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/51c5516f058929cbdca03b0319e61bf8?d=mm&s=60" alt="" /></figure></td> <td><a name="kenney"></a>kenney</td> <td>Kenney Westerhof</td> @@ -838,7 +847,7 @@ <td>Emeritus</td> <td>+1</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/af54a0871600db7fbdbb5c558a6e29a3?d=mm&s=60" alt="" /></figure></td> <td><a name="mperham"></a>mperham</td> <td>Mike Perham</td> @@ -847,7 +856,7 @@ <td>Emeritus</td> <td>-6</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="ogusakov"></a>ogusakov</td> <td>Oleg Gusakov</td> @@ -856,7 +865,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/16f83496d57ffb2fb73e6219c1537d39?d=mm&s=60" alt="" /></figure></td> <td><a name="pschneider"></a>pschneider</td> <td>Patrick Schneider</td> @@ -865,7 +874,7 @@ <td>Emeritus</td> <td>-6</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="rinku"></a>rinku</td> <td>Rahul Thakur</td> @@ -874,7 +883,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="shinobu"></a>shinobu</td> <td>Shinobu Kuwai</td> @@ -883,7 +892,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/00000000000000000000000000000000?d=blank&f=y&s=60" alt="" /></figure></td> <td><a name="smorgrav"></a>smorgrav</td> <td>Torbjorn Eikli Smorgrav</td> @@ -892,7 +901,7 @@ <td>Emeritus</td> <td>-</td> <td>-</td></tr> -<tr class="b"> +<tr class="a"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/565f00b7f179682b6ab1327e39833eba?d=mm&s=60" alt="" /></figure></td> <td><a name="trygvis"></a>trygvis</td> <td>Trygve Laugstol</td> @@ -901,7 +910,7 @@ <td>Emeritus</td> <td>+1</td> <td>-</td></tr> -<tr class="a"> +<tr class="b"> <td align="left"><figure><img src="https://www.gravatar.com/avatar/cc9f81ff2bf74ede3e0a80982acf832e?d=mm&s=60" alt="" /></figure></td> <td><a name="wsmoak"></a>wsmoak</td> <td>Wendy Smoak</td> @@ -919,7 +928,7 @@ <footer> <div class="container-fluid"> <div class="row-fluid"> - <p>© 2002–2022 + <p>© 2002–2023 <a href="https://www.apache.org/">The Apache Software Foundation</a> </p> </div> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/allclasses-frame.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/allclasses-frame.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/allclasses-frame.html Wed Apr 12 18:11:10 2023 @@ -11,20 +11,20 @@ <h1 class="bar">All Classes</h1> <div class="indexContainer"> <ul> - <li><a href="org/apache/maven/shared/dependency/analyzer/asm/ASMDependencyAnalyzerTest.html#ASMDependencyAnalyzerTest" target="classFrame">ASMDependencyAnalyzerTest</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/testcases/ArrayCases.html#ArrayCases" target="classFrame">ArrayCases</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html#ClassFileVisitorUtilsTest" target="classFrame">ClassFileVisitorUtilsTest</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html#ClassFileVisitorUtilsTest.MockVisitor" target="classFrame">ClassFileVisitorUtilsTest.MockVisitor</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/CollectorClassFileVisitorTest.html#CollectorClassFileVisitorTest" target="classFrame">CollectorClassFileVisitorTest</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/DefaultClassAnalyzerTest.html#DefaultClassAnalyzerTest" target="classFrame">DefaultClassAnalyzerTest</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html#DependencyVisitorTest" target="classFrame">DependencyVisitorTest</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html#DependencyVisitorTest.MockAttribute" target="classFrame">DependencyVisitorTest.MockAttribute</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/testcases/InnerClassCase.html#InnerClassCase" target="classFrame">InnerClassCase</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/testcases/MethodHandleCases.html#MethodHandleCases" target="classFrame">MethodHandleCases</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysisTest.html#ProjectDependencyAnalysisTest" target="classFrame">ProjectDependencyAnalysisTest</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalyzerExceptionTest.html#ProjectDependencyAnalyzerExceptionTest" target="classFrame">ProjectDependencyAnalyzerExceptionTest</a></li> - <li><a href="org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html#ResultCollectorTest" target="classFrame">ResultCollectorTest</a></li> - </ul> + <li><a href="org/apache/maven/shared/dependency/analyzer/asm/ASMDependencyAnalyzerTest.html#ASMDependencyAnalyzerTest" target="classFrame">ASMDependencyAnalyzerTest</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/testcases/ArrayCases.html#ArrayCases" target="classFrame">ArrayCases</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html#ClassFileVisitorUtilsTest" target="classFrame">ClassFileVisitorUtilsTest</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html#ClassFileVisitorUtilsTest.TestVisitor" target="classFrame">ClassFileVisitorUtilsTest.TestVisitor</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/CollectorClassFileVisitorTest.html#CollectorClassFileVisitorTest" target="classFrame">CollectorClassFileVisitorTest</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/DefaultClassAnalyzerTest.html#DefaultClassAnalyzerTest" target="classFrame">DefaultClassAnalyzerTest</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html#DependencyVisitorTest" target="classFrame">DependencyVisitorTest</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html#DependencyVisitorTest.MockAttribute" target="classFrame">DependencyVisitorTest.MockAttribute</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/testcases/InnerClassCase.html#InnerClassCase" target="classFrame">InnerClassCase</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/testcases/MethodHandleCases.html#MethodHandleCases" target="classFrame">MethodHandleCases</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysisTest.html#ProjectDependencyAnalysisTest" target="classFrame">ProjectDependencyAnalysisTest</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalyzerExceptionTest.html#ProjectDependencyAnalyzerExceptionTest" target="classFrame">ProjectDependencyAnalyzerExceptionTest</a></li> + <li><a href="org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html#ResultCollectorTest" target="classFrame">ResultCollectorTest</a></li> + </ul> </div> </body> </html> \ No newline at end of file Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/index.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/index.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/index.html Wed Apr 12 18:11:10 2023 @@ -4,7 +4,7 @@ <!-- this is a JXR report set (jdk8) --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.13.0 Reference</title> + <title>Apache Maven Dependency Analyzer 1.13.1 Reference</title> <script type="text/javascript"> tmpTargetPage = "" + window.location.search; if (tmpTargetPage != "" && tmpTargetPage != "undefined") Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html Wed Apr 12 18:11:10 2023 @@ -6,206 +6,176 @@ </head> <body> <div id="overview"><a href="../../../../../../../testapidocs/org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html">View Javadoc</a></div><pre> -<a class="jxr_linenumber" name="L1" href="#L1">1</a> <strong class="jxr_keyword">package</strong> org.apache.maven.shared.dependency.analyzer; -<a class="jxr_linenumber" name="L2" href="#L2">2</a> -<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment">/*</em> -<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em> -<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em> -<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * distributed with this work for additional information</em> -<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em> -<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em> -<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em> -<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em> +<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</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * distributed with this work for additional information</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> *</em> +<a class="jxr_linenumber" name="L10" href="#L10">10</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="L11" href="#L11">11</a> <em class="jxr_comment"> *</em> -<a class="jxr_linenumber" name="L12" href="#L12">12</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="L13" href="#L13">13</a> <em class="jxr_comment"> *</em> -<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em> -<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em> -<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em> -<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em> -<a class="jxr_linenumber" name="L18" href="#L18">18</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em> -<a class="jxr_linenumber" name="L19" href="#L19">19</a> <em class="jxr_comment"> * under the License.</em> -<a class="jxr_linenumber" name="L20" href="#L20">20</a> <em class="jxr_comment"> */</em> -<a class="jxr_linenumber" name="L21" href="#L21">21</a> -<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> org.apache.commons.io.FileUtils; -<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> org.apache.commons.io.IOUtils; -<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> org.junit.Before; -<a class="jxr_linenumber" name="L25" href="#L25">25</a> <strong class="jxr_keyword">import</strong> org.junit.Test; -<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> java.io.File; -<a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> java.io.FileOutputStream; -<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">import</strong> java.io.IOException; -<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">import</strong> java.io.InputStream; -<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">import</strong> java.net.URL; -<a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">import</strong> java.nio.charset.StandardCharsets; -<a class="jxr_linenumber" name="L33" href="#L33">33</a> <strong class="jxr_keyword">import</strong> java.nio.file.Files; -<a class="jxr_linenumber" name="L34" href="#L34">34</a> <strong class="jxr_keyword">import</strong> java.nio.file.Path; -<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">import</strong> java.util.ArrayList; -<a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">import</strong> java.util.List; -<a class="jxr_linenumber" name="L37" href="#L37">37</a> <strong class="jxr_keyword">import</strong> java.util.jar.JarOutputStream; -<a class="jxr_linenumber" name="L38" href="#L38">38</a> <strong class="jxr_keyword">import</strong> java.util.zip.ZipEntry; -<a class="jxr_linenumber" name="L39" href="#L39">39</a> -<a class="jxr_linenumber" name="L40" href="#L40">40</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.assertj.core.api.Assertions.assertThat; -<a class="jxr_linenumber" name="L41" href="#L41">41</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.assertj.core.api.Assertions.fail; -<a class="jxr_linenumber" name="L42" href="#L42">42</a> -<a class="jxr_linenumber" name="L43" href="#L43">43</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="L44" href="#L44">44</a> <em class="jxr_javadoccomment"> * Tests <code>ClassFileVisitorUtils</code>.</em> -<a class="jxr_linenumber" name="L45" href="#L45">45</a> <em class="jxr_javadoccomment"> * </em> -<a class="jxr_linenumber" name="L46" href="#L46">46</a> <em class="jxr_javadoccomment"> * @author <a href="<a href="mailto:markhob...@gmail.com" target="alexandria_uri">mailto:markhob...@gmail.com</a>">Mark Hobson</a></em> -<a class="jxr_linenumber" name="L47" href="#L47">47</a> <em class="jxr_javadoccomment"> * @see ClassFileVisitorUtils</em> -<a class="jxr_linenumber" name="L48" href="#L48">48</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="L49" href="#L49">49</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="ClassFileVisitorUtilsTest" href="../../../../../../org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html#ClassFileVisitorUtilsTest">ClassFileVisitorUtilsTest</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> MockVisitor visitor; -<a class="jxr_linenumber" name="L52" href="#L52">52</a> -<a class="jxr_linenumber" name="L53" href="#L53">53</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong> MockVisitor <strong class="jxr_keyword">implements</strong> ClassFileVisitor -<a class="jxr_linenumber" name="L54" href="#L54">54</a> { -<a class="jxr_linenumber" name="L55" href="#L55">55</a> <strong class="jxr_keyword">final</strong> List<String> classNames = <strong class="jxr_keyword">new</strong> ArrayList<>(); -<a class="jxr_linenumber" name="L56" href="#L56">56</a> <strong class="jxr_keyword">final</strong> List<String> data = <strong class="jxr_keyword">new</strong> ArrayList<>(); -<a class="jxr_linenumber" name="L57" href="#L57">57</a> -<a class="jxr_linenumber" name="L58" href="#L58">58</a> @Override -<a class="jxr_linenumber" name="L59" href="#L59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> visitClass( String className, InputStream in ) -<a class="jxr_linenumber" name="L60" href="#L60">60</a> { -<a class="jxr_linenumber" name="L61" href="#L61">61</a> classNames.add( className ); -<a class="jxr_linenumber" name="L62" href="#L62">62</a> <strong class="jxr_keyword">try</strong> -<a class="jxr_linenumber" name="L63" href="#L63">63</a> { -<a class="jxr_linenumber" name="L64" href="#L64">64</a> List<String> lines = IOUtils.readLines( in, StandardCharsets.UTF_8 ); -<a class="jxr_linenumber" name="L65" href="#L65">65</a> data.addAll( lines ); -<a class="jxr_linenumber" name="L66" href="#L66">66</a> } -<a class="jxr_linenumber" name="L67" href="#L67">67</a> <strong class="jxr_keyword">catch</strong> ( IOException ex ) -<a class="jxr_linenumber" name="L68" href="#L68">68</a> { -<a class="jxr_linenumber" name="L69" href="#L69">69</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException( ex ); -<a class="jxr_linenumber" name="L70" href="#L70">70</a> } -<a class="jxr_linenumber" name="L71" href="#L71">71</a> } -<a class="jxr_linenumber" name="L72" href="#L72">72</a> } -<a class="jxr_linenumber" name="L73" href="#L73">73</a> -<a class="jxr_linenumber" name="L74" href="#L74">74</a> @Before -<a class="jxr_linenumber" name="L75" href="#L75">75</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp() -<a class="jxr_linenumber" name="L76" href="#L76">76</a> { -<a class="jxr_linenumber" name="L77" href="#L77">77</a> visitor = <strong class="jxr_keyword">new</strong> MockVisitor(); -<a class="jxr_linenumber" name="L78" href="#L78">78</a> } -<a class="jxr_linenumber" name="L79" href="#L79">79</a> -<a class="jxr_linenumber" name="L80" href="#L80">80</a> @Test -<a class="jxr_linenumber" name="L81" href="#L81">81</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAcceptJar() <strong class="jxr_keyword">throws</strong> IOException -<a class="jxr_linenumber" name="L82" href="#L82">82</a> { -<a class="jxr_linenumber" name="L83" href="#L83">83</a> File file = File.createTempFile( <span class="jxr_string">"test"</span>, <span class="jxr_string">".jar"</span> ); -<a class="jxr_linenumber" name="L84" href="#L84">84</a> file.deleteOnExit(); -<a class="jxr_linenumber" name="L85" href="#L85">85</a> -<a class="jxr_linenumber" name="L86" href="#L86">86</a> <strong class="jxr_keyword">try</strong> ( JarOutputStream out = <strong class="jxr_keyword">new</strong> JarOutputStream( <strong class="jxr_keyword">new</strong> FileOutputStream( file ) ) ) -<a class="jxr_linenumber" name="L87" href="#L87">87</a> { -<a class="jxr_linenumber" name="L88" href="#L88">88</a> addZipEntry( out, <span class="jxr_string">"a/b/c.class"</span>, <span class="jxr_string">"class a.b.c"</span> ); -<a class="jxr_linenumber" name="L89" href="#L89">89</a> addZipEntry( out, <span class="jxr_string">"x/y/z.class"</span>, <span class="jxr_string">"class x.y.z"</span> ); -<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> ClassFileVisitorUtils.accept( file.toURI().toURL(), visitor ); -<a class="jxr_linenumber" name="L93" href="#L93">93</a> -<a class="jxr_linenumber" name="L94" href="#L94">94</a> assertThat( visitor.classNames ).contains( <span class="jxr_string">"a.b.c"</span> ); -<a class="jxr_linenumber" name="L95" href="#L95">95</a> assertThat( visitor.classNames ).contains( <span class="jxr_string">"x.y.z"</span> ); -<a class="jxr_linenumber" name="L96" href="#L96">96</a> assertThat( visitor.data ).contains( <span class="jxr_string">"class a.b.c"</span> ); -<a class="jxr_linenumber" name="L97" href="#L97">97</a> assertThat( visitor.data ).contains( <span class="jxr_string">"class x.y.z"</span> ); -<a class="jxr_linenumber" name="L98" href="#L98">98</a> } -<a class="jxr_linenumber" name="L99" href="#L99">99</a> -<a class="jxr_linenumber" name="L100" href="#L100">100</a> @Test -<a class="jxr_linenumber" name="L101" href="#L101">101</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAcceptJarWithNonClassEntry() <strong class="jxr_keyword">throws</strong> IOException -<a class="jxr_linenumber" name="L102" href="#L102">102</a> { -<a class="jxr_linenumber" name="L103" href="#L103">103</a> File file = File.createTempFile( <span class="jxr_string">"test"</span>, <span class="jxr_string">".jar"</span> ); -<a class="jxr_linenumber" name="L104" href="#L104">104</a> file.deleteOnExit(); -<a class="jxr_linenumber" name="L105" href="#L105">105</a> -<a class="jxr_linenumber" name="L106" href="#L106">106</a> <strong class="jxr_keyword">try</strong> ( JarOutputStream out = <strong class="jxr_keyword">new</strong> JarOutputStream( <strong class="jxr_keyword">new</strong> FileOutputStream( file ) ) ) -<a class="jxr_linenumber" name="L107" href="#L107">107</a> { -<a class="jxr_linenumber" name="L108" href="#L108">108</a> addZipEntry( out, <span class="jxr_string">"a/b/c.jpg"</span>, <span class="jxr_string">"jpeg a.b.c"</span> ); -<a class="jxr_linenumber" name="L109" href="#L109">109</a> } -<a class="jxr_linenumber" name="L110" href="#L110">110</a> -<a class="jxr_linenumber" name="L111" href="#L111">111</a> ClassFileVisitorUtils.accept( file.toURI().toURL(), visitor ); -<a class="jxr_linenumber" name="L112" href="#L112">112</a> -<a class="jxr_linenumber" name="L113" href="#L113">113</a> assertThat( visitor.classNames ) .isEmpty(); -<a class="jxr_linenumber" name="L114" href="#L114">114</a> } -<a class="jxr_linenumber" name="L115" href="#L115">115</a> -<a class="jxr_linenumber" name="L116" href="#L116">116</a> @Test -<a class="jxr_linenumber" name="L117" href="#L117">117</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAcceptDir() <strong class="jxr_keyword">throws</strong> IOException -<a class="jxr_linenumber" name="L118" href="#L118">118</a> { -<a class="jxr_linenumber" name="L119" href="#L119">119</a> Path dir = Files.createTempDirectory( <span class="jxr_string">"d-a-test"</span> ); -<a class="jxr_linenumber" name="L120" href="#L120">120</a> -<a class="jxr_linenumber" name="L121" href="#L121">121</a> Path abDir = Files.createDirectories( dir.resolve( <span class="jxr_string">"a/b"</span> ) ); -<a class="jxr_linenumber" name="L122" href="#L122">122</a> writeToFile( abDir, <span class="jxr_string">"c.class"</span>, <span class="jxr_string">"class a.b.c"</span> ); -<a class="jxr_linenumber" name="L123" href="#L123">123</a> -<a class="jxr_linenumber" name="L124" href="#L124">124</a> Path xyDir = Files.createDirectories( dir.resolve( <span class="jxr_string">"x/y"</span> ) ); -<a class="jxr_linenumber" name="L125" href="#L125">125</a> writeToFile( xyDir, <span class="jxr_string">"z.class"</span>, <span class="jxr_string">"class x.y.z"</span> ); +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em> +<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_comment"> * under the License.</em> +<a class="jxr_linenumber" name="L18" href="#L18">18</a> <em class="jxr_comment"> */</em> +<a class="jxr_linenumber" name="L19" href="#L19">19</a> <strong class="jxr_keyword">package</strong> org.apache.maven.shared.dependency.analyzer; +<a class="jxr_linenumber" name="L20" href="#L20">20</a> +<a class="jxr_linenumber" name="L21" href="#L21">21</a> <strong class="jxr_keyword">import</strong> java.io.File; +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> java.io.FileOutputStream; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> java.io.IOException; +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> java.io.InputStream; +<a class="jxr_linenumber" name="L25" href="#L25">25</a> <strong class="jxr_keyword">import</strong> java.net.URL; +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">import</strong> java.nio.charset.StandardCharsets; +<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">import</strong> java.nio.file.Files; +<a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> java.nio.file.Path; +<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">import</strong> java.util.ArrayList; +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">import</strong> java.util.List; +<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">import</strong> java.util.jar.JarOutputStream; +<a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">import</strong> java.util.zip.ZipEntry; +<a class="jxr_linenumber" name="L33" href="#L33">33</a> +<a class="jxr_linenumber" name="L34" href="#L34">34</a> <strong class="jxr_keyword">import</strong> org.apache.commons.io.FileUtils; +<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">import</strong> org.apache.commons.io.IOUtils; +<a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">import</strong> org.junit.Test; +<a class="jxr_linenumber" name="L37" href="#L37">37</a> +<a class="jxr_linenumber" name="L38" href="#L38">38</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.assertj.core.api.Assertions.assertThat; +<a class="jxr_linenumber" name="L39" href="#L39">39</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.assertj.core.api.Assertions.fail; +<a class="jxr_linenumber" name="L40" href="#L40">40</a> +<a class="jxr_linenumber" name="L41" href="#L41">41</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L42" href="#L42">42</a> <em class="jxr_javadoccomment"> * Tests <code>ClassFileVisitorUtils</code>.</em> +<a class="jxr_linenumber" name="L43" href="#L43">43</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L44" href="#L44">44</a> <em class="jxr_javadoccomment"> * @author <a href="<a href="mailto:markhob...@gmail.com" target="alexandria_uri">mailto:markhob...@gmail.com</a>">Mark Hobson</a></em> +<a class="jxr_linenumber" name="L45" href="#L45">45</a> <em class="jxr_javadoccomment"> * @see ClassFileVisitorUtils</em> +<a class="jxr_linenumber" name="L46" href="#L46">46</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L47" href="#L47">47</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="ClassFileVisitorUtilsTest" href="../../../../../../org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html#ClassFileVisitorUtilsTest">ClassFileVisitorUtilsTest</a> { +<a class="jxr_linenumber" name="L48" href="#L48">48</a> <strong class="jxr_keyword">private</strong> TestVisitor visitor = <strong class="jxr_keyword">new</strong> TestVisitor(); +<a class="jxr_linenumber" name="L49" href="#L49">49</a> +<a class="jxr_linenumber" name="L50" href="#L50">50</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong> TestVisitor <strong class="jxr_keyword">implements</strong> ClassFileVisitor { +<a class="jxr_linenumber" name="L51" href="#L51">51</a> <strong class="jxr_keyword">final</strong> List<String> classNames = <strong class="jxr_keyword">new</strong> ArrayList<>(); +<a class="jxr_linenumber" name="L52" href="#L52">52</a> <strong class="jxr_keyword">final</strong> List<String> data = <strong class="jxr_keyword">new</strong> ArrayList<>(); +<a class="jxr_linenumber" name="L53" href="#L53">53</a> +<a class="jxr_linenumber" name="L54" href="#L54">54</a> @Override +<a class="jxr_linenumber" name="L55" href="#L55">55</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> visitClass(String className, InputStream in) { +<a class="jxr_linenumber" name="L56" href="#L56">56</a> classNames.add(className); +<a class="jxr_linenumber" name="L57" href="#L57">57</a> <strong class="jxr_keyword">try</strong> { +<a class="jxr_linenumber" name="L58" href="#L58">58</a> List<String> lines = IOUtils.readLines(in, StandardCharsets.UTF_8); +<a class="jxr_linenumber" name="L59" href="#L59">59</a> data.addAll(lines); +<a class="jxr_linenumber" name="L60" href="#L60">60</a> } <strong class="jxr_keyword">catch</strong> (IOException ex) { +<a class="jxr_linenumber" name="L61" href="#L61">61</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(ex); +<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> } +<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> testAcceptJar() <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L68" href="#L68">68</a> File file = File.createTempFile(<span class="jxr_string">"test"</span>, <span class="jxr_string">".jar"</span>); +<a class="jxr_linenumber" name="L69" href="#L69">69</a> file.deleteOnExit(); +<a class="jxr_linenumber" name="L70" href="#L70">70</a> +<a class="jxr_linenumber" name="L71" href="#L71">71</a> <strong class="jxr_keyword">try</strong> (JarOutputStream out = <strong class="jxr_keyword">new</strong> JarOutputStream(<strong class="jxr_keyword">new</strong> FileOutputStream(file))) { +<a class="jxr_linenumber" name="L72" href="#L72">72</a> addZipEntry(out, <span class="jxr_string">"a/b/c.class"</span>, <span class="jxr_string">"class a.b.c"</span>); +<a class="jxr_linenumber" name="L73" href="#L73">73</a> addZipEntry(out, <span class="jxr_string">"x/y/z.class"</span>, <span class="jxr_string">"class x.y.z"</span>); +<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="L76" href="#L76">76</a> ClassFileVisitorUtils.accept(file.toURI().toURL(), visitor); +<a class="jxr_linenumber" name="L77" href="#L77">77</a> +<a class="jxr_linenumber" name="L78" href="#L78">78</a> assertThat(visitor.classNames).contains(<span class="jxr_string">"a.b.c"</span>); +<a class="jxr_linenumber" name="L79" href="#L79">79</a> assertThat(visitor.classNames).contains(<span class="jxr_string">"x.y.z"</span>); +<a class="jxr_linenumber" name="L80" href="#L80">80</a> assertThat(visitor.data).contains(<span class="jxr_string">"class a.b.c"</span>); +<a class="jxr_linenumber" name="L81" href="#L81">81</a> assertThat(visitor.data).contains(<span class="jxr_string">"class x.y.z"</span>); +<a class="jxr_linenumber" name="L82" href="#L82">82</a> } +<a class="jxr_linenumber" name="L83" href="#L83">83</a> +<a class="jxr_linenumber" name="L84" href="#L84">84</a> @Test +<a class="jxr_linenumber" name="L85" href="#L85">85</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAcceptJarWithNonClassEntry() <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L86" href="#L86">86</a> File file = File.createTempFile(<span class="jxr_string">"test"</span>, <span class="jxr_string">".jar"</span>); +<a class="jxr_linenumber" name="L87" href="#L87">87</a> file.deleteOnExit(); +<a class="jxr_linenumber" name="L88" href="#L88">88</a> +<a class="jxr_linenumber" name="L89" href="#L89">89</a> <strong class="jxr_keyword">try</strong> (JarOutputStream out = <strong class="jxr_keyword">new</strong> JarOutputStream(<strong class="jxr_keyword">new</strong> FileOutputStream(file))) { +<a class="jxr_linenumber" name="L90" href="#L90">90</a> addZipEntry(out, <span class="jxr_string">"a/b/c.jpg"</span>, <span class="jxr_string">"jpeg a.b.c"</span>); +<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> ClassFileVisitorUtils.accept(file.toURI().toURL(), visitor); +<a class="jxr_linenumber" name="L94" href="#L94">94</a> +<a class="jxr_linenumber" name="L95" href="#L95">95</a> assertThat(visitor.classNames).isEmpty(); +<a class="jxr_linenumber" name="L96" href="#L96">96</a> } +<a class="jxr_linenumber" name="L97" href="#L97">97</a> +<a class="jxr_linenumber" name="L98" href="#L98">98</a> @Test +<a class="jxr_linenumber" name="L99" href="#L99">99</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAcceptDir() <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L100" href="#L100">100</a> Path dir = Files.createTempDirectory(<span class="jxr_string">"d-a-test"</span>); +<a class="jxr_linenumber" name="L101" href="#L101">101</a> +<a class="jxr_linenumber" name="L102" href="#L102">102</a> Path abDir = Files.createDirectories(dir.resolve(<span class="jxr_string">"a/b"</span>)); +<a class="jxr_linenumber" name="L103" href="#L103">103</a> writeToFile(abDir, <span class="jxr_string">"c.class"</span>, <span class="jxr_string">"class a.b.c"</span>); +<a class="jxr_linenumber" name="L104" href="#L104">104</a> +<a class="jxr_linenumber" name="L105" href="#L105">105</a> Path xyDir = Files.createDirectories(dir.resolve(<span class="jxr_string">"x/y"</span>)); +<a class="jxr_linenumber" name="L106" href="#L106">106</a> writeToFile(xyDir, <span class="jxr_string">"z.class"</span>, <span class="jxr_string">"class x.y.z"</span>); +<a class="jxr_linenumber" name="L107" href="#L107">107</a> +<a class="jxr_linenumber" name="L108" href="#L108">108</a> ClassFileVisitorUtils.accept(dir.toUri().toURL(), visitor); +<a class="jxr_linenumber" name="L109" href="#L109">109</a> +<a class="jxr_linenumber" name="L110" href="#L110">110</a> FileUtils.deleteDirectory(dir.toFile()); +<a class="jxr_linenumber" name="L111" href="#L111">111</a> +<a class="jxr_linenumber" name="L112" href="#L112">112</a> assertThat(visitor.classNames).contains(<span class="jxr_string">"a.b.c"</span>); +<a class="jxr_linenumber" name="L113" href="#L113">113</a> assertThat(visitor.classNames).contains(<span class="jxr_string">"x.y.z"</span>); +<a class="jxr_linenumber" name="L114" href="#L114">114</a> assertThat(visitor.data).contains(<span class="jxr_string">"class a.b.c"</span>); +<a class="jxr_linenumber" name="L115" href="#L115">115</a> assertThat(visitor.data).contains(<span class="jxr_string">"class x.y.z"</span>); +<a class="jxr_linenumber" name="L116" href="#L116">116</a> } +<a class="jxr_linenumber" name="L117" href="#L117">117</a> +<a class="jxr_linenumber" name="L118" href="#L118">118</a> @Test +<a class="jxr_linenumber" name="L119" href="#L119">119</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAcceptDirWithNonClassFile() <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L120" href="#L120">120</a> Path dir = Files.createTempDirectory(<span class="jxr_string">"d-a-test"</span>); +<a class="jxr_linenumber" name="L121" href="#L121">121</a> +<a class="jxr_linenumber" name="L122" href="#L122">122</a> Path abDir = Files.createDirectories(dir.resolve(<span class="jxr_string">"a/b"</span>)); +<a class="jxr_linenumber" name="L123" href="#L123">123</a> writeToFile(abDir, <span class="jxr_string">"c.jpg"</span>, <span class="jxr_string">"jpeg a.b.c"</span>); +<a class="jxr_linenumber" name="L124" href="#L124">124</a> +<a class="jxr_linenumber" name="L125" href="#L125">125</a> ClassFileVisitorUtils.accept(dir.toUri().toURL(), visitor); <a class="jxr_linenumber" name="L126" href="#L126">126</a> -<a class="jxr_linenumber" name="L127" href="#L127">127</a> ClassFileVisitorUtils.accept( dir.toUri().toURL(), visitor ); +<a class="jxr_linenumber" name="L127" href="#L127">127</a> FileUtils.deleteDirectory(dir.toFile()); <a class="jxr_linenumber" name="L128" href="#L128">128</a> -<a class="jxr_linenumber" name="L129" href="#L129">129</a> FileUtils.deleteDirectory( dir.toFile() ); -<a class="jxr_linenumber" name="L130" href="#L130">130</a> -<a class="jxr_linenumber" name="L131" href="#L131">131</a> assertThat( visitor.classNames ).contains( <span class="jxr_string">"a.b.c"</span> ); -<a class="jxr_linenumber" name="L132" href="#L132">132</a> assertThat( visitor.classNames ).contains( <span class="jxr_string">"x.y.z"</span> ); -<a class="jxr_linenumber" name="L133" href="#L133">133</a> assertThat( visitor.data ).contains( <span class="jxr_string">"class a.b.c"</span> ); -<a class="jxr_linenumber" name="L134" href="#L134">134</a> assertThat( visitor.data ).contains( <span class="jxr_string">"class x.y.z"</span> ); -<a class="jxr_linenumber" name="L135" href="#L135">135</a> } +<a class="jxr_linenumber" name="L129" href="#L129">129</a> assertThat(visitor.classNames).isEmpty(); +<a class="jxr_linenumber" name="L130" href="#L130">130</a> } +<a class="jxr_linenumber" name="L131" href="#L131">131</a> +<a class="jxr_linenumber" name="L132" href="#L132">132</a> @Test +<a class="jxr_linenumber" name="L133" href="#L133">133</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAcceptWithFile() <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L134" href="#L134">134</a> File file = File.createTempFile(<span class="jxr_string">"test"</span>, <span class="jxr_string">".class"</span>); +<a class="jxr_linenumber" name="L135" href="#L135">135</a> file.deleteOnExit(); <a class="jxr_linenumber" name="L136" href="#L136">136</a> -<a class="jxr_linenumber" name="L137" href="#L137">137</a> @Test -<a class="jxr_linenumber" name="L138" href="#L138">138</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAcceptDirWithNonClassFile() <strong class="jxr_keyword">throws</strong> IOException -<a class="jxr_linenumber" name="L139" href="#L139">139</a> { -<a class="jxr_linenumber" name="L140" href="#L140">140</a> Path dir = Files.createTempDirectory( <span class="jxr_string">"d-a-test"</span> ); -<a class="jxr_linenumber" name="L141" href="#L141">141</a> -<a class="jxr_linenumber" name="L142" href="#L142">142</a> Path abDir = Files.createDirectories( dir.resolve( <span class="jxr_string">"a/b"</span> ) ); -<a class="jxr_linenumber" name="L143" href="#L143">143</a> writeToFile( abDir, <span class="jxr_string">"c.jpg"</span>, <span class="jxr_string">"jpeg a.b.c"</span> ); -<a class="jxr_linenumber" name="L144" href="#L144">144</a> -<a class="jxr_linenumber" name="L145" href="#L145">145</a> ClassFileVisitorUtils.accept( dir.toUri().toURL(), visitor ); +<a class="jxr_linenumber" name="L137" href="#L137">137</a> URL url = file.toURI().toURL(); +<a class="jxr_linenumber" name="L138" href="#L138">138</a> +<a class="jxr_linenumber" name="L139" href="#L139">139</a> <strong class="jxr_keyword">try</strong> { +<a class="jxr_linenumber" name="L140" href="#L140">140</a> ClassFileVisitorUtils.accept(url, visitor); +<a class="jxr_linenumber" name="L141" href="#L141">141</a> fail(<span class="jxr_string">"expected IllegalArgumentException"</span>); +<a class="jxr_linenumber" name="L142" href="#L142">142</a> } <strong class="jxr_keyword">catch</strong> (IllegalArgumentException exception) { +<a class="jxr_linenumber" name="L143" href="#L143">143</a> assertThat(exception).hasMessage(<span class="jxr_string">"Cannot accept visitor on URL: "</span> + url); +<a class="jxr_linenumber" name="L144" href="#L144">144</a> } +<a class="jxr_linenumber" name="L145" href="#L145">145</a> } <a class="jxr_linenumber" name="L146" href="#L146">146</a> -<a class="jxr_linenumber" name="L147" href="#L147">147</a> FileUtils.deleteDirectory( dir.toFile() ); -<a class="jxr_linenumber" name="L148" href="#L148">148</a> -<a class="jxr_linenumber" name="L149" href="#L149">149</a> assertThat( visitor.classNames ).isEmpty(); -<a class="jxr_linenumber" name="L150" href="#L150">150</a> } -<a class="jxr_linenumber" name="L151" href="#L151">151</a> -<a class="jxr_linenumber" name="L152" href="#L152">152</a> @Test -<a class="jxr_linenumber" name="L153" href="#L153">153</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAcceptWithFile() <strong class="jxr_keyword">throws</strong> IOException -<a class="jxr_linenumber" name="L154" href="#L154">154</a> { -<a class="jxr_linenumber" name="L155" href="#L155">155</a> File file = File.createTempFile( <span class="jxr_string">"test"</span>, <span class="jxr_string">".class"</span> ); -<a class="jxr_linenumber" name="L156" href="#L156">156</a> file.deleteOnExit(); -<a class="jxr_linenumber" name="L157" href="#L157">157</a> -<a class="jxr_linenumber" name="L158" href="#L158">158</a> URL url = file.toURI().toURL(); -<a class="jxr_linenumber" name="L159" href="#L159">159</a> -<a class="jxr_linenumber" name="L160" href="#L160">160</a> <strong class="jxr_keyword">try</strong> -<a class="jxr_linenumber" name="L161" href="#L161">161</a> { -<a class="jxr_linenumber" name="L162" href="#L162">162</a> ClassFileVisitorUtils.accept( url, visitor ); -<a class="jxr_linenumber" name="L163" href="#L163">163</a> fail( <span class="jxr_string">"expected IllegalArgumentException"</span> ); -<a class="jxr_linenumber" name="L164" href="#L164">164</a> } -<a class="jxr_linenumber" name="L165" href="#L165">165</a> <strong class="jxr_keyword">catch</strong> ( IllegalArgumentException exception ) -<a class="jxr_linenumber" name="L166" href="#L166">166</a> { -<a class="jxr_linenumber" name="L167" href="#L167">167</a> assertThat( exception ).hasMessage( <span class="jxr_string">"Cannot accept visitor on URL: "</span> + url ); -<a class="jxr_linenumber" name="L168" href="#L168">168</a> } -<a class="jxr_linenumber" name="L169" href="#L169">169</a> } -<a class="jxr_linenumber" name="L170" href="#L170">170</a> -<a class="jxr_linenumber" name="L171" href="#L171">171</a> @Test -<a class="jxr_linenumber" name="L172" href="#L172">172</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAcceptWithUnsupportedScheme() <strong class="jxr_keyword">throws</strong> IOException -<a class="jxr_linenumber" name="L173" href="#L173">173</a> { -<a class="jxr_linenumber" name="L174" href="#L174">174</a> URL url = <strong class="jxr_keyword">new</strong> URL( <span class="jxr_string">"http://localhost/"</span> ); -<a class="jxr_linenumber" name="L175" href="#L175">175</a> -<a class="jxr_linenumber" name="L176" href="#L176">176</a> <strong class="jxr_keyword">try</strong> -<a class="jxr_linenumber" name="L177" href="#L177">177</a> { -<a class="jxr_linenumber" name="L178" href="#L178">178</a> ClassFileVisitorUtils.accept( url, visitor ); -<a class="jxr_linenumber" name="L179" href="#L179">179</a> fail( <span class="jxr_string">"expected IllegalArgumentException"</span> ); -<a class="jxr_linenumber" name="L180" href="#L180">180</a> } -<a class="jxr_linenumber" name="L181" href="#L181">181</a> <strong class="jxr_keyword">catch</strong> ( IllegalArgumentException exception ) -<a class="jxr_linenumber" name="L182" href="#L182">182</a> { -<a class="jxr_linenumber" name="L183" href="#L183">183</a> assertThat( exception ).hasMessage( <span class="jxr_string">"Cannot accept visitor on URL: "</span> + url ); -<a class="jxr_linenumber" name="L184" href="#L184">184</a> } -<a class="jxr_linenumber" name="L185" href="#L185">185</a> } -<a class="jxr_linenumber" name="L186" href="#L186">186</a> -<a class="jxr_linenumber" name="L187" href="#L187">187</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> writeToFile( Path parent, String file, String data ) <strong class="jxr_keyword">throws</strong> IOException -<a class="jxr_linenumber" name="L188" href="#L188">188</a> { -<a class="jxr_linenumber" name="L189" href="#L189">189</a> Files.write( parent.resolve( file ), data.getBytes( StandardCharsets.UTF_8 ) ); -<a class="jxr_linenumber" name="L190" href="#L190">190</a> } -<a class="jxr_linenumber" name="L191" href="#L191">191</a> -<a class="jxr_linenumber" name="L192" href="#L192">192</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> addZipEntry( JarOutputStream out, String fileName, String content ) <strong class="jxr_keyword">throws</strong> IOException -<a class="jxr_linenumber" name="L193" href="#L193">193</a> { -<a class="jxr_linenumber" name="L194" href="#L194">194</a> out.putNextEntry( <strong class="jxr_keyword">new</strong> ZipEntry( fileName ) ); -<a class="jxr_linenumber" name="L195" href="#L195">195</a> byte[] bytes = content.getBytes( StandardCharsets.UTF_8 ); -<a class="jxr_linenumber" name="L196" href="#L196">196</a> out.write( bytes, 0, bytes.length ); -<a class="jxr_linenumber" name="L197" href="#L197">197</a> } -<a class="jxr_linenumber" name="L198" href="#L198">198</a> } +<a class="jxr_linenumber" name="L147" href="#L147">147</a> @Test +<a class="jxr_linenumber" name="L148" href="#L148">148</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAcceptWithUnsupportedScheme() <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L149" href="#L149">149</a> URL url = <strong class="jxr_keyword">new</strong> URL(<span class="jxr_string">"http://localhost/"</span>); +<a class="jxr_linenumber" name="L150" href="#L150">150</a> +<a class="jxr_linenumber" name="L151" href="#L151">151</a> <strong class="jxr_keyword">try</strong> { +<a class="jxr_linenumber" name="L152" href="#L152">152</a> ClassFileVisitorUtils.accept(url, visitor); +<a class="jxr_linenumber" name="L153" href="#L153">153</a> fail(<span class="jxr_string">"expected IllegalArgumentException"</span>); +<a class="jxr_linenumber" name="L154" href="#L154">154</a> } <strong class="jxr_keyword">catch</strong> (IllegalArgumentException exception) { +<a class="jxr_linenumber" name="L155" href="#L155">155</a> assertThat(exception).hasMessage(<span class="jxr_string">"Cannot accept visitor on URL: "</span> + url); +<a class="jxr_linenumber" name="L156" href="#L156">156</a> } +<a class="jxr_linenumber" name="L157" href="#L157">157</a> } +<a class="jxr_linenumber" name="L158" href="#L158">158</a> +<a class="jxr_linenumber" name="L159" href="#L159">159</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> writeToFile(Path parent, String file, String data) <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L160" href="#L160">160</a> Files.write(parent.resolve(file), data.getBytes(StandardCharsets.UTF_8)); +<a class="jxr_linenumber" name="L161" href="#L161">161</a> } +<a class="jxr_linenumber" name="L162" href="#L162">162</a> +<a class="jxr_linenumber" name="L163" href="#L163">163</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> addZipEntry(JarOutputStream out, String fileName, String content) <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L164" href="#L164">164</a> out.putNextEntry(<strong class="jxr_keyword">new</strong> ZipEntry(fileName)); +<a class="jxr_linenumber" name="L165" href="#L165">165</a> byte[] bytes = content.getBytes(StandardCharsets.UTF_8); +<a class="jxr_linenumber" name="L166" href="#L166">166</a> out.write(bytes, 0, bytes.length); +<a class="jxr_linenumber" name="L167" href="#L167">167</a> } +<a class="jxr_linenumber" name="L168" href="#L168">168</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> </html> \ No newline at end of file