Modified: 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/usage.html
==============================================================================
--- 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/usage.html 
(original)
+++ 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/usage.html 
Sun Jun  2 15:20:18 2024
@@ -1,158 +1,170 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.11.1 from 
src/site/apt/usage.apt at 2023-03-14
- | Rendered using Apache Maven Fluido Skin 1.9
--->
-<html xmlns="http://www.w3.org/1999/xhtml"; lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
-    <meta name="author" content="John Casey
-Maria Odea Ching
-Vincent Siveton" />
-    <meta name="date" content="2010-01-21" />
-    <title>Apache Maven Help Plugin &#x2013; Usage</title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
-    <link rel="stylesheet" href="./css/site.css" />
-    <link rel="stylesheet" href="./css/print.css" media="print" />
-    <script src="./js/apache-maven-fluido-1.9.min.js"></script>
-  </head>
-  <body class="topBarDisabled">
-    <div class="container-fluid">
-      <header>
-        <div id="banner">
-          <div class="pull-left"><a href="https://www.apache.org/"; 
id="bannerLeft"><img src="../../images/apache-maven-project.png"  alt="Apache 
Maven Help Plugin"/></a></div>
-          <div class="pull-right"><a href="../../" id="bannerRight"><img 
src="../../images/maven-logo-black-on-white.png"  alt=""/></a></div>
-          <div class="clear"><hr/></div>
-        </div>
-
-        <div id="breadcrumbs">
-          <ul class="breadcrumb">
-      <li class=""><a href="https://www.apache.org/"; class="externalLink" 
title="Apache">Apache</a><span class="divider">/</span></li>
-      <li class=""><a href="../../index.html" title="Maven">Maven</a><span 
class="divider">/</span></li>
-      <li class=""><a href="../index.html" title="Plugins">Plugins</a><span 
class="divider">/</span></li>
-      <li class=""><a href="index.html" title="Apache Maven Help 
Plugin">Apache Maven Help Plugin</a><span class="divider">/</span></li>
-    <li class="active ">Usage <a 
href="https://github.com/apache/maven-help-plugin/tree/maven-help-plugin-3.4.0/src/site/apt/usage.apt";><img
 src="./images/accessories-text-editor.png" title="Edit" /></a></li>
-        <li id="publishDate" class="pull-right"><span class="divider">|</span> 
Last Published: 2023-03-14</li>
-          <li id="projectVersion" class="pull-right">Version: 3.4.0</li>
-          </ul>
-        </div>
-      </header>
-      <div class="row-fluid">
-        <header id="leftColumn" class="span2">
-          <nav class="well sidebar-nav">
-  <ul class="nav nav-list">
-   <li class="nav-header">Overview</li>
-    <li><a href="index.html" title="Introduction"><span 
class="none"></span>Introduction</a></li>
-    <li><a href="plugin-info.html" title="Goals"><span 
class="icon-chevron-right"></span>Goals</a></li>
-    <li class="active"><a href="#"><span class="none"></span>Usage</a></li>
-    <li><a href="faq.html" title="FAQ"><span class="none"></span>FAQ</a></li>
-    <li><a href="https://www.apache.org/licenses/"; class="externalLink" 
title="License"><span class="none"></span>License</a></li>
-    <li><a href="download.html" title="Download"><span 
class="none"></span>Download</a></li>
-   <li class="nav-header">Examples</li>
-    <li><a href="examples/describe-configuration.html" title="Configuring 
Describe Goal"><span class="none"></span>Configuring Describe Goal</a></li>
-   <li class="nav-header">Project Documentation</li>
-    <li><a href="project-info.html" title="Project Information"><span 
class="icon-chevron-right"></span>Project Information</a></li>
-    <li><a href="project-reports.html" title="Project Reports"><span 
class="icon-chevron-right"></span>Project Reports</a></li>
-   <li class="nav-header">Maven Projects</li>
-    <li><a href="../../archetype/index.html" title="Archetype"><span 
class="none"></span>Archetype</a></li>
-    <li><a href="../../resolver/index.html" title="Artifact Resolver"><span 
class="none"></span>Artifact Resolver</a></li>
-    <li><a href="../../doxia/index.html" title="Doxia"><span 
class="none"></span>Doxia</a></li>
-    <li><a href="../../extensions/index.html" title="Extensions"><span 
class="none"></span>Extensions</a></li>
-    <li><a href="../../jxr/index.html" title="JXR"><span 
class="none"></span>JXR</a></li>
-    <li><a href="../../ref/current" title="Maven"><span 
class="none"></span>Maven</a></li>
-    <li><a href="../../pom/index.html" title="Parent POMs"><span 
class="none"></span>Parent POMs</a></li>
-    <li><a href="../index.html" title="Plugins"><span 
class="none"></span>Plugins</a></li>
-    <li><a href="../../plugin-testing/index.html" title="Plugin Testing"><span 
class="none"></span>Plugin Testing</a></li>
-    <li><a href="../../plugin-tools/index.html" title="Plugin Tools"><span 
class="none"></span>Plugin Tools</a></li>
-    <li><a href="../../apache-resource-bundles/index.html" title="Resource 
Bundles"><span class="none"></span>Resource Bundles</a></li>
-    <li><a href="../../scm/index.html" title="SCM"><span 
class="none"></span>SCM</a></li>
-    <li><a href="../../shared/index.html" title="Shared Components"><span 
class="none"></span>Shared Components</a></li>
-    <li><a href="../../skins/index.html" title="Skins"><span 
class="none"></span>Skins</a></li>
-    <li><a href="../../surefire/index.html" title="Surefire"><span 
class="none"></span>Surefire</a></li>
-    <li><a href="../../wagon/index.html" title="Wagon"><span 
class="none"></span>Wagon</a></li>
-   <li class="nav-header">ASF</li>
-    <li><a href="https://www.apache.org/foundation/how-it-works.html"; 
class="externalLink" title="How Apache Works"><span class="none"></span>How 
Apache Works</a></li>
-    <li><a href="https://www.apache.org/foundation/"; class="externalLink" 
title="Foundation"><span class="none"></span>Foundation</a></li>
-    <li><a 
href="https://privacy.apache.org/policies/privacy-policy-public.html"; 
class="externalLink" title="Data Privacy"><span class="none"></span>Data 
Privacy</a></li>
-    <li><a href="https://www.apache.org/foundation/sponsorship.html"; 
class="externalLink" title="Sponsoring Apache"><span 
class="none"></span>Sponsoring Apache</a></li>
-    <li><a href="https://www.apache.org/foundation/thanks.html"; 
class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
-  </ul>
-          </nav>
-          <div class="well sidebar-nav">
-            <hr />
-            <div id="poweredBy">
-              <div class="clear"></div>
-              <div class="clear"></div>
-              <div class="clear"></div>
-<a href="http://maven.apache.org/"; title="Built by Maven" 
class="poweredBy"><img class="builtBy" alt="Built by Maven" 
src="./images/logos/maven-feather.png" /></a>
-            </div>
-          </div>
-        </header>
-        <main id="bodyColumn"  class="span10" >
-<section>
-<h2><a name="Usage"></a>Usage</h2>
-<p>Below are the different goals and the minimalist configurations of the Help 
Plugin.</p><section>
-<h3><a name="The_help:active-profiles_Goal"></a>The 
<code>help:active-profiles</code> Goal</h3>
-<p>The <code><a href="./active-profiles-mojo.html">active-profiles</a></code> 
goal is used to discover which profiles have been applied to the projects 
currently being built. For each project in the build session, it will output a 
list of profiles which have been applied to that project, along with the source 
of the profile (POM, <code>settings.xml</code> or 
<code>profiles.xml</code>).</p>
-<p>You can execute this goal using the following command:</p>
-<div class="source"><pre class="prettyprint linenums"># mvn 
help:active-profiles</pre></div>
-<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p></section><section>
-<h3><a name="The_help:all-profiles_Goal"></a>The 
<code>help:all-profiles</code> Goal</h3>
-<p>The <code><a href="./all-profiles-mojo.html">all-profiles</a></code> goal 
is used to discover all available profiles under the current project.</p>
-<p>You can execute this goal using the following command:</p>
-<div class="source"><pre class="prettyprint linenums"># mvn 
help:all-profiles</pre></div>
-<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p></section><section>
-<h3><a name="The_help:describe_Goal"></a>The <code>help:describe</code> 
Goal</h3>
-<p>The <code><a href="./describe-mojo.html">describe</a></code> goal is used 
to discover information about Maven plugins. Given either a <code>plugin</code> 
or a <code>groupId</code>, an <code>artifactId</code> and optionally a 
<code>version</code>, the goal will lookup that plugin and output details about 
it. If the user also specifies which <code>goal</code> to describe, the 
<code>describe</code> goal will limit output to the details of that goal, 
including parameters.</p>
-<p>You can execute this goal using the following command:</p>
-<div class="source"><pre class="prettyprint linenums"># mvn help:describe 
-DgroupId=org.somewhere -DartifactId=some-plugin -Dversion=0.0.0</pre></div>
-<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p>
-<p>Refer to <a href="./examples/describe-configuration.html">Configuring 
Describe Goal</a> for more information about its 
configuration.</p></section><section>
-<h3><a name="The_help:effective-pom_Goal"></a>The 
<code>help:effective-pom</code> Goal</h3>
-<p>The <code><a href="./effective-pom-mojo.html">effective-pom</a></code> goal 
is used to make visible the POM that results from the application of 
interpolation, inheritance and active profiles. It provides a useful way of 
removing the guesswork about just what ends up in the POM that Maven uses to 
build your project. It will iterate over all projects in the current build 
session, printing the effective POM for each.</p>
-<p>You can execute this goal using the following command:</p>
-<div class="source"><pre class="prettyprint linenums"># mvn 
help:effective-pom</pre></div>
-<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p></section><section>
-<h3><a name="The_help:effective-settings_Goal"></a>The 
<code>help:effective-settings</code> Goal</h3>
-<p>The <code><a 
href="./effective-settings-mojo.html">effective-settings</a></code> goal is 
used to view the settings that Maven actually uses to run the build. These 
settings are a result of merging the global file with the user's file, with the 
user's file taking precedence.</p>
-<p>You can execute this goal using the following command:</p>
-<div class="source"><pre class="prettyprint linenums"># mvn 
help:effective-settings</pre></div>
-<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p></section><section>
-<h3><a name="The_help:system_Goal"></a>The <code>help:system</code> Goal</h3>
-<p>The <code><a href="./system-mojo.html">system</a></code> goal is used to 
view the system information like system properties and environment 
variables.</p>
-<p>You can execute this goal using the following command:</p>
-<div class="source"><pre class="prettyprint linenums"># mvn 
help:system</pre></div>
-<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p></section><section>
-<h3><a name="The_help:evaluate_Goal"></a>The <code>help:evaluate</code> 
Goal</h3>
-<p>You could use this interactive goal to evaluate some Maven expressions. To 
do it, just call the <a href="./evaluate-mojo.html">help:evaluate</a> goal:</p>
-<div class="source"><pre class="prettyprint linenums"># mvn help:evaluate 
-Dartifact=org.apache.maven.plugins:maven-help-plugin
-...
-[INFO] [help:evaluate]
-[INFO] Enter the Maven expression i.e. ${project.groupId} or 0 to exit?:
-${project.artifactId}
-[INFO]
-maven-help-plugin
-[INFO] Enter the Maven expression i.e. ${project.groupId} or 0 to exit?:
-${project.none}
-[INFO]
-null object or invalid expression
-...</pre></div>
-<p>The <code>artifact</code> parameter refers to ask expressions on the 
artifact POM. If omitted, the evaluate goal uses the current pom.</p>
-<p>You could ask for all Maven expressions listed in the Javadoc of the <a 
href="/ref/current/maven-core/apidocs/org/apache/maven/plugin/PluginParameterExpressionEvaluator.html">
 <code>PluginParameterExpressionEvaluator</code></a> 
class.</p></section></section>
-        </main>
-      </div>
-    </div>
-    <hr/>
-    <footer>
-      <div class="container-fluid">
-        <div class="row-fluid">
-            <p>&#169;      2001&#x2013;2023
-<a href="https://www.apache.org/";>The Apache Software Foundation</a>
-</p>
-        </div>
-      </div>
-    </footer>
-  </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from 
src\site\apt/usage.apt at 2024-06-02
+ | Rendered using Apache Maven Fluido Skin 1.9
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+    <meta name="author" content="John Casey
+Maria Odea Ching
+Vincent Siveton" />
+    <meta name="date" content="2010-01-21" />
+    <title>Apache Maven Help Plugin &#x2013; Usage</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+    <script src="./js/apache-maven-fluido-1.9.min.js"></script>
+  </head>
+  <body class="topBarDisabled">
+    <div class="container-fluid">
+      <header>
+        <div id="banner">
+          <div class="pull-left"><a href="https://www.apache.org/"; 
id="bannerLeft"><img src="../../images/apache-maven-project.png"  alt="Apache 
Maven Help Plugin"/></a></div>
+          <div class="pull-right"><a href="../../" id="bannerRight"><img 
src="../../images/maven-logo-black-on-white.png"  alt=""/></a></div>
+          <div class="clear"><hr/></div>
+        </div>
+
+        <div id="breadcrumbs">
+          <ul class="breadcrumb">
+      <li class=""><a href="https://www.apache.org/"; class="externalLink" 
title="Apache">Apache</a><span class="divider">/</span></li>
+      <li class=""><a href="../../index.html" title="Maven">Maven</a><span 
class="divider">/</span></li>
+      <li class=""><a href="../index.html" title="Plugins">Plugins</a><span 
class="divider">/</span></li>
+      <li class=""><a href="index.html" title="Apache Maven Help 
Plugin">Apache Maven Help Plugin</a><span class="divider">/</span></li>
+    <li class="active ">Usage <a 
href="https://github.com/apache/maven-help-plugin/tree/maven-help-plugin-3.4.1/src\site\apt/usage.apt";><img
 src="./images/accessories-text-editor.png" title="Edit" /></a></li>
+        <li id="publishDate" class="pull-right"><span class="divider">|</span> 
Last Published: 2024-06-02</li>
+          <li id="projectVersion" class="pull-right">Version: 3.4.1</li>
+          </ul>
+        </div>
+      </header>
+      <div class="row-fluid">
+        <header id="leftColumn" class="span2">
+          <nav class="well sidebar-nav">
+  <ul class="nav nav-list">
+   <li class="nav-header">Overview</li>
+    <li><a href="index.html" title="Introduction"><span 
class="none"></span>Introduction</a></li>
+    <li><a href="plugin-info.html" title="Goals"><span 
class="icon-chevron-right"></span>Goals</a></li>
+    <li class="active"><a href="#"><span class="none"></span>Usage</a></li>
+    <li><a href="faq.html" title="FAQ"><span class="none"></span>FAQ</a></li>
+    <li><a href="https://www.apache.org/licenses/"; class="externalLink" 
title="License"><span class="none"></span>License</a></li>
+    <li><a href="download.html" title="Download"><span 
class="none"></span>Download</a></li>
+   <li class="nav-header">Examples</li>
+    <li><a href="examples/describe-configuration.html" title="Configuring 
Describe Goal"><span class="none"></span>Configuring Describe Goal</a></li>
+   <li class="nav-header">Project Documentation</li>
+    <li><a href="project-info.html" title="Project Information"><span 
class="icon-chevron-right"></span>Project Information</a></li>
+    <li><a href="project-reports.html" title="Project Reports"><span 
class="icon-chevron-right"></span>Project Reports</a></li>
+   <li class="nav-header">Maven Projects</li>
+    <li><a href="../../ref/current" title="Maven"><span 
class="none"></span>Maven</a></li>
+    <li><a href="../../archetypes/index.html" title="Archetypes"><span 
class="none"></span>Archetypes</a></li>
+    <li><a href="../../extensions/index.html" title="Extensions"><span 
class="none"></span>Extensions</a></li>
+    <li><a href="../../pom/index.html" title="Parent POMs"><span 
class="none"></span>Parent POMs</a></li>
+    <li><a href="../index.html" title="Plugins"><span 
class="none"></span>Plugins</a></li>
+    <li><a href="../../skins/index.html" title="Skins"><span 
class="none"></span>Skins</a></li>
+    <li><a href="" title=""><span class="icon-chevron-down"></span></a>
+     <ul class="nav nav-list">
+      <li><a href="../../archetype/index.html" title="Archetype"><span 
class="none"></span>Archetype</a></li>
+      <li><a href="../../resolver/index.html" title="Artifact Resolver"><span 
class="none"></span>Artifact Resolver</a></li>
+      <li><a href="../../doxia/index.html" title="Doxia"><span 
class="none"></span>Doxia</a></li>
+      <li><a href="../../maven-indexer/index.html" title="Indexer"><span 
class="none"></span>Indexer</a></li>
+      <li><a href="../../jxr/index.html" title="JXR"><span 
class="none"></span>JXR</a></li>
+      <li><a href="../../plugin-testing/index.html" title="Plugin 
Testing"><span class="none"></span>Plugin Testing</a></li>
+      <li><a href="../../plugin-tools/index.html" title="Plugin Tools"><span 
class="none"></span>Plugin Tools</a></li>
+      <li><a href="../../apache-resource-bundles/index.html" title="Resource 
Bundles"><span class="none"></span>Resource Bundles</a></li>
+      <li><a href="../../scm/index.html" title="SCM"><span 
class="none"></span>SCM</a></li>
+      <li><a href="../../shared/index.html" title="Shared Components"><span 
class="none"></span>Shared Components</a></li>
+      <li><a href="../../surefire/index.html" title="Surefire"><span 
class="none"></span>Surefire</a></li>
+      <li><a href="../../wagon/index.html" title="Wagon"><span 
class="none"></span>Wagon</a></li>
+     </ul></li>
+   <li class="nav-header">ASF</li>
+    <li><a href="https://www.apache.org/foundation/how-it-works.html"; 
class="externalLink" title="How Apache Works"><span class="none"></span>How 
Apache Works</a></li>
+    <li><a href="https://www.apache.org/foundation/"; class="externalLink" 
title="Foundation"><span class="none"></span>Foundation</a></li>
+    <li><a 
href="https://privacy.apache.org/policies/privacy-policy-public.html"; 
class="externalLink" title="Data Privacy"><span class="none"></span>Data 
Privacy</a></li>
+    <li><a href="https://www.apache.org/foundation/sponsorship.html"; 
class="externalLink" title="Sponsoring Apache"><span 
class="none"></span>Sponsoring Apache</a></li>
+    <li><a href="https://www.apache.org/foundation/thanks.html"; 
class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
+  </ul>
+          </nav>
+          <div class="well sidebar-nav">
+            <hr />
+            <div id="poweredBy">
+              <div class="clear"></div>
+              <div class="clear"></div>
+              <div class="clear"></div>
+<a href="http://maven.apache.org/"; title="Built by Maven" 
class="poweredBy"><img class="builtBy" alt="Built by Maven" 
src="./images/logos/maven-feather.png" /></a>
+            </div>
+          </div>
+        </header>
+        <main id="bodyColumn"  class="span10" >
+<section>
+<h2><a name="Usage"></a>Usage</h2>
+<p>Below are the different goals and the minimalist configurations of the Help 
Plugin.</p><section>
+<h3><a name="The_help:active-profiles_Goal"></a>The 
<code>help:active-profiles</code> Goal</h3>
+<p>The <code><a href="./active-profiles-mojo.html">active-profiles</a></code> 
goal is used to discover which profiles have been applied to the projects 
currently being built. For each project in the build session, it will output a 
list of profiles which have been applied to that project, along with the source 
of the profile (POM, <code>settings.xml</code> or 
<code>profiles.xml</code>).</p>
+<p>You can execute this goal using the following command:</p>
+<div class="source"><pre class="prettyprint linenums"># mvn 
help:active-profiles
+</pre></div>
+<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p></section><section>
+<h3><a name="The_help:all-profiles_Goal"></a>The 
<code>help:all-profiles</code> Goal</h3>
+<p>The <code><a href="./all-profiles-mojo.html">all-profiles</a></code> goal 
is used to discover all available profiles under the current project.</p>
+<p>You can execute this goal using the following command:</p>
+<div class="source"><pre class="prettyprint linenums"># mvn help:all-profiles
+</pre></div>
+<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p></section><section>
+<h3><a name="The_help:describe_Goal"></a>The <code>help:describe</code> 
Goal</h3>
+<p>The <code><a href="./describe-mojo.html">describe</a></code> goal is used 
to discover information about Maven plugins. Given either a <code>plugin</code> 
or a <code>groupId</code>, an <code>artifactId</code> and optionally a 
<code>version</code>, the goal will lookup that plugin and output details about 
it. If the user also specifies which <code>goal</code> to describe, the 
<code>describe</code> goal will limit output to the details of that goal, 
including parameters.</p>
+<p>You can execute this goal using the following command:</p>
+<div class="source"><pre class="prettyprint linenums"># mvn help:describe 
-DgroupId=org.somewhere -DartifactId=some-plugin -Dversion=0.0.0
+</pre></div>
+<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p>
+<p>Refer to <a href="./examples/describe-configuration.html">Configuring 
Describe Goal</a> for more information about its 
configuration.</p></section><section>
+<h3><a name="The_help:effective-pom_Goal"></a>The 
<code>help:effective-pom</code> Goal</h3>
+<p>The <code><a href="./effective-pom-mojo.html">effective-pom</a></code> goal 
is used to make visible the POM that results from the application of 
interpolation, inheritance and active profiles. It provides a useful way of 
removing the guesswork about just what ends up in the POM that Maven uses to 
build your project. It will iterate over all projects in the current build 
session, printing the effective POM for each.</p>
+<p>You can execute this goal using the following command:</p>
+<div class="source"><pre class="prettyprint linenums"># mvn help:effective-pom
+</pre></div>
+<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p></section><section>
+<h3><a name="The_help:effective-settings_Goal"></a>The 
<code>help:effective-settings</code> Goal</h3>
+<p>The <code><a 
href="./effective-settings-mojo.html">effective-settings</a></code> goal is 
used to view the settings that Maven actually uses to run the build. These 
settings are a result of merging the global file with the user's file, with the 
user's file taking precedence.</p>
+<p>You can execute this goal using the following command:</p>
+<div class="source"><pre class="prettyprint linenums"># mvn 
help:effective-settings
+</pre></div>
+<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p></section><section>
+<h3><a name="The_help:system_Goal"></a>The <code>help:system</code> Goal</h3>
+<p>The <code><a href="./system-mojo.html">system</a></code> goal is used to 
view the system information like system properties and environment 
variables.</p>
+<p>You can execute this goal using the following command:</p>
+<div class="source"><pre class="prettyprint linenums"># mvn help:system
+</pre></div>
+<p><b>Note</b>: you could also use the <code>output</code> parameter to 
redirect output to a file.</p></section><section>
+<h3><a name="The_help:evaluate_Goal"></a>The <code>help:evaluate</code> 
Goal</h3>
+<p>You could use this interactive goal to evaluate some Maven expressions. To 
do it, just call the <a href="./evaluate-mojo.html">help:evaluate</a> goal:</p>
+<div class="source"><pre class="prettyprint linenums"># mvn help:evaluate 
-Dartifact=org.apache.maven.plugins:maven-help-plugin
+...
+[INFO] [help:evaluate]
+[INFO] Enter the Maven expression i.e. ${project.groupId} or 0 to exit?:
+${project.artifactId}
+[INFO]
+maven-help-plugin
+[INFO] Enter the Maven expression i.e. ${project.groupId} or 0 to exit?:
+${project.none}
+[INFO]
+null object or invalid expression
+...
+</pre></div>
+<p>The <code>artifact</code> parameter refers to ask expressions on the 
artifact POM. If omitted, the evaluate goal uses the current pom.</p>
+<p>You could ask for all Maven expressions listed in the Javadoc of the <a 
href="/ref/current/maven-core/apidocs/org/apache/maven/plugin/PluginParameterExpressionEvaluator.html">
 <code>PluginParameterExpressionEvaluator</code></a> 
class.</p></section></section>
+        </main>
+      </div>
+    </div>
+    <hr/>
+    <footer>
+      <div class="container-fluid">
+        <div class="row-fluid">
+            <p>&#169;      2001&#x2013;2024
+<a href="https://www.apache.org/";>The Apache Software Foundation</a>
+</p>
+        </div>
+      </div>
+    </footer>
+  </body>
 </html>
\ No newline at end of file

Modified: 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/xref-test/allclasses-frame.html
==============================================================================
--- 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/xref-test/allclasses-frame.html
 (original)
+++ 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/xref-test/allclasses-frame.html
 Sun Jun  2 15:20:18 2024
@@ -1,23 +1,23 @@
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<html xml:lang="en" lang="en">
-    <!-- generated by Apache Maven JXR (jdk8) -->
-    <head>
-        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-        <title>All Classes</title>
-        <link rel="stylesheet" type="text/css" href="stylesheet.css" 
title="style" />
-    </head>
-    <body>
-        <h1 class="bar">All Classes</h1>
-        <div class="indexContainer">
-            <ul>
-                                <li><a 
href="org/apache/maven/plugins/help/ActiveProfilesMojoTest.html#ActiveProfilesMojoTest"
 target="classFrame">ActiveProfilesMojoTest</a></li>
-                                <li><a 
href="org/apache/maven/plugins/help/AllProfilesMojoTest.html#AllProfilesMojoTest"
 target="classFrame">AllProfilesMojoTest</a></li>
-                                <li><a 
href="org/apache/maven/plugins/help/stubs/DefaultMavenProjectStub.html#DefaultMavenProjectStub"
 target="classFrame">DefaultMavenProjectStub</a></li>
-                                <li><a 
href="org/apache/maven/plugins/help/DescribeMojoTest.html#DescribeMojoTest" 
target="classFrame">DescribeMojoTest</a></li>
-                                <li><a 
href="org/apache/maven/plugins/help/EvaluateMojoTest.html#EvaluateMojoTest" 
target="classFrame">EvaluateMojoTest</a></li>
-                                <li><a 
href="org/apache/maven/plugins/help/EvaluateMojoTest.html#EvaluateMojoTest.InterceptingLog"
 target="classFrame">EvaluateMojoTest.InterceptingLog</a></li>
-                            </ul>
-        </div>
-    </body>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xml:lang="en" lang="en">
+    <!-- generated by Apache Maven JXR (jdk8) -->
+    <head>
+        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+        <title>All Classes</title>
+        <link rel="stylesheet" type="text/css" href="stylesheet.css" 
title="style" />
+    </head>
+    <body>
+        <h1 class="bar">All Classes</h1>
+        <div class="indexContainer">
+            <ul>
+                                <li><a 
href="org/apache/maven/plugins/help/ActiveProfilesMojoTest.html#ActiveProfilesMojoTest"
 target="classFrame">ActiveProfilesMojoTest</a></li>
+                                <li><a 
href="org/apache/maven/plugins/help/AllProfilesMojoTest.html#AllProfilesMojoTest"
 target="classFrame">AllProfilesMojoTest</a></li>
+                                <li><a 
href="org/apache/maven/plugins/help/stubs/DefaultMavenProjectStub.html#DefaultMavenProjectStub"
 target="classFrame">DefaultMavenProjectStub</a></li>
+                                <li><a 
href="org/apache/maven/plugins/help/DescribeMojoTest.html#DescribeMojoTest" 
target="classFrame">DescribeMojoTest</a></li>
+                                <li><a 
href="org/apache/maven/plugins/help/EvaluateMojoTest.html#EvaluateMojoTest" 
target="classFrame">EvaluateMojoTest</a></li>
+                                <li><a 
href="org/apache/maven/plugins/help/EvaluateMojoTest.html#EvaluateMojoTest.InterceptingLog"
 target="classFrame">EvaluateMojoTest.InterceptingLog</a></li>
+                            </ul>
+        </div>
+    </body>
 </html>
\ No newline at end of file

Modified: 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/xref-test/index.html
==============================================================================
--- 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/xref-test/index.html
 (original)
+++ 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/xref-test/index.html
 Sun Jun  2 15:20:18 2024
@@ -1,75 +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 (jdk8) -->
-    <head>
-        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-        <title>Apache Maven Help Plugin 3.4.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>
-            <h1>Frame Alert</h1>
-            <p>
-                You don't have frames. Go <a 
href="overview-summary.html">here</a>
-            </p>
-        </noframes>
-    </frameset>
+
+<!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 (jdk8) -->
+    <head>
+        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+        <title>Apache Maven Help Plugin 3.4.1 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>
+            <h1>Frame Alert</h1>
+            <p>
+                You don't have frames. Go <a 
href="overview-summary.html">here</a>
+            </p>
+        </noframes>
+    </frameset>
 </html>
\ No newline at end of file

Modified: 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/xref-test/org/apache/maven/plugins/help/ActiveProfilesMojoTest.html
==============================================================================
--- 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/xref-test/org/apache/maven/plugins/help/ActiveProfilesMojoTest.html
 (original)
+++ 
maven/website/components/plugins-archives/maven-help-plugin-LATEST/xref-test/org/apache/maven/plugins/help/ActiveProfilesMojoTest.html
 Sun Jun  2 15:20:18 2024
@@ -1,120 +1,120 @@
-<!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>ActiveProfilesMojoTest xref</title>
-<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
-</head>
-<body>
-<div id="overview"><a 
href="../../../../../../testapidocs/org/apache/maven/plugins/help/ActiveProfilesMojoTest.html">View
 Javadoc</a></div><pre>
-<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em 
class="jxr_comment">/*</em>
-<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em 
class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under 
one</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"> * 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.plugins.help;
-<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.FileInputStream;
-<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.util.Arrays;
-<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong 
class="jxr_keyword">import</strong> java.util.Collections;
-<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong 
class="jxr_keyword">import</strong> java.util.HashMap;
-<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong 
class="jxr_keyword">import</strong> java.util.List;
-<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong 
class="jxr_keyword">import</strong> java.util.Map;
-<a class="jxr_linenumber" name="L29" href="#L29">29</a>  
-<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong 
class="jxr_keyword">import</strong> 
org.apache.maven.plugin.testing.AbstractMojoTestCase;
-<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong 
class="jxr_keyword">import</strong> org.apache.maven.project.MavenProject;
-<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong 
class="jxr_keyword">import</strong> org.codehaus.plexus.util.IOUtil;
-<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> <strong class="jxr_keyword">static</strong> 
org.mockito.Mockito.mock;
-<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <strong 
class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> 
org.mockito.Mockito.when;
-<a class="jxr_linenumber" name="L36" href="#L36">36</a>  
-<a class="jxr_linenumber" name="L37" href="#L37">37</a>  <em 
class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L38" href="#L38">38</a>  <em 
class="jxr_javadoccomment"> * Test class for the active-profiles mojo of the 
Help Plugin.</em>
-<a class="jxr_linenumber" name="L39" href="#L39">39</a>  <em 
class="jxr_javadoccomment"> */</em>
-<a class="jxr_linenumber" name="L40" href="#L40">40</a>  <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> 
<a name="ActiveProfilesMojoTest" 
href="../../../../../org/apache/maven/plugins/help/ActiveProfilesMojoTest.html#ActiveProfilesMojoTest">ActiveProfilesMojoTest</a>
 <strong class="jxr_keyword">extends</strong> AbstractMojoTestCase {
-<a class="jxr_linenumber" name="L41" href="#L41">41</a>  
-<a class="jxr_linenumber" name="L42" href="#L42">42</a>      <em 
class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L43" href="#L43">43</a>  <em 
class="jxr_javadoccomment">     * Tests that profiles activated in the settings 
are resolved.</em>
-<a class="jxr_linenumber" name="L44" href="#L44">44</a>  <em 
class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="L45" href="#L45">45</a>  <em 
class="jxr_javadoccomment">     * @throws Exception in case of errors.</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">void</strong> 
testActiveProfilesFromSettings() <strong class="jxr_keyword">throws</strong> 
Exception {
-<a class="jxr_linenumber" name="L48" href="#L48">48</a>          File testPom 
= <strong class="jxr_keyword">new</strong> File(getBasedir(), <span 
class="jxr_string">"target/test-classes/unit/active-profiles/plugin-config.xml"</span>);
-<a class="jxr_linenumber" name="L49" href="#L49">49</a>  
-<a class="jxr_linenumber" name="L50" href="#L50">50</a>          
ActiveProfilesMojo mojo = (ActiveProfilesMojo) lookupMojo(<span 
class="jxr_string">"active-profiles"</span>, testPom);
-<a class="jxr_linenumber" name="L51" href="#L51">51</a>  
-<a class="jxr_linenumber" name="L52" href="#L52">52</a>          MavenProject 
project = mock(MavenProject.<strong class="jxr_keyword">class</strong>);
-<a class="jxr_linenumber" name="L53" href="#L53">53</a>          
when(project.getInjectedProfileIds())
-<a class="jxr_linenumber" name="L54" href="#L54">54</a>                  
.thenReturn(getProfiles(Arrays.asList(<span 
class="jxr_string">"from-settings"</span>), 
Collections.&lt;String&gt;emptyList()));
-<a class="jxr_linenumber" name="L55" href="#L55">55</a>  
-<a class="jxr_linenumber" name="L56" href="#L56">56</a>          
setUpMojo(mojo, Arrays.asList(project), <span 
class="jxr_string">"from-settings.txt"</span>);
-<a class="jxr_linenumber" name="L57" href="#L57">57</a>  
-<a class="jxr_linenumber" name="L58" href="#L58">58</a>          
mojo.execute();
-<a class="jxr_linenumber" name="L59" href="#L59">59</a>  
-<a class="jxr_linenumber" name="L60" href="#L60">60</a>          String file = 
readFile(<span class="jxr_string">"from-settings.txt"</span>);
-<a class="jxr_linenumber" name="L61" href="#L61">61</a>          
assertTrue(file.contains(<span class="jxr_string">"from-settings (source: 
external)"</span>));
-<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>      <em 
class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L65" href="#L65">65</a>  <em 
class="jxr_javadoccomment">     * Tests that profiles activated in the POM are 
resolved.</em>
-<a class="jxr_linenumber" name="L66" href="#L66">66</a>  <em 
class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="L67" href="#L67">67</a>  <em 
class="jxr_javadoccomment">     * @throws Exception in case of errors.</em>
-<a class="jxr_linenumber" name="L68" href="#L68">68</a>  <em 
class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L69" href="#L69">69</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testActiveProfilesFromPom() <strong class="jxr_keyword">throws</strong> 
Exception {
-<a class="jxr_linenumber" name="L70" href="#L70">70</a>          File testPom 
= <strong class="jxr_keyword">new</strong> File(getBasedir(), <span 
class="jxr_string">"target/test-classes/unit/active-profiles/plugin-config.xml"</span>);
-<a class="jxr_linenumber" name="L71" href="#L71">71</a>  
-<a class="jxr_linenumber" name="L72" href="#L72">72</a>          
ActiveProfilesMojo mojo = (ActiveProfilesMojo) lookupMojo(<span 
class="jxr_string">"active-profiles"</span>, testPom);
-<a class="jxr_linenumber" name="L73" href="#L73">73</a>  
-<a class="jxr_linenumber" name="L74" href="#L74">74</a>          MavenProject 
project = mock(MavenProject.<strong class="jxr_keyword">class</strong>);
-<a class="jxr_linenumber" name="L75" href="#L75">75</a>          
when(project.getInjectedProfileIds())
-<a class="jxr_linenumber" name="L76" href="#L76">76</a>                  
.thenReturn(getProfiles(Collections.&lt;String&gt;emptyList(), 
Arrays.asList(<span class="jxr_string">"from-pom"</span>)));
-<a class="jxr_linenumber" name="L77" href="#L77">77</a>  
-<a class="jxr_linenumber" name="L78" href="#L78">78</a>          
setUpMojo(mojo, Arrays.asList(project), <span 
class="jxr_string">"from-pom.txt"</span>);
-<a class="jxr_linenumber" name="L79" href="#L79">79</a>  
-<a class="jxr_linenumber" name="L80" href="#L80">80</a>          
mojo.execute();
-<a class="jxr_linenumber" name="L81" href="#L81">81</a>  
-<a class="jxr_linenumber" name="L82" href="#L82">82</a>          String file = 
readFile(<span class="jxr_string">"from-pom.txt"</span>);
-<a class="jxr_linenumber" name="L83" href="#L83">83</a>          
assertTrue(file.contains(<span class="jxr_string">"from-pom (source: 
org.apache.maven.test:test:1.0)"</span>));
-<a class="jxr_linenumber" name="L84" href="#L84">84</a>      }
-<a class="jxr_linenumber" name="L85" href="#L85">85</a>  
-<a class="jxr_linenumber" name="L86" href="#L86">86</a>      <strong 
class="jxr_keyword">private</strong> Map&lt;String, List&lt;String&gt;&gt; 
getProfiles(List&lt;String&gt; externals, List&lt;String&gt; pom) {
-<a class="jxr_linenumber" name="L87" href="#L87">87</a>          
Map&lt;String, List&lt;String&gt;&gt; profiles = <strong 
class="jxr_keyword">new</strong> HashMap&lt;&gt;();
-<a class="jxr_linenumber" name="L88" href="#L88">88</a>          
profiles.put(<span class="jxr_string">"external"</span>, externals); <em 
class="jxr_comment">// from settings</em>
-<a class="jxr_linenumber" name="L89" href="#L89">89</a>          
profiles.put(<span class="jxr_string">"org.apache.maven.test:test:1.0"</span>, 
pom); <em class="jxr_comment">// from POM</em>
-<a class="jxr_linenumber" name="L90" href="#L90">90</a>          
profiles.put(<span class="jxr_string">""</span>, 
Collections.&lt;String&gt;emptyList()); <em class="jxr_comment">// from super 
POM</em>
-<a class="jxr_linenumber" name="L91" href="#L91">91</a>          <strong 
class="jxr_keyword">return</strong> profiles;
-<a class="jxr_linenumber" name="L92" href="#L92">92</a>      }
-<a class="jxr_linenumber" name="L93" href="#L93">93</a>  
-<a class="jxr_linenumber" name="L94" href="#L94">94</a>      <strong 
class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> 
setUpMojo(ActiveProfilesMojo mojo, List&lt;MavenProject&gt; projects, String 
output)
-<a class="jxr_linenumber" name="L95" href="#L95">95</a>              <strong 
class="jxr_keyword">throws</strong> IllegalAccessException {
-<a class="jxr_linenumber" name="L96" href="#L96">96</a>          
setVariableValueToObject(mojo, <span class="jxr_string">"projects"</span>, 
projects);
-<a class="jxr_linenumber" name="L97" href="#L97">97</a>          
setVariableValueToObject(
-<a class="jxr_linenumber" name="L98" href="#L98">98</a>                  mojo, 
<span class="jxr_string">"output"</span>, <strong 
class="jxr_keyword">new</strong> File(getBasedir(), <span 
class="jxr_string">"target/test-classes/unit/active-profiles/"</span> + 
output));
-<a class="jxr_linenumber" name="L99" href="#L99">99</a>      }
-<a class="jxr_linenumber" name="L100" href="#L100">100</a> 
-<a class="jxr_linenumber" name="L101" href="#L101">101</a>     <strong 
class="jxr_keyword">private</strong> String readFile(String path) <strong 
class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="L102" href="#L102">102</a>         <strong 
class="jxr_keyword">try</strong> (FileInputStream fis =
-<a class="jxr_linenumber" name="L103" href="#L103">103</a>                 
<strong class="jxr_keyword">new</strong> FileInputStream(<strong 
class="jxr_keyword">new</strong> File(getBasedir(), <span 
class="jxr_string">"target/test-classes/unit/active-profiles/"</span> + path))) 
{
-<a class="jxr_linenumber" name="L104" href="#L104">104</a>             <strong 
class="jxr_keyword">return</strong> IOUtil.toString(fis);
-<a class="jxr_linenumber" name="L105" href="#L105">105</a>         }
-<a class="jxr_linenumber" name="L106" href="#L106">106</a>     }
-<a class="jxr_linenumber" name="L107" href="#L107">107</a> }
-</pre>
-<hr/>
-<div id="footer">Copyright &#169; 2001&#x2013;2023 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</div>
-</body>
+<!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>ActiveProfilesMojoTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a 
href="../../../../../../testapidocs/org/apache/maven/plugins/help/ActiveProfilesMojoTest.html">View
 Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em 
class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em 
class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under 
one</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"> * 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.plugins.help;
+<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.FileInputStream;
+<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.util.Arrays;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong 
class="jxr_keyword">import</strong> java.util.Collections;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong 
class="jxr_keyword">import</strong> java.util.HashMap;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong 
class="jxr_keyword">import</strong> java.util.List;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong 
class="jxr_keyword">import</strong> java.util.Map;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong 
class="jxr_keyword">import</strong> 
org.apache.maven.plugin.testing.AbstractMojoTestCase;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong 
class="jxr_keyword">import</strong> org.apache.maven.project.MavenProject;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong 
class="jxr_keyword">import</strong> org.codehaus.plexus.util.IOUtil;
+<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> <strong class="jxr_keyword">static</strong> 
org.mockito.Mockito.mock;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <strong 
class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> 
org.mockito.Mockito.when;
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  <em 
class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  <em 
class="jxr_javadoccomment"> * Test class for the active-profiles mojo of the 
Help Plugin.</em>
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  <em 
class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> 
<a name="ActiveProfilesMojoTest" 
href="../../../../../org/apache/maven/plugins/help/ActiveProfilesMojoTest.html#ActiveProfilesMojoTest">ActiveProfilesMojoTest</a>
 <strong class="jxr_keyword">extends</strong> AbstractMojoTestCase {
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>  
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>      <em 
class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  <em 
class="jxr_javadoccomment">     * Tests that profiles activated in the settings 
are resolved.</em>
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>  <em 
class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>  <em 
class="jxr_javadoccomment">     * @throws Exception in case of errors.</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">void</strong> 
testActiveProfilesFromSettings() <strong class="jxr_keyword">throws</strong> 
Exception {
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>          File testPom 
= <strong class="jxr_keyword">new</strong> File(getBasedir(), <span 
class="jxr_string">"target/test-classes/unit/active-profiles/plugin-config.xml"</span>);
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>  
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>          
ActiveProfilesMojo mojo = (ActiveProfilesMojo) lookupMojo(<span 
class="jxr_string">"active-profiles"</span>, testPom);
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>  
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>          MavenProject 
project = mock(MavenProject.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>          
when(project.getInjectedProfileIds())
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>                  
.thenReturn(getProfiles(Arrays.asList(<span 
class="jxr_string">"from-settings"</span>), 
Collections.&lt;String&gt;emptyList()));
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>  
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>          
setUpMojo(mojo, Arrays.asList(project), <span 
class="jxr_string">"from-settings.txt"</span>);
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>  
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>          
mojo.execute();
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>  
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>          String file = 
readFile(<span class="jxr_string">"from-settings.txt"</span>);
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>          
assertTrue(file.contains(<span class="jxr_string">"from-settings (source: 
external)"</span>));
+<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>      <em 
class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>  <em 
class="jxr_javadoccomment">     * Tests that profiles activated in the POM are 
resolved.</em>
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>  <em 
class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>  <em 
class="jxr_javadoccomment">     * @throws Exception in case of errors.</em>
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>  <em 
class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testActiveProfilesFromPom() <strong class="jxr_keyword">throws</strong> 
Exception {
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>          File testPom 
= <strong class="jxr_keyword">new</strong> File(getBasedir(), <span 
class="jxr_string">"target/test-classes/unit/active-profiles/plugin-config.xml"</span>);
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>  
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>          
ActiveProfilesMojo mojo = (ActiveProfilesMojo) lookupMojo(<span 
class="jxr_string">"active-profiles"</span>, testPom);
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>  
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>          MavenProject 
project = mock(MavenProject.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>          
when(project.getInjectedProfileIds())
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>                  
.thenReturn(getProfiles(Collections.&lt;String&gt;emptyList(), 
Arrays.asList(<span class="jxr_string">"from-pom"</span>)));
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>  
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>          
setUpMojo(mojo, Arrays.asList(project), <span 
class="jxr_string">"from-pom.txt"</span>);
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>  
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>          
mojo.execute();
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>  
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>          String file = 
readFile(<span class="jxr_string">"from-pom.txt"</span>);
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>          
assertTrue(file.contains(<span class="jxr_string">"from-pom (source: 
org.apache.maven.test:test:1.0)"</span>));
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>      }
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>  
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>      <strong 
class="jxr_keyword">private</strong> Map&lt;String, List&lt;String&gt;&gt; 
getProfiles(List&lt;String&gt; externals, List&lt;String&gt; pom) {
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>          
Map&lt;String, List&lt;String&gt;&gt; profiles = <strong 
class="jxr_keyword">new</strong> HashMap&lt;&gt;();
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>          
profiles.put(<span class="jxr_string">"external"</span>, externals); <em 
class="jxr_comment">// from settings</em>
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>          
profiles.put(<span class="jxr_string">"org.apache.maven.test:test:1.0"</span>, 
pom); <em class="jxr_comment">// from POM</em>
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>          
profiles.put(<span class="jxr_string">""</span>, 
Collections.&lt;String&gt;emptyList()); <em class="jxr_comment">// from super 
POM</em>
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>          <strong 
class="jxr_keyword">return</strong> profiles;
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>      }
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>  
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>      <strong 
class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> 
setUpMojo(ActiveProfilesMojo mojo, List&lt;MavenProject&gt; projects, String 
output)
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>              <strong 
class="jxr_keyword">throws</strong> IllegalAccessException {
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>          
setVariableValueToObject(mojo, <span class="jxr_string">"projects"</span>, 
projects);
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>          
setVariableValueToObject(
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>                  mojo, 
<span class="jxr_string">"output"</span>, <strong 
class="jxr_keyword">new</strong> File(getBasedir(), <span 
class="jxr_string">"target/test-classes/unit/active-profiles/"</span> + 
output));
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>      }
+<a class="jxr_linenumber" name="L100" href="#L100">100</a> 
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>     <strong 
class="jxr_keyword">private</strong> String readFile(String path) <strong 
class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L102" href="#L102">102</a>         <strong 
class="jxr_keyword">try</strong> (FileInputStream fis =
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>                 
<strong class="jxr_keyword">new</strong> FileInputStream(<strong 
class="jxr_keyword">new</strong> File(getBasedir(), <span 
class="jxr_string">"target/test-classes/unit/active-profiles/"</span> + path))) 
{
+<a class="jxr_linenumber" name="L104" href="#L104">104</a>             <strong 
class="jxr_keyword">return</strong> IOUtil.toString(fis);
+<a class="jxr_linenumber" name="L105" href="#L105">105</a>         }
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>     }
+<a class="jxr_linenumber" name="L107" href="#L107">107</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2001&#x2013;2024 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</div>
+</body>
 </html>
\ No newline at end of file


Reply via email to