Added: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/org/apache/maven/shared/dependency/analyzer/testcases/package-use.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/org/apache/maven/shared/dependency/analyzer/testcases/package-use.html (added) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/org/apache/maven/shared/dependency/analyzer/testcases/package-use.html Sat Aug 20 15:34:15 2022 @@ -0,0 +1,125 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>Uses of Package org.apache.maven.shared.dependency.analyzer.testcases (Apache Maven Dependency Analyzer 1.13.0 Test API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Uses of Package org.apache.maven.shared.dependency.analyzer.testcases (Apache Maven Dependency Analyzer 1.13.0 Test API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li>Class</li> +<li class="navBarCell1Rev">Use</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../../index.html?org/apache/maven/shared/dependency/analyzer/testcases/package-use.html" target="_top">Frames</a></li> +<li><a href="package-use.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 title="Uses of Package org.apache.maven.shared.dependency.analyzer.testcases" class="title">Uses of Package<br>org.apache.maven.shared.dependency.analyzer.testcases</h1> +</div> +<div class="contentContainer">No usage of org.apache.maven.shared.dependency.analyzer.testcases</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li>Class</li> +<li class="navBarCell1Rev">Use</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../../index.html?org/apache/maven/shared/dependency/analyzer/testcases/package-use.html" target="_top">Frames</a></li> +<li><a href="package-use.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2002–2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> \ No newline at end of file
Propchange: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/org/apache/maven/shared/dependency/analyzer/testcases/package-use.html ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/overview-frame.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/overview-frame.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/overview-frame.html Sat Aug 20 15:34:15 2022 @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Overview List (Apache Maven Dependency Analyzer 1.12.0 Test API)</title> +<title>Overview List (Apache Maven Dependency Analyzer 1.13.0 Test API)</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> @@ -15,6 +15,7 @@ <ul title="Packages"> <li><a href="org/apache/maven/shared/dependency/analyzer/package-frame.html" target="packageFrame">org.apache.maven.shared.dependency.analyzer</a></li> <li><a href="org/apache/maven/shared/dependency/analyzer/asm/package-frame.html" target="packageFrame">org.apache.maven.shared.dependency.analyzer.asm</a></li> +<li><a href="org/apache/maven/shared/dependency/analyzer/testcases/package-frame.html" target="packageFrame">org.apache.maven.shared.dependency.analyzer.testcases</a></li> </ul> </div> <p> </p> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/overview-summary.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/overview-summary.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/overview-summary.html Sat Aug 20 15:34:15 2022 @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Overview (Apache Maven Dependency Analyzer 1.12.0 Test API)</title> +<title>Overview (Apache Maven Dependency Analyzer 1.13.0 Test API)</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Overview (Apache Maven Dependency Analyzer 1.12.0 Test API)"; + parent.document.title="Overview (Apache Maven Dependency Analyzer 1.13.0 Test API)"; } } catch(err) { @@ -70,7 +70,7 @@ </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> -<h1 class="title">Apache Maven Dependency Analyzer 1.12.0 Test API</h1> +<h1 class="title">Apache Maven Dependency Analyzer 1.13.0 Test API</h1> </div> <div class="contentContainer"> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Packages table, listing packages, and an explanation"> @@ -88,6 +88,10 @@ <td class="colFirst"><a href="org/apache/maven/shared/dependency/analyzer/asm/package-summary.html">org.apache.maven.shared.dependency.analyzer.asm</a></td> <td class="colLast"> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><a href="org/apache/maven/shared/dependency/analyzer/testcases/package-summary.html">org.apache.maven.shared.dependency.analyzer.testcases</a></td> +<td class="colLast"> </td> +</tr> </tbody> </table> </div> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/overview-tree.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/overview-tree.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/overview-tree.html Sat Aug 20 15:34:15 2022 @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Class Hierarchy (Apache Maven Dependency Analyzer 1.12.0 Test API)</title> +<title>Class Hierarchy (Apache Maven Dependency Analyzer 1.13.0 Test API)</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Class Hierarchy (Apache Maven Dependency Analyzer 1.12.0 Test API)"; + parent.document.title="Class Hierarchy (Apache Maven Dependency Analyzer 1.13.0 Test API)"; } } catch(err) { @@ -74,7 +74,8 @@ <span class="packageHierarchyLabel">Package Hierarchies:</span> <ul class="horizontal"> <li><a href="org/apache/maven/shared/dependency/analyzer/package-tree.html">org.apache.maven.shared.dependency.analyzer</a>, </li> -<li><a href="org/apache/maven/shared/dependency/analyzer/asm/package-tree.html">org.apache.maven.shared.dependency.analyzer.asm</a></li> +<li><a href="org/apache/maven/shared/dependency/analyzer/asm/package-tree.html">org.apache.maven.shared.dependency.analyzer.asm</a>, </li> +<li><a href="org/apache/maven/shared/dependency/analyzer/testcases/package-tree.html">org.apache.maven.shared.dependency.analyzer.testcases</a></li> </ul> </div> <div class="contentContainer"> @@ -82,26 +83,17 @@ <ul> <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a> <ul> +<li type="circle">org.apache.maven.shared.dependency.analyzer.testcases.<a href="org/apache/maven/shared/dependency/analyzer/testcases/ArrayCases.html" title="class in org.apache.maven.shared.dependency.analyzer.testcases"><span class="typeNameLink">ArrayCases</span></a></li> <li type="circle">org.apache.maven.shared.dependency.analyzer.asm.<a href="org/apache/maven/shared/dependency/analyzer/asm/ASMDependencyAnalyzerTest.html" title="class in org.apache.maven.shared.dependency.analyzer.asm"><span class="typeNameLink">ASMDependencyAnalyzerTest</span></a></li> -<li type="circle">junit.framework.Assert -<ul> -<li type="circle">junit.framework.TestCase (implements junit.framework.Test) -<ul> -<li type="circle">org.codehaus.plexus.PlexusTestCase -<ul> -<li type="circle">org.apache.maven.shared.dependency.analyzer.<a href="org/apache/maven/shared/dependency/analyzer/DefaultProjectDependencyAnalyzerTest.html" title="class in org.apache.maven.shared.dependency.analyzer"><span class="typeNameLink">DefaultProjectDependencyAnalyzerTest</span></a></li> -</ul> -</li> -</ul> -</li> -</ul> -</li> <li type="circle">org.apache.maven.shared.dependency.analyzer.<a href="org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html" title="class in org.apache.maven.shared.dependency.analyzer"><span class="typeNameLink">ClassFileVisitorUtilsTest</span></a></li> <li type="circle">org.apache.maven.shared.dependency.analyzer.<a href="org/apache/maven/shared/dependency/analyzer/CollectorClassFileVisitorTest.html" title="class in org.apache.maven.shared.dependency.analyzer"><span class="typeNameLink">CollectorClassFileVisitorTest</span></a></li> <li type="circle">org.apache.maven.shared.dependency.analyzer.<a href="org/apache/maven/shared/dependency/analyzer/DefaultClassAnalyzerTest.html" title="class in org.apache.maven.shared.dependency.analyzer"><span class="typeNameLink">DefaultClassAnalyzerTest</span></a></li> <li type="circle">org.apache.maven.shared.dependency.analyzer.asm.<a href="org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html" title="class in org.apache.maven.shared.dependency.analyzer.asm"><span class="typeNameLink">DependencyVisitorTest</span></a></li> +<li type="circle">org.apache.maven.shared.dependency.analyzer.testcases.<a href="org/apache/maven/shared/dependency/analyzer/testcases/InnerClassCase.html" title="class in org.apache.maven.shared.dependency.analyzer.testcases"><span class="typeNameLink">InnerClassCase</span></a></li> +<li type="circle">org.apache.maven.shared.dependency.analyzer.testcases.<a href="org/apache/maven/shared/dependency/analyzer/testcases/MethodHandleCases.html" title="class in org.apache.maven.shared.dependency.analyzer.testcases"><span class="typeNameLink">MethodHandleCases</span></a></li> <li type="circle">org.apache.maven.shared.dependency.analyzer.<a href="org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysisTest.html" title="class in org.apache.maven.shared.dependency.analyzer"><span class="typeNameLink">ProjectDependencyAnalysisTest</span></a></li> <li type="circle">org.apache.maven.shared.dependency.analyzer.<a href="org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalyzerExceptionTest.html" title="class in org.apache.maven.shared.dependency.analyzer"><span class="typeNameLink">ProjectDependencyAnalyzerExceptionTest</span></a></li> +<li type="circle">org.apache.maven.shared.dependency.analyzer.asm.<a href="org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html" title="class in org.apache.maven.shared.dependency.analyzer.asm"><span class="typeNameLink">ResultCollectorTest</span></a></li> </ul> </li> </ul> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/package-list ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/package-list (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/testapidocs/package-list Sat Aug 20 15:34:15 2022 @@ -1,2 +1,3 @@ org.apache.maven.shared.dependency.analyzer org.apache.maven.shared.dependency.analyzer.asm +org.apache.maven.shared.dependency.analyzer.testcases 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 Sat Aug 20 15:34:15 2022 @@ -1,47 +1,30 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en"> - <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>All Classes</title> - <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> + <!-- generated by Apache Maven JXR (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>All Classes</title> + <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> </head> <body> - - <h3>All Classes</h3> - - <ul> - <li> - <a href="org/apache/maven/shared/dependency/analyzer/asm/ASMDependencyAnalyzerTest.html" target="classFrame">ASMDependencyAnalyzerTest</a> - </li> - <li> - <a href="org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html" target="classFrame">ClassFileVisitorUtilsTest</a> - </li> - <li> - <a href="org/apache/maven/shared/dependency/analyzer/CollectorClassFileVisitorTest.html" target="classFrame">CollectorClassFileVisitorTest</a> - </li> - <li> - <a href="org/apache/maven/shared/dependency/analyzer/DefaultClassAnalyzerTest.html" target="classFrame">DefaultClassAnalyzerTest</a> - </li> - <li> - <a href="org/apache/maven/shared/dependency/analyzer/DefaultProjectDependencyAnalyzerTest.html" target="classFrame">DefaultProjectDependencyAnalyzerTest</a> - </li> - <li> - <a href="org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html" target="classFrame">DependencyVisitorTest</a> - </li> - <li> - <a href="org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html" target="classFrame">MockAttribute</a> - </li> - <li> - <a href="org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html" target="classFrame">MockVisitor</a> - </li> - <li> - <a href="org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysisTest.html" target="classFrame">ProjectDependencyAnalysisTest</a> - </li> - <li> - <a href="org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalyzerExceptionTest.html" target="classFrame">ProjectDependencyAnalyzerExceptionTest</a> - </li> - </ul> - + <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> + </div> </body> - </html> \ No newline at end of file +</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 Sat Aug 20 15:34:15 2022 @@ -1,24 +1,75 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xml:lang="en" lang="en"> -<!-- this is a JXR report set --> - <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.12.0 Reference</title> - </head> - <frameset cols="20%,80%"> - <frameset rows="30%,70%"> - <frame src="overview-frame.html" name="packageListFrame" /> - <frame src="allclasses-frame.html" name="packageFrame" /> - </frameset> - <frame src="overview-summary.html" name="classFrame" /> + <!-- 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> + <script type="text/javascript"> + tmpTargetPage = "" + window.location.search; + if (tmpTargetPage != "" && tmpTargetPage != "undefined") + tmpTargetPage = tmpTargetPage.substring(1); + if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" && !validURL(tmpTargetPage))) + tmpTargetPage = "undefined"; + targetPage = tmpTargetPage; + function validURL(url) { + try { + url = decodeURIComponent(url); + } + catch (error) { + return false; + } + var pos = url.indexOf(".html"); + if (pos == -1 || pos != url.length - 5) + return false; + var allowNumber = false; + var allowSep = false; + var seenDot = false; + for (var i = 0; i < url.length - 5; i++) { + var ch = url.charAt(i); + if ('a' <= ch && ch <= 'z' || + 'A' <= ch && ch <= 'Z' || + ch == '$' || + ch == '_' || + ch.charCodeAt(0) > 127) { + allowNumber = true; + allowSep = true; + } else if ('0' <= ch && ch <= '9' + || ch == '-') { + if (!allowNumber) + return false; + } else if (ch == '/' || ch == '.') { + if (!allowSep) + return false; + allowNumber = false; + allowSep = false; + if (ch == '.') + seenDot = true; + if (ch == '/' && seenDot) + return false; + } else { + return false; + } + } + return true; + } + function loadFrames() { + if (targetPage != "" && targetPage != "undefined") + top.classFrame.location = top.targetPage; + } + </script> + </head> + <frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()"> + <frameset rows="30%,70%" title="Left frames" onload="top.loadFrames()"> + <frame src="overview-frame.html" name="packageListFrame" title="All Packages"/> + <frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)"/> + </frameset> + <frame src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes"/> <noframes> - <body> - <h1>Frame Alert</h1> - <p> - You don't have frames. Go <a href="overview-summary.html">here</a> - </p> - </body> + <h1>Frame Alert</h1> + <p> + You don't have frames. Go <a href="overview-summary.html">here</a> + </p> </noframes> </frameset> -</html> +</html> \ No newline at end of file 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 Sat Aug 20 15:34:15 2022 @@ -17,7 +17,7 @@ <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="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." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</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> @@ -54,11 +54,11 @@ <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 href="../../../../../../org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html">ClassFileVisitorUtilsTest</a> +<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> <a href="../../../../../../org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html">MockVisitor</a> visitor; +<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> <a href="../../../../../../org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html">MockVisitor</a> <strong class="jxr_keyword">implements</strong> ClassFileVisitor +<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<>(); @@ -82,7 +82,7 @@ <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> <a href="../../../../../../org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.html">MockVisitor</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 Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/CollectorClassFileVisitorTest.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/CollectorClassFileVisitorTest.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/CollectorClassFileVisitorTest.html Sat Aug 20 15:34:15 2022 @@ -17,7 +17,7 @@ <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="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." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</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> @@ -41,7 +41,7 @@ <a class="jxr_linenumber" name="L33" href="#L33">33</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="L34" href="#L34">34</a> <em class="jxr_javadoccomment"> * @see CollectorClassFileVisitor</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/maven/shared/dependency/analyzer/CollectorClassFileVisitorTest.html">CollectorClassFileVisitorTest</a> +<a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="CollectorClassFileVisitorTest" href="../../../../../../org/apache/maven/shared/dependency/analyzer/CollectorClassFileVisitorTest.html#CollectorClassFileVisitorTest">CollectorClassFileVisitorTest</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> CollectorClassFileVisitor visitor; <a class="jxr_linenumber" name="L39" href="#L39">39</a> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/DefaultClassAnalyzerTest.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/DefaultClassAnalyzerTest.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/DefaultClassAnalyzerTest.html Sat Aug 20 15:34:15 2022 @@ -17,7 +17,7 @@ <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="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." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</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> @@ -54,7 +54,7 @@ <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 DefaultClassAnalyzer</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 href="../../../../../../org/apache/maven/shared/dependency/analyzer/DefaultClassAnalyzerTest.html">DefaultClassAnalyzerTest</a> +<a class="jxr_linenumber" name="L49" href="#L49">49</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="DefaultClassAnalyzerTest" href="../../../../../../org/apache/maven/shared/dependency/analyzer/DefaultClassAnalyzerTest.html#DefaultClassAnalyzerTest">DefaultClassAnalyzerTest</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> Path file; <a class="jxr_linenumber" name="L52" href="#L52">52</a> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysisTest.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysisTest.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysisTest.html Sat Aug 20 15:34:15 2022 @@ -17,7 +17,7 @@ <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="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." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</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> @@ -27,40 +27,79 @@ <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> java.util.HashSet; -<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> java.util.Set; -<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> org.apache.maven.artifact.Artifact; -<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> org.junit.Test; -<a class="jxr_linenumber" name="L28" href="#L28">28</a> -<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.assertj.core.api.Assertions.assertThat; +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> java.util.Arrays; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> java.util.HashSet; +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> java.util.Set; +<a class="jxr_linenumber" name="L25" href="#L25">25</a> +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.Artifact; +<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.DefaultArtifact; +<a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.versioning.VersionRange; +<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">import</strong> org.junit.Test; <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"> * Tests <code>ProjectDependencyAnalysis</code>.</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 <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="L35" href="#L35">35</a> <em class="jxr_javadoccomment"> * @see ProjectDependencyAnalysis</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/maven/shared/dependency/analyzer/ProjectDependencyAnalysisTest.html">ProjectDependencyAnalysisTest</a> -<a class="jxr_linenumber" name="L38" href="#L38">38</a> { -<a class="jxr_linenumber" name="L39" href="#L39">39</a> @Test -<a class="jxr_linenumber" name="L40" href="#L40">40</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testConstructor() -<a class="jxr_linenumber" name="L41" href="#L41">41</a> { -<a class="jxr_linenumber" name="L42" href="#L42">42</a> Set<Artifact> usedDeclaredArtifacts = <strong class="jxr_keyword">new</strong> HashSet<>(); -<a class="jxr_linenumber" name="L43" href="#L43">43</a> Set<Artifact> usedUndeclaredArtifacts = <strong class="jxr_keyword">new</strong> HashSet<>(); -<a class="jxr_linenumber" name="L44" href="#L44">44</a> Set<Artifact> unusedDeclaredArtifacts = <strong class="jxr_keyword">new</strong> HashSet<>(); -<a class="jxr_linenumber" name="L45" href="#L45">45</a> Set<Artifact> testArtifactsWithNonTestScope = <strong class="jxr_keyword">new</strong> HashSet<>(); -<a class="jxr_linenumber" name="L46" href="#L46">46</a> -<a class="jxr_linenumber" name="L47" href="#L47">47</a> ProjectDependencyAnalysis analysis = -<a class="jxr_linenumber" name="L48" href="#L48">48</a> <strong class="jxr_keyword">new</strong> ProjectDependencyAnalysis( usedDeclaredArtifacts, usedUndeclaredArtifacts, unusedDeclaredArtifacts, -<a class="jxr_linenumber" name="L49" href="#L49">49</a> testArtifactsWithNonTestScope); -<a class="jxr_linenumber" name="L50" href="#L50">50</a> -<a class="jxr_linenumber" name="L51" href="#L51">51</a> assertThat( analysis.getUsedDeclaredArtifacts() ).isEqualTo( usedDeclaredArtifacts ); -<a class="jxr_linenumber" name="L52" href="#L52">52</a> assertThat( analysis.getUsedUndeclaredArtifacts() ).isEqualTo( usedUndeclaredArtifacts ); -<a class="jxr_linenumber" name="L53" href="#L53">53</a> assertThat( analysis.getUnusedDeclaredArtifacts() ).isEqualTo( unusedDeclaredArtifacts ); -<a class="jxr_linenumber" name="L54" href="#L54">54</a> } -<a class="jxr_linenumber" name="L55" href="#L55">55</a> } +<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.assertj.core.api.Assertions.assertThat; +<a class="jxr_linenumber" name="L32" href="#L32">32</a> +<a class="jxr_linenumber" name="L33" href="#L33">33</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L34" href="#L34">34</a> <em class="jxr_javadoccomment"> * Tests <code>ProjectDependencyAnalysis</code>.</em> +<a class="jxr_linenumber" name="L35" href="#L35">35</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L36" href="#L36">36</a> <em class="jxr_javadoccomment"> * @author <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="L37" href="#L37">37</a> <em class="jxr_javadoccomment"> * @see ProjectDependencyAnalysis</em> +<a class="jxr_linenumber" name="L38" href="#L38">38</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L39" href="#L39">39</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="ProjectDependencyAnalysisTest" href="../../../../../../org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalysisTest.html#ProjectDependencyAnalysisTest">ProjectDependencyAnalysisTest</a> +<a class="jxr_linenumber" name="L40" href="#L40">40</a> { +<a class="jxr_linenumber" name="L41" href="#L41">41</a> @Test +<a class="jxr_linenumber" name="L42" href="#L42">42</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testConstructor() +<a class="jxr_linenumber" name="L43" href="#L43">43</a> { +<a class="jxr_linenumber" name="L44" href="#L44">44</a> Set<Artifact> usedDeclaredArtifacts = <strong class="jxr_keyword">new</strong> HashSet<>(); +<a class="jxr_linenumber" name="L45" href="#L45">45</a> Set<Artifact> usedUndeclaredArtifacts = <strong class="jxr_keyword">new</strong> HashSet<>(); +<a class="jxr_linenumber" name="L46" href="#L46">46</a> Set<Artifact> unusedDeclaredArtifacts = <strong class="jxr_keyword">new</strong> HashSet<>(); +<a class="jxr_linenumber" name="L47" href="#L47">47</a> Set<Artifact> testArtifactsWithNonTestScope = <strong class="jxr_keyword">new</strong> HashSet<>(); +<a class="jxr_linenumber" name="L48" href="#L48">48</a> +<a class="jxr_linenumber" name="L49" href="#L49">49</a> ProjectDependencyAnalysis analysis = +<a class="jxr_linenumber" name="L50" href="#L50">50</a> <strong class="jxr_keyword">new</strong> ProjectDependencyAnalysis( usedDeclaredArtifacts, usedUndeclaredArtifacts, unusedDeclaredArtifacts, +<a class="jxr_linenumber" name="L51" href="#L51">51</a> testArtifactsWithNonTestScope ); +<a class="jxr_linenumber" name="L52" href="#L52">52</a> +<a class="jxr_linenumber" name="L53" href="#L53">53</a> assertThat( analysis.getUsedDeclaredArtifacts() ).isEqualTo( usedDeclaredArtifacts ); +<a class="jxr_linenumber" name="L54" href="#L54">54</a> assertThat( analysis.getUsedUndeclaredArtifacts() ).isEqualTo( usedUndeclaredArtifacts ); +<a class="jxr_linenumber" name="L55" href="#L55">55</a> assertThat( analysis.getUnusedDeclaredArtifacts() ).isEqualTo( unusedDeclaredArtifacts ); +<a class="jxr_linenumber" name="L56" href="#L56">56</a> } +<a class="jxr_linenumber" name="L57" href="#L57">57</a> +<a class="jxr_linenumber" name="L58" href="#L58">58</a> @Test +<a class="jxr_linenumber" name="L59" href="#L59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> ignoreNonCompileShouldFilterOnlyUnusedDeclare() +<a class="jxr_linenumber" name="L60" href="#L60">60</a> { +<a class="jxr_linenumber" name="L61" href="#L61">61</a> Artifact artifactCompile = aTestArtifact( <span class="jxr_string">"test1"</span>, Artifact.SCOPE_COMPILE ); +<a class="jxr_linenumber" name="L62" href="#L62">62</a> Artifact artifactProvided = aTestArtifact( <span class="jxr_string">"test2"</span>, Artifact.SCOPE_PROVIDED ); +<a class="jxr_linenumber" name="L63" href="#L63">63</a> Artifact artifactTest = aTestArtifact( <span class="jxr_string">"test3"</span>, Artifact.SCOPE_TEST ); +<a class="jxr_linenumber" name="L64" href="#L64">64</a> +<a class="jxr_linenumber" name="L65" href="#L65">65</a> ProjectDependencyAnalysis analysis = <strong class="jxr_keyword">new</strong> ProjectDependencyAnalysis( +<a class="jxr_linenumber" name="L66" href="#L66">66</a> asSet( artifactCompile, artifactProvided, artifactTest ), +<a class="jxr_linenumber" name="L67" href="#L67">67</a> asSet( artifactCompile, artifactProvided, artifactTest ), +<a class="jxr_linenumber" name="L68" href="#L68">68</a> asSet( artifactCompile, artifactProvided, artifactTest ), +<a class="jxr_linenumber" name="L69" href="#L69">69</a> asSet( artifactCompile, artifactProvided, artifactTest ) ); +<a class="jxr_linenumber" name="L70" href="#L70">70</a> +<a class="jxr_linenumber" name="L71" href="#L71">71</a> ProjectDependencyAnalysis compileOnlyAnalysis = analysis.ignoreNonCompile(); +<a class="jxr_linenumber" name="L72" href="#L72">72</a> +<a class="jxr_linenumber" name="L73" href="#L73">73</a> assertThat( compileOnlyAnalysis.getUsedDeclaredArtifacts() ).hasSize( 3 ); +<a class="jxr_linenumber" name="L74" href="#L74">74</a> assertThat( compileOnlyAnalysis.getUsedUndeclaredArtifacts() ).hasSize( 3 ); +<a class="jxr_linenumber" name="L75" href="#L75">75</a> +<a class="jxr_linenumber" name="L76" href="#L76">76</a> assertThat( compileOnlyAnalysis.getUnusedDeclaredArtifacts() ) +<a class="jxr_linenumber" name="L77" href="#L77">77</a> .hasSize( 1 ) +<a class="jxr_linenumber" name="L78" href="#L78">78</a> .allSatisfy( a -> assertThat( a.getScope() ).isEqualTo( Artifact.SCOPE_COMPILE ) ); +<a class="jxr_linenumber" name="L79" href="#L79">79</a> +<a class="jxr_linenumber" name="L80" href="#L80">80</a> assertThat( compileOnlyAnalysis.getTestArtifactsWithNonTestScope() ) +<a class="jxr_linenumber" name="L81" href="#L81">81</a> .hasSize( 3 ); +<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> <strong class="jxr_keyword">private</strong> <T> Set<T> asSet( T... items ) +<a class="jxr_linenumber" name="L85" href="#L85">85</a> { +<a class="jxr_linenumber" name="L86" href="#L86">86</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> HashSet<>( Arrays.asList( items ) ); +<a class="jxr_linenumber" name="L87" href="#L87">87</a> } +<a class="jxr_linenumber" name="L88" href="#L88">88</a> +<a class="jxr_linenumber" name="L89" href="#L89">89</a> <strong class="jxr_keyword">private</strong> Artifact aTestArtifact( String artifactId, String scope ) +<a class="jxr_linenumber" name="L90" href="#L90">90</a> { +<a class="jxr_linenumber" name="L91" href="#L91">91</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> DefaultArtifact( <span class="jxr_string">"groupId"</span>, artifactId, VersionRange.createFromVersion( <span class="jxr_string">"1.0"</span> ), +<a class="jxr_linenumber" name="L92" href="#L92">92</a> scope, <span class="jxr_string">"jar"</span>, <span class="jxr_string">""</span>, <strong class="jxr_keyword">null</strong> ); +<a class="jxr_linenumber" name="L93" href="#L93">93</a> } +<a class="jxr_linenumber" name="L94" href="#L94">94</a> } </pre> <hr/> <div id="footer">Copyright © 2002–2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalyzerExceptionTest.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalyzerExceptionTest.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalyzerExceptionTest.html Sat Aug 20 15:34:15 2022 @@ -17,7 +17,7 @@ <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="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." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</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> @@ -37,7 +37,7 @@ <a class="jxr_linenumber" name="L29" href="#L29">29</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="L30" href="#L30">30</a> <em class="jxr_javadoccomment"> * @see ProjectDependencyAnalyzerException</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> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalyzerExceptionTest.html">ProjectDependencyAnalyzerExceptionTest</a> +<a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="ProjectDependencyAnalyzerExceptionTest" href="../../../../../../org/apache/maven/shared/dependency/analyzer/ProjectDependencyAnalyzerExceptionTest.html#ProjectDependencyAnalyzerExceptionTest">ProjectDependencyAnalyzerExceptionTest</a> <a class="jxr_linenumber" name="L33" href="#L33">33</a> { <a class="jxr_linenumber" name="L34" href="#L34">34</a> @Test <a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testConstructor() Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/ASMDependencyAnalyzerTest.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/ASMDependencyAnalyzerTest.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/ASMDependencyAnalyzerTest.html Sat Aug 20 15:34:15 2022 @@ -17,7 +17,7 @@ <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="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." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</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> @@ -35,7 +35,7 @@ <a class="jxr_linenumber" name="L27" href="#L27">27</a> <a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.assertj.core.api.Assertions.assertThat; <a class="jxr_linenumber" name="L29" href="#L29">29</a> -<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../../org/apache/maven/shared/dependency/analyzer/asm/ASMDependencyAnalyzerTest.html">ASMDependencyAnalyzerTest</a> +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="ASMDependencyAnalyzerTest" href="../../../../../../../org/apache/maven/shared/dependency/analyzer/asm/ASMDependencyAnalyzerTest.html#ASMDependencyAnalyzerTest">ASMDependencyAnalyzerTest</a> <a class="jxr_linenumber" name="L31" href="#L31">31</a> { <a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> DependencyAnalyzer analyzer = <strong class="jxr_keyword">new</strong> ASMDependencyAnalyzer(); <a class="jxr_linenumber" name="L33" href="#L33">33</a> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html Sat Aug 20 15:34:15 2022 @@ -17,7 +17,7 @@ <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="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." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</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> @@ -39,7 +39,7 @@ <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 <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="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/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html">DependencyVisitorTest</a> +<a class="jxr_linenumber" name="L34" href="#L34">34</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="DependencyVisitorTest" href="../../../../../../../org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html#DependencyVisitorTest">DependencyVisitorTest</a> <a class="jxr_linenumber" name="L35" href="#L35">35</a> { <a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> ResultCollector resultCollector = <strong class="jxr_keyword">new</strong> ResultCollector(); <a class="jxr_linenumber" name="L37" href="#L37">37</a> <strong class="jxr_keyword">private</strong> DefaultClassVisitor visitor; @@ -764,9 +764,9 @@ <a class="jxr_linenumber" name="L756" href="#L756">756</a> <em class="jxr_javadoccomment"> *</em> <a class="jxr_linenumber" name="L757" href="#L757">757</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="L758" href="#L758">758</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="L759" href="#L759">759</a> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../../org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html">MockAttribute</a> <strong class="jxr_keyword">extends</strong> Attribute +<a class="jxr_linenumber" name="L759" href="#L759">759</a> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong> MockAttribute <strong class="jxr_keyword">extends</strong> Attribute <a class="jxr_linenumber" name="L760" href="#L760">760</a> { -<a class="jxr_linenumber" name="L761" href="#L761">761</a> <strong class="jxr_keyword">public</strong> <a href="../../../../../../../org/apache/maven/shared/dependency/analyzer/asm/DependencyVisitorTest.html">MockAttribute</a>( String type ) +<a class="jxr_linenumber" name="L761" href="#L761">761</a> <strong class="jxr_keyword">public</strong> MockAttribute( String type ) <a class="jxr_linenumber" name="L762" href="#L762">762</a> { <a class="jxr_linenumber" name="L763" href="#L763">763</a> <strong class="jxr_keyword">super</strong>( type ); <a class="jxr_linenumber" name="L764" href="#L764">764</a> } Added: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html (added) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html Sat Aug 20 15:34:15 2022 @@ -0,0 +1,94 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<title>ResultCollectorTest xref</title> +<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" /> +</head> +<body> +<div id="overview"><a href="../../../../../../../../testapidocs/org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.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.asm; +<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="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> java.io.IOException; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> java.io.InputStream; +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> java.util.Set; +<a class="jxr_linenumber" name="L25" href="#L25">25</a> +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">import</strong> org.apache.maven.shared.dependency.analyzer.testcases.ArrayCases; +<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">import</strong> org.apache.maven.shared.dependency.analyzer.testcases.InnerClassCase; +<a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> org.apache.maven.shared.dependency.analyzer.testcases.MethodHandleCases; +<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.assertj.core.api.Assertions.assertThat; +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">import</strong> org.junit.Test; +<a class="jxr_linenumber" name="L31" href="#L31">31</a> +<a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="ResultCollectorTest" href="../../../../../../../org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html#ResultCollectorTest">ResultCollectorTest</a> +<a class="jxr_linenumber" name="L33" href="#L33">33</a> { +<a class="jxr_linenumber" name="L34" href="#L34">34</a> Set<String> getDependencies( Class<?> inspectClass ) +<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">throws</strong> IOException +<a class="jxr_linenumber" name="L36" href="#L36">36</a> { +<a class="jxr_linenumber" name="L37" href="#L37">37</a> String className = inspectClass.getName(); +<a class="jxr_linenumber" name="L38" href="#L38">38</a> String path = '/' + className.replace( '.', '/' ) + <span class="jxr_string">".class"</span>; +<a class="jxr_linenumber" name="L39" href="#L39">39</a> DependencyClassFileVisitor visitor = <strong class="jxr_keyword">new</strong> DependencyClassFileVisitor(); +<a class="jxr_linenumber" name="L40" href="#L40">40</a> <strong class="jxr_keyword">try</strong> ( InputStream is = inspectClass.getResourceAsStream( path ) ) +<a class="jxr_linenumber" name="L41" href="#L41">41</a> { +<a class="jxr_linenumber" name="L42" href="#L42">42</a> visitor.visitClass( className, is ); +<a class="jxr_linenumber" name="L43" href="#L43">43</a> } +<a class="jxr_linenumber" name="L44" href="#L44">44</a> <strong class="jxr_keyword">return</strong> visitor.getDependencies(); +<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> @Test +<a class="jxr_linenumber" name="L48" href="#L48">48</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testArrayCases() +<a class="jxr_linenumber" name="L49" href="#L49">49</a> <strong class="jxr_keyword">throws</strong> IOException +<a class="jxr_linenumber" name="L50" href="#L50">50</a> { +<a class="jxr_linenumber" name="L51" href="#L51">51</a> Set<String> dependencies = getDependencies( ArrayCases.<strong class="jxr_keyword">class</strong> ); +<a class="jxr_linenumber" name="L52" href="#L52">52</a> assertThat( dependencies ).doesNotContain( <span class="jxr_string">"[I"</span> ); +<a class="jxr_linenumber" name="L53" href="#L53">53</a> assertThat( dependencies ).allSatisfy( dependency -> assertThat( dependency ).doesNotStartWith( <span class="jxr_string">"["</span> ) ); +<a class="jxr_linenumber" name="L54" href="#L54">54</a> assertThat( dependencies ) +<a class="jxr_linenumber" name="L55" href="#L55">55</a> .contains( <span class="jxr_string">"java.lang.annotation.Annotation"</span> ) +<a class="jxr_linenumber" name="L56" href="#L56">56</a> .contains( <span class="jxr_string">"java.lang.reflect.Constructor"</span> ); +<a class="jxr_linenumber" name="L57" href="#L57">57</a> } +<a class="jxr_linenumber" name="L58" href="#L58">58</a> +<a class="jxr_linenumber" name="L59" href="#L59">59</a> @Test +<a class="jxr_linenumber" name="L60" href="#L60">60</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testNoMethodHandle() +<a class="jxr_linenumber" name="L61" href="#L61">61</a> <strong class="jxr_keyword">throws</strong> IOException +<a class="jxr_linenumber" name="L62" href="#L62">62</a> { +<a class="jxr_linenumber" name="L63" href="#L63">63</a> Set<String> dependencies = getDependencies( MethodHandleCases.<strong class="jxr_keyword">class</strong> ); +<a class="jxr_linenumber" name="L64" href="#L64">64</a> <strong class="jxr_keyword">for</strong> ( String dependency : dependencies ) +<a class="jxr_linenumber" name="L65" href="#L65">65</a> { +<a class="jxr_linenumber" name="L66" href="#L66">66</a> assertThat( dependency ).doesNotStartWith( <span class="jxr_string">"("</span> ); +<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="L69" href="#L69">69</a> +<a class="jxr_linenumber" name="L70" href="#L70">70</a> @Test +<a class="jxr_linenumber" name="L71" href="#L71">71</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testInnerClassAsContainer() +<a class="jxr_linenumber" name="L72" href="#L72">72</a> <strong class="jxr_keyword">throws</strong> IOException +<a class="jxr_linenumber" name="L73" href="#L73">73</a> { +<a class="jxr_linenumber" name="L74" href="#L74">74</a> Set<String> dependencies = getDependencies( InnerClassCase.<strong class="jxr_keyword">class</strong> ); +<a class="jxr_linenumber" name="L75" href="#L75">75</a> <strong class="jxr_keyword">for</strong> ( String dependency : dependencies ) +<a class="jxr_linenumber" name="L76" href="#L76">76</a> { +<a class="jxr_linenumber" name="L77" href="#L77">77</a> assertThat( dependency ).doesNotContain( <span class="jxr_string">"$"</span> ); +<a class="jxr_linenumber" name="L78" href="#L78">78</a> } +<a class="jxr_linenumber" name="L79" href="#L79">79</a> assertThat( dependencies ).contains( <span class="jxr_string">"java.lang.System"</span> ); +<a class="jxr_linenumber" name="L80" href="#L80">80</a> } +<a class="jxr_linenumber" name="L81" href="#L81">81</a> } +</pre> +<hr/> +<div id="footer">Copyright © 2002–2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +</body> +</html> \ No newline at end of file Propchange: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/package-frame.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/package-frame.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/package-frame.html Sat Aug 20 15:34:15 2022 @@ -1,30 +1,30 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en"> - <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.12.0 Reference Package org.apache.maven.shared.dependency.analyzer.asm</title> - <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" /> - </head> - <body> - - <h3> - <a href="package-summary.html" target="classFrame">org.apache.maven.shared.dependency.analyzer.asm</a> - </h3> - - <h3>Classes</h3> - - <ul> - <li> - <a href="ASMDependencyAnalyzerTest.html" target="classFrame">ASMDependencyAnalyzerTest</a> - </li> - <li> - <a href="DependencyVisitorTest.html" target="classFrame">DependencyVisitorTest</a> - </li> - <li> - <a href="DependencyVisitorTest.html" target="classFrame">MockAttribute</a> - </li> - </ul> - - </body> + <!-- generated by Apache Maven JXR (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Apache Maven Dependency Analyzer 1.13.0 Reference Package org.apache.maven.shared.dependency.analyzer.asm</title> + <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" /> + </head> + <body> + <h1 class="bar"><a href="package-summary.html" target="classFrame">org.apache.maven.shared.dependency.analyzer.asm</a></h1> + <div class="indexContainer"> + <h2 title="Classes">Classes</h2> + <ul title="Classes"> + <li> + <a href="ASMDependencyAnalyzerTest.html#ASMDependencyAnalyzerTest" target="classFrame">ASMDependencyAnalyzerTest</a> + </li> + <li> + <a href="DependencyVisitorTest.html#DependencyVisitorTest" target="classFrame">DependencyVisitorTest</a> + </li> + <li> + <a href="DependencyVisitorTest.html#DependencyVisitorTest.MockAttribute" target="classFrame">DependencyVisitorTest.MockAttribute</a> + </li> + <li> + <a href="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/org/apache/maven/shared/dependency/analyzer/asm/package-summary.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/package-summary.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/package-summary.html Sat Aug 20 15:34:15 2022 @@ -1,79 +1,122 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en"> - <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.12.0 Reference Package org.apache.maven.shared.dependency.analyzer.asm</title> - <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" /> - </head> - <body> - <div class="overview"> - <ul> - <li> - <a href="../../../../../../../overview-summary.html">Overview</a> - </li> - <li class="selected">Package</li> - </ul> - </div> - <div class="framenoframe"> - <ul> - <li> - <a href="../../../../../../../index.html" target="_top">FRAMES</a> - </li> - <li> - <a href="package-summary.html" target="_top">NO FRAMES</a> - </li> - </ul> - </div> - - <h2>Package org.apache.maven.shared.dependency.analyzer.asm</h2> + <!-- generated by Apache Maven JXR (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Apache Maven Dependency Analyzer 1.13.0 Reference Package org.apache.maven.shared.dependency.analyzer.asm</title> + <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" /> + </head> - <table class="summary"> - <thead> - <tr> - <th>Class Summary</th> - </tr> - </thead> - <tbody> - <tr> - <td> - <a href="ASMDependencyAnalyzerTest.html" target="classFrame">ASMDependencyAnalyzerTest</a> - </td> - </tr> - <tr> - <td> - <a href="DependencyVisitorTest.html" target="classFrame">DependencyVisitorTest</a> - </td> - </tr> - <tr> - <td> - <a href="DependencyVisitorTest.html" target="classFrame">MockAttribute</a> - </td> - </tr> - </tbody> - </table> - - <div class="overview"> - <ul> - <li> - <a href="../../../../../../../overview-summary.html">Overview</a> - </li> - <li class="selected">Package</li> - </ul> - </div> - <div class="framenoframe"> - <ul> - <li> - <a href="../../../../../../../index.html" target="_top">FRAMES</a> - </li> - <li> - <a href="package-summary.html" target="_top">NO FRAMES</a> - </li> - </ul> - </div> - <hr /> - <div id="footer"> - Copyright © 2002–2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - </div> - </body> + <body> + <div class="topNav"> + <a name="navbar_top"><!-- --></a> + <a href="#skip-navbar_top" title="Skip navigation links"></a> + <a name="navbar_top_firstrow"><!-- --></a> + <ul class="navList" title="Navigation"> + <li><a href="../../../../../../../overview-summary.html">Overview</a></li> + <li class="navBarCell1Rev">Package</li> + <li>Class</li> + <li>Use</li> + <li>Tree</li> + <li>Deprecated</li> + <li>Index</li> + <li>Help</li> + </ul> + <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.0 Reference</strong></em></div> + </div> + <div class="subNav"> + <ul class="navList"> + <li>Prev</li> + <li>Next</li> + </ul> + <ul class="navList"> + <li><a href="../../../../../../../index.html?overview-summary.html" target="_top">Frames</a></li> + <li><a href="package-summary.html" target="_top">No Frames</a></li> + </ul> + <ul class="navList" id="allclasses_navbar_top"> + <li>All Classes</li> + </ul> + <div> + </div> + <a name="skip-navbar_top"><!-- --></a> + </div> + + <div class="header"> + <h1 title="Package" class="title">Package org.apache.maven.shared.dependency.analyzer.asm</h1> + </div> + <div class="contentContainer"> + <ul class="blockList"> + <li class="blockList"> + <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> + <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> + <thead> + <tr> + <th class="colFirst colLast" scope="col">Class</th> + </tr> + </thead> + <tbody> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="ASMDependencyAnalyzerTest.html#ASMDependencyAnalyzerTest" target="classFrame" title="class in org.apache.maven.shared.dependency.analyzer.asm">ASMDependencyAnalyzerTest</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="DependencyVisitorTest.html#DependencyVisitorTest" target="classFrame" title="class in org.apache.maven.shared.dependency.analyzer.asm">DependencyVisitorTest</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="DependencyVisitorTest.html#DependencyVisitorTest.MockAttribute" target="classFrame" title="class in org.apache.maven.shared.dependency.analyzer.asm">DependencyVisitorTest.MockAttribute</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="ResultCollectorTest.html#ResultCollectorTest" target="classFrame" title="class in org.apache.maven.shared.dependency.analyzer.asm">ResultCollectorTest</a> + </td> + </tr> + </tbody> + </table> + </li> + </ul> + </div> + + <div class="bottomNav"> + <a name="navbar_bottom"><!-- --></a> + <a href="#skip-navbar_bottom" title="Skip navigation links"></a> + <a name="navbar_bottom_firstrow"><!-- --></a> + <ul class="navList" title="Navigation"> + <li><a href="../../../../../../../overview-summary.html">Overview</a></li> + <li class="navBarCell1Rev">Package</li> + <li>Class</li> + <li>Use</li> + <li>Tree</li> + <li>Deprecated</li> + <li>Index</li> + <li>Help</li> + </ul> + <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.0 Reference</strong></em></div> + </div> + <div class="subNav"> + <ul class="navList"> + <li>Prev</li> + <li>Next</li> + </ul> + <ul class="navList"> + <li><a href="../../../../../../../index.html?overview-summary.html" target="_top">Frames</a></li> + <li><a href="package-summary.html" target="_top">No Frames</a></li> + </ul> + <ul class="navList" id="allclasses_navbar_bottom"> + <li>All Classes</li> + </ul> + <div> + </div> + <a name="skip-navbar_bottom"><!-- --></a> + </div> + + <div id="footer"> + Copyright © 2002–2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. + </div> + </body> </html> \ No newline at end of file