You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by mi...@apache.org on 2018/03/07 21:32:10 UTC

svn commit: r1026418 [33/43] - in /websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugins/help/ apidocs/org/apache/maven/plugins/help/class-use/ apidocs/resources/ css/ examples/ fon...

Modified: websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/usage.html
==============================================================================
--- websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/usage.html (original)
+++ websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/usage.html Wed Mar  7 21:32:07 2018
@@ -1,190 +1,162 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at Feb 23, 2013
- | Rendered using Apache Maven Stylus Skin 1.5
+ | Generated by Apache Maven Doxia Site Renderer 1.8 from src\site\apt/usage.apt at 2018-03-07
+ | Rendered using Apache Maven Fluido Skin 1.7
 -->
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
-    <title>Maven Help Plugin - Usage</title>
-    <style type="text/css" media="all">
-      @import url("./css/maven-base.css");
-      @import url("./css/maven-theme.css");
-      @import url("./css/site.css");
-    </style>
-    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
-        <meta name="author" content="John Casey
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="author" content="John Casey
 Maria Odea Ching
 Vincent Siveton" />
-        <meta name="Date-Creation-yyyymmdd" content="20100121" />
-    <meta name="Date-Revision-yyyymmdd" content="20130223" />
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-                                                    
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
-                                                        
-<script type="text/javascript">_uacct = "UA-140879-1";
-        urchinTracker();</script>
-                              </head>
-  <body class="composite">
-    <div id="banner">
-                                      <a href="../../" id="bannerLeft">
-                                                <img src="../../images/apache-maven-project-2.png" alt="" />
-                </a>
-                        <span id="bannerRight">
-                                                <img src="../../images/maven-logo-2.gif" alt="" />
-                </span>
-            <div class="clear">
-        <hr/>
+    <meta name="Date-Creation-yyyymmdd" content="20100121" />
+    <meta name="Date-Revision-yyyymmdd" content="20180307" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Maven Help Plugin &#x2013; Usage</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.7.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+    <script type="text/javascript" src="./js/apache-maven-fluido-1.7.min.js"></script>
+    <!-- Google Analytics -->
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-140879-1']);
+      _gaq.push(['_trackPageview']);
+      (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+      })();
+    </script>
+  </head>
+  <body class="topBarDisabled">
+    <div class="container-fluid">
+      <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>
-    <div id="breadcrumbs">
-            
-                                   <div class="xleft">
-                          <a href="http://www.apache.org/" class="externalLink">Apache</a>
-        &gt;
-                  <a href="../../index.html">Maven</a>
-        &gt;
-                  <a href="../index.html">Plugins</a>
-        &gt;
-                      <a href="./">Maven Help Plugin</a>
-        &gt;
-        Usage
-        </div>
-            <div class="xright">        
-                                    Last Published: 2013-02-23
-              &nbsp;| Version: 2.2
-            </div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="leftColumn">
-      <div id="navcolumn">
-             
-                                                   <h5>Overview</h5>
-                  <ul>
-                  <li class="none">
-                  <a href="index.html">Introduction</a>
-            </li>
-                  <li class="none">
-                  <a href="plugin-info.html">Goals</a>
-            </li>
-                  <li class="none">
-            <strong>Usage</strong>
-          </li>
-                  <li class="none">
-                  <a href="faq.html">FAQ</a>
-            </li>
-          </ul>
-                       <h5>Examples</h5>
-                  <ul>
-                  <li class="none">
-                  <a href="examples/describe-configuration.html">Configuring Describe Goal</a>
-            </li>
-          </ul>
-                       <h5>Project Documentation</h5>
-                  <ul>
-                                                                                                                                                                                                                                                                                                              <li class="collapsed">
-                  <a href="project-info.html">Project Information</a>
-                  </li>
-                                                                                                                                                                                                                                                                          <li class="collapsed">
-                  <a href="project-reports.html">Project Reports</a>
-                  </li>
-          </ul>
-                       <h5>Maven Projects</h5>
-                  <ul>
-                  <li class="none">
-                  <a href="../../ant-tasks/index.html">Ant Tasks</a>
-            </li>
-                  <li class="none">
-                  <a href="../../archetype/index.html">Archetype</a>
-            </li>
-                  <li class="none">
-                  <a href="../../doxia/index.html">Doxia</a>
-            </li>
-                  <li class="none">
-                  <a href="../../jxr/index.html">JXR</a>
-            </li>
-                  <li class="none">
-                  <a href="../../maven-1.x/index.html">Maven 1.x</a>
-            </li>
-                  <li class="none">
-                  <a href="../../index.html">Maven 2 & 3</a>
-            </li>
-                  <li class="none">
-                  <a href="../../pom/index.html">Parent POMs</a>
-            </li>
-                  <li class="none">
-                  <a href="../index.html">Plugins</a>
-            </li>
-                  <li class="none">
-                  <a href="../../plugin-tools/index.html">Plugin Tools</a>
-            </li>
-                  <li class="none">
-                  <a href="../../scm/index.html">SCM</a>
-            </li>
-                  <li class="none">
-                  <a href="../../shared/index.html">Shared Components</a>
-            </li>
-                  <li class="none">
-                  <a href="../../skins/index.html">Skins</a>
-            </li>
-                  <li class="none">
-                  <a href="../../surefire/index.html">Surefire</a>
-            </li>
-                  <li class="none">
-                  <a href="../../wagon/index.html">Wagon</a>
-            </li>
-          </ul>
-                       <h5>ASF</h5>
-                  <ul>
-                  <li class="none">
-                  <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
-            </li>
-                  <li class="none">
-                  <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
-            </li>
-                  <li class="none">
-                  <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
-            </li>
-                  <li class="none">
-                  <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a>
-            </li>
-          </ul>
-                                 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
-          <img alt="Built by Maven" src="./images/logos/maven-feather.png"/>
-        </a>
-                       
-                               </div>
-    </div>
-    <div id="bodyColumn">
-      <div id="contentBox">
-        <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements.  See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership.  The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License.  You may obtain a copy of the License at --><!--  --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!--  --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied.  See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
 format.html --><div class="section"><h2>Usage<a name="Usage"></a></h2><p>Below are the different goals and the minimalist configurations of the Help Plugin.</p><div class="section"><h3>The <tt>help:active-profiles</tt> Goal<a name="The_help:active-profiles_Goal"></a></h3><p>The <tt><a href="./active-profiles-mojo.html">active-profiles</a></tt> 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, <tt>settings.xml</tt> or <tt>profiles.xml</tt>).</p><p>You can execute this goal using the following command:</p><div class="source"><pre># mvn help:active-profiles
-</pre></div><p><b>Note</b>: you could also use the <tt>output</tt> parameter to redirect output to a file.</p></div><div class="section"><h3>The <tt>help:all-profiles</tt> Goal<a name="The_help:all-profiles_Goal"></a></h3><p>The <tt><a href="./all-profiles-mojo.html">all-profiles</a></tt> 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># mvn help:all-profiles
-</pre></div><p><b>Note</b>: you could also use the <tt>output</tt> parameter to redirect output to a file.</p></div><div class="section"><h3>The <tt>help:describe</tt> Goal<a name="The_help:describe_Goal"></a></h3><p>The <tt><a href="./describe-mojo.html">describe</a></tt> goal is used to discover information about Maven plugins. Given either a <tt>plugin</tt> or a <tt>groupId</tt>, an <tt>artifactId</tt> and optionally a <tt>version</tt>, the mojo will lookup that plugin and output details about it. If the user also specifies which <tt>mojo</tt> to describe, the <tt>describe</tt> mojo will limit output to the details of that mojo, including parameters.</p><p>You can execute this goal using the following command:</p><div class="source"><pre># mvn help:describe -DgroupId=org.somewhere -DartifactId=some-plugin -Dversion=0.0.0
-</pre></div><p><b>Note</b>: you could also use the <tt>output</tt> 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></div><div class="section"><h3>The <tt>help:effective-pom</tt> Goal<a name="The_help:effective-pom_Goal"></a></h3><p>The <tt><a href="./effective-pom-mojo.html">effective-pom</a></tt> 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># mvn help:effective-pom
-</pre></div><p><b>Note</b>: you could also use the <tt>output</tt> parameter to redirect output to a file.</p></div><div class="section"><h3>The <tt>help:effective-settings</tt> Goal<a name="The_help:effective-settings_Goal"></a></h3><p>The <tt><a href="./effective-settings-mojo.html">effective-settings</a></tt> 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># mvn help:effective-settings
-</pre></div><p><b>Note</b>: you could also use the <tt>output</tt> parameter to redirect output to a file.</p></div><div class="section"><h3>The <tt>help:system</tt> Goal<a name="The_help:system_Goal"></a></h3><p>The <tt><a href="./system-mojo.html">system</a></tt> 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># mvn help:system
-</pre></div><p><b>Note</b>: you could also use the <tt>output</tt> parameter to redirect output to a file.</p></div><div class="section"><h3>The <tt>expressions</tt> Goal<a name="The_expressions_Goal"></a></h3><p>When you develop a new Maven Plugin, you could need to use some expressions given by Maven. To list them, just call the <a href="./expressions-mojo.html">expressions</a> goal:</p><div class="source"><pre># mvn help:expressions
-...
-[INFO] [help:expressions]
-[INFO] Maven supports the following Plugin expressions:
-
-${project}: No description available.
-
-${settings}: No description available.
-
-${session}: No description available.
-
-${plugin}: No description available.
 
-${rootless}: No description available.
-
-${settings.interactiveMode}: If false, flags the system to skip prompting the
-user for any information, or holding up the build waiting for any input. NOTE:
-It's also possible to switch to batch (ie. non-interactive) mode using the '-B'
-command-line option.
-...
-</pre></div><p><b>Note</b>: you could also use the <tt>output</tt> parameter to redirect output to a file.</p></div><div class="section"><h3>The <tt>help:evaluate</tt> Goal<a name="The_help:evaluate_Goal"></a></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># mvn help:evaluate -Dartifact=org.apache.maven.plugins:maven-help-plugin
+      <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</li>
+        <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2018-03-07</li>
+          <li id="projectVersion" class="pull-right">Version: 3.0.0</li>
+        </ul>
+      </div>
+      <div class="row-fluid">
+        <div id="leftColumn" class="span2">
+          <div 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="none"></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="http://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="../../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://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>
+<form id="search-form" action="https://www.google.com/search" method="get" >
+  <input value="$sitesearchValue" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
+          <hr />
+          <div id="poweredBy">
+            <div class="clear"></div>
+            <div class="clear"></div>
+    <div id="twitter">
+    <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+    </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>
+        </div>
+        <div id="bodyColumn"  class="span10" >
+<div class="section">
+<h2><a name="Usage"></a>Usage</h2>
+<p>Below are the different goals and the minimalist configurations of the Help Plugin.</p>
+<div class="section">
+<h3><a name="The_help:active-profiles_Goal"></a>The <tt>help:active-profiles</tt> Goal</h3>
+<p>The <tt><a href="./active-profiles-mojo.html">active-profiles</a></tt> 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, <tt>settings.xml</tt> or <tt>profiles.xml</tt>).</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 <tt>output</tt> parameter to redirect output to a file.</p></div>
+<div class="section">
+<h3><a name="The_help:all-profiles_Goal"></a>The <tt>help:all-profiles</tt> Goal</h3>
+<p>The <tt><a href="./all-profiles-mojo.html">all-profiles</a></tt> 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 <tt>output</tt> parameter to redirect output to a file.</p></div>
+<div class="section">
+<h3><a name="The_help:describe_Goal"></a>The <tt>help:describe</tt> Goal</h3>
+<p>The <tt><a href="./describe-mojo.html">describe</a></tt> goal is used to discover information about Maven plugins. Given either a <tt>plugin</tt> or a <tt>groupId</tt>, an <tt>artifactId</tt> and optionally a <tt>version</tt>, the goal will lookup that plugin and output details about it. If the user also specifies which <tt>goal</tt> to describe, the <tt>describe</tt> 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 <tt>output</tt> 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></div>
+<div class="section">
+<h3><a name="The_help:effective-pom_Goal"></a>The <tt>help:effective-pom</tt> Goal</h3>
+<p>The <tt><a href="./effective-pom-mojo.html">effective-pom</a></tt> 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 <tt>output</tt> parameter to redirect output to a file.</p></div>
+<div class="section">
+<h3><a name="The_help:effective-settings_Goal"></a>The <tt>help:effective-settings</tt> Goal</h3>
+<p>The <tt><a href="./effective-settings-mojo.html">effective-settings</a></tt> 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 <tt>output</tt> parameter to redirect output to a file.</p></div>
+<div class="section">
+<h3><a name="The_help:system_Goal"></a>The <tt>help:system</tt> Goal</h3>
+<p>The <tt><a href="./system-mojo.html">system</a></tt> 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 <tt>output</tt> parameter to redirect output to a file.</p></div>
+<div class="section">
+<h3><a name="The_help:evaluate_Goal"></a>The <tt>help:evaluate</tt> 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?:
@@ -196,23 +168,21 @@ ${project.none}
 [INFO]
 null object or invalid expression
 ...
-</pre></div><p>The <tt>artifact</tt> 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 by <tt>help:expressions</tt> goal, i.e. ${project}, ${project.licenses}, ${settings}, ${settings.profiles}.</p></div></div>
+</pre></div>
+<p>The <tt>artifact</tt> 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"> <tt>PluginParameterExpressionEvaluator</tt></a> class.</p></div></div>
+        </div>
       </div>
     </div>
-    <div class="clear">
-      <hr/>
-    </div>
-    <div id="footer">
-      <div class="xright">
-        &#169;            2001-2013
-              The Apache Software Foundation
-            
-                          - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
-        Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
-      </div>
-      <div class="clear">
-        <hr/>
+    <hr/>
+    <footer>
+      <div class="container-fluid">
+        <div class="row-fluid">
+            <p>Copyright &copy;2001&#x2013;2018
+<a href="https://www.apache.org/">The Apache Software Foundation</a>.
+All rights reserved.</p>
+        </div>
       </div>
-    </div>
+    </footer>
   </body>
 </html>
\ No newline at end of file

Modified: websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/allclasses-frame.html
==============================================================================
--- websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/allclasses-frame.html (original)
+++ websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/allclasses-frame.html Wed Mar  7 21:32:07 2018
@@ -1,5 +1,5 @@
 
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<!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" />
@@ -12,16 +12,22 @@
 
 		<ul>
 						<li>
+				<a href="org/apache/maven/plugins/help/ActiveProfilesMojoTest.html" target="classFrame">ActiveProfilesMojoTest</a>
+			</li>
+						<li>
+				<a href="org/apache/maven/plugins/help/AllProfilesMojoTest.html" target="classFrame">AllProfilesMojoTest</a>
+			</li>
+						<li>
 				<a href="org/apache/maven/plugins/help/stubs/DefaultMavenProjectStub.html" target="classFrame">DefaultMavenProjectStub</a>
 			</li>
 						<li>
 				<a href="org/apache/maven/plugins/help/DescribeMojoTest.html" target="classFrame">DescribeMojoTest</a>
 			</li>
 						<li>
-				<a href="org/apache/maven/plugins/help/ExpressionsMojoTest.html" target="classFrame">ExpressionsMojoTest</a>
+				<a href="org/apache/maven/plugins/help/EvaluateMojoTest.html" target="classFrame">EvaluateMojoTest</a>
 			</li>
 						<li>
-				<a href="org/apache/maven/plugins/help/HelpUtilTest.html" target="classFrame">HelpUtilTest</a>
+				<a href="org/apache/maven/plugins/help/EvaluateMojoTest.html" target="classFrame">InterceptingLog</a>
 			</li>
 			      </ul>
 

Modified: websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/index.html
==============================================================================
--- websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/index.html (original)
+++ websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/index.html Wed Mar  7 21:32:07 2018
@@ -1,9 +1,10 @@
 
 <!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>Maven Help Plugin 2.2 Reference</title>
+		<title>Apache Maven Help Plugin 3.0.0 Reference</title>
 	</head>
     <frameset cols="20%,80%">
 		<frameset rows="30%,70%">

Added: websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/org/apache/maven/plugins/help/ActiveProfilesMojoTest.html
==============================================================================
--- websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/org/apache/maven/plugins/help/ActiveProfilesMojoTest.html (added)
+++ websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/org/apache/maven/plugins/help/ActiveProfilesMojoTest.html Wed Mar  7 21:32:07 2018
@@ -0,0 +1,146 @@
+<!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>   <strong class="jxr_keyword">package</strong> org.apache.maven.plugins.help;
+<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." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</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> <strong class="jxr_keyword">static</strong> org.mockito.Mockito.mock;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.mockito.Mockito.when;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> java.io.File;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> java.io.FileInputStream;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> java.io.FileNotFoundException;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> java.io.IOException;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> java.util.Arrays;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> java.util.Collections;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong class="jxr_keyword">import</strong> java.util.HashMap;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <strong class="jxr_keyword">import</strong> java.util.Map;
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.AbstractMojoTestCase;
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.project.MavenProject;
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  <strong class="jxr_keyword">import</strong> org.codehaus.plexus.util.IOUtil;
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  
+<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>  <em class="jxr_javadoccomment"> * Test class for the active-profiles mojo of the Help Plugin.</em>
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/maven/plugins/help/ActiveProfilesMojoTest.html">ActiveProfilesMojoTest</a>
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>      <strong class="jxr_keyword">extends</strong> AbstractMojoTestCase
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>  {
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>  
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>      @Override
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>      <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> setUp()
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>          <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>      {
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>          <strong class="jxr_keyword">super</strong>.setUp();
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>      }
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>  
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>  <em class="jxr_javadoccomment">     * Tests that profiles activated in the settings are resolved.</em>
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>  <em class="jxr_javadoccomment">     * </em>
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>  <em class="jxr_javadoccomment">     * @throws Exception in case of errors.</em>
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testActiveProfilesFromSettings()
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>          <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>      {
+<a class="jxr_linenumber" name="L61" href="#L61">61</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="L62" href="#L62">62</a>  
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>          ActiveProfilesMojo mojo = (ActiveProfilesMojo) lookupMojo( <span class="jxr_string">"active-profiles"</span>, testPom );
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>  
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>          MavenProject project = mock( MavenProject.<strong class="jxr_keyword">class</strong> );
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>          when( project.getInjectedProfileIds() ).thenReturn( getProfiles( Arrays.asList( <span class="jxr_string">"from-settings"</span> ),
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>                                                                           Collections.&lt;String&gt;emptyList() ) );
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>  
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>          setUpMojo( mojo, Arrays.asList( project ), <span class="jxr_string">"from-settings.txt"</span> );
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>  
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>          mojo.execute();
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>  
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>          String file = readFile( <span class="jxr_string">"from-settings.txt"</span> );
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>          assertTrue( file.contains( <span class="jxr_string">"from-settings (source: external)"</span> ) );
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>      }
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>  
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>  <em class="jxr_javadoccomment">     * Tests that profiles activated in the POM are resolved.</em>
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>  <em class="jxr_javadoccomment">     * </em>
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>  <em class="jxr_javadoccomment">     * @throws Exception in case of errors.</em>
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testActiveProfilesFromPom()
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>          <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>      {
+<a class="jxr_linenumber" name="L85" href="#L85">85</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="L86" href="#L86">86</a>  
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>          ActiveProfilesMojo mojo = (ActiveProfilesMojo) lookupMojo( <span class="jxr_string">"active-profiles"</span>, testPom );
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>  
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>          MavenProject project = mock( MavenProject.<strong class="jxr_keyword">class</strong> );
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>          when( project.getInjectedProfileIds() ).thenReturn( getProfiles( Collections.&lt;String&gt;emptyList(),
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>                                                                           Arrays.asList( <span class="jxr_string">"from-pom"</span> ) ) );
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>  
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>          setUpMojo( mojo, Arrays.asList( project ), <span class="jxr_string">"from-pom.txt"</span> );
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>  
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>          mojo.execute();
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>  
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>          String file = readFile( <span class="jxr_string">"from-pom.txt"</span> );
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>          assertTrue( file.contains( <span class="jxr_string">"from-pom (source: org.apache.maven.test:test:1.0)"</span> ) );
+<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> Map&lt;String, List&lt;String&gt;&gt; getProfiles( List&lt;String&gt; externals, List&lt;String&gt; pom )
+<a class="jxr_linenumber" name="L102" href="#L102">102</a>     {
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>         Map&lt;String, List&lt;String&gt;&gt; profiles = <strong class="jxr_keyword">new</strong> HashMap&lt;String, List&lt;String&gt;&gt;();
+<a class="jxr_linenumber" name="L104" href="#L104">104</a>         profiles.put( <span class="jxr_string">"external"</span>, externals ); <em class="jxr_comment">// from settings</em>
+<a class="jxr_linenumber" name="L105" href="#L105">105</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="L106" href="#L106">106</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="L107" href="#L107">107</a>         <strong class="jxr_keyword">return</strong> profiles;
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>     }
+<a class="jxr_linenumber" name="L109" href="#L109">109</a> 
+<a class="jxr_linenumber" name="L110" href="#L110">110</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="L111" href="#L111">111</a>         <strong class="jxr_keyword">throws</strong> IllegalAccessException
+<a class="jxr_linenumber" name="L112" href="#L112">112</a>     {
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>         setVariableValueToObject( mojo, <span class="jxr_string">"projects"</span>, projects );
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>         setVariableValueToObject( mojo, <span class="jxr_string">"output"</span>,
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>                                   <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="L116" href="#L116">116</a>     }
+<a class="jxr_linenumber" name="L117" href="#L117">117</a> 
+<a class="jxr_linenumber" name="L118" href="#L118">118</a>     <strong class="jxr_keyword">private</strong> String readFile( String path )
+<a class="jxr_linenumber" name="L119" href="#L119">119</a>         <strong class="jxr_keyword">throws</strong> FileNotFoundException, IOException
+<a class="jxr_linenumber" name="L120" href="#L120">120</a>     {
+<a class="jxr_linenumber" name="L121" href="#L121">121</a>         FileInputStream fis = <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L122" href="#L122">122</a>         <strong class="jxr_keyword">try</strong>
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>         {
+<a class="jxr_linenumber" name="L124" href="#L124">124</a>             fis = <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="L125" href="#L125">125</a>             <strong class="jxr_keyword">return</strong> IOUtil.toString( fis );
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>         }
+<a class="jxr_linenumber" name="L127" href="#L127">127</a>         <strong class="jxr_keyword">finally</strong>
+<a class="jxr_linenumber" name="L128" href="#L128">128</a>         {
+<a class="jxr_linenumber" name="L129" href="#L129">129</a>             IOUtil.close( fis );
+<a class="jxr_linenumber" name="L130" href="#L130">130</a>         }
+<a class="jxr_linenumber" name="L131" href="#L131">131</a>     }
+<a class="jxr_linenumber" name="L132" href="#L132">132</a> 
+<a class="jxr_linenumber" name="L133" href="#L133">133</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2001&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>
\ No newline at end of file

Added: websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/org/apache/maven/plugins/help/AllProfilesMojoTest.html
==============================================================================
--- websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/org/apache/maven/plugins/help/AllProfilesMojoTest.html (added)
+++ websites/production/maven/components/plugins-archives/maven-help-plugin-LATEST/xref-test/org/apache/maven/plugins/help/AllProfilesMojoTest.html Wed Mar  7 21:32:07 2018
@@ -0,0 +1,233 @@
+<!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>AllProfilesMojoTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/maven/plugins/help/AllProfilesMojoTest.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.plugins.help;
+<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." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</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.File;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> java.io.FileInputStream;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong class="jxr_keyword">import</strong> java.io.FileNotFoundException;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> java.io.IOException;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> java.util.ArrayList;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> java.util.Arrays;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> java.util.Collections;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.model.Profile;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.monitor.logging.DefaultLog;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.Mojo;
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.AbstractMojoTestCase;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.stubs.MavenProjectStub;
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.project.MavenProject;
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  <strong class="jxr_keyword">import</strong> org.codehaus.plexus.logging.Logger;
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  <strong class="jxr_keyword">import</strong> org.codehaus.plexus.logging.LoggerManager;
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  <strong class="jxr_keyword">import</strong> org.codehaus.plexus.util.IOUtil;
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  <em class="jxr_javadoccomment"> * Test class for the all-profiles mojo of the Help Plugin.</em>
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/maven/plugins/help/AllProfilesMojoTest.html">AllProfilesMojoTest</a>
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>      <strong class="jxr_keyword">extends</strong> AbstractMojoTestCase
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>  {
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>  
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>      <strong class="jxr_keyword">private</strong> <a href="../../../../../org/apache/maven/plugins/help/EvaluateMojoTest.html">InterceptingLog</a> interceptingLogger;
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>  
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>      @Override
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>      <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> setUp()
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>          <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>      {
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>          <strong class="jxr_keyword">super</strong>.setUp();
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>          interceptingLogger =
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>              <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/maven/plugins/help/EvaluateMojoTest.html">InterceptingLog</a>( getContainer().lookup( LoggerManager.<strong class="jxr_keyword">class</strong> ).getLoggerForComponent( Mojo.ROLE ) );
+<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>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>  <em class="jxr_javadoccomment">     * Tests the case when no profiles are present for the projects.</em>
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>  <em class="jxr_javadoccomment">     * </em>
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>  <em class="jxr_javadoccomment">     * @throws Exception in case of errors.</em>
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testNoProfiles()
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>          <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>      {
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>          File testPom = <strong class="jxr_keyword">new</strong> File( getBasedir(), <span class="jxr_string">"target/test-classes/unit/all-profiles/plugin-config.xml"</span> );
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>  
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>          AllProfilesMojo mojo = (AllProfilesMojo) lookupMojo( <span class="jxr_string">"all-profiles"</span>, testPom );
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>  
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>          setUpMojo( mojo, Arrays.&lt;MavenProject&gt;asList( <strong class="jxr_keyword">new</strong> MavenProjectStub() ),
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>                     Collections.&lt;org.apache.maven.settings.Profile&gt;emptyList(), <span class="jxr_string">"empty.txt"</span> );
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>  
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>          mojo.execute();
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>  
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>          assertTrue( interceptingLogger.warnLogs.contains( <span class="jxr_string">"No profiles detected!"</span> ) );
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>      }
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>      
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>  <em class="jxr_javadoccomment">     * Tests the case when profiles are present in the POM and in a parent POM.</em>
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>  <em class="jxr_javadoccomment">     * </em>
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>  <em class="jxr_javadoccomment">     * @throws Exception in case of errors.</em>
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testProfileFromPom()
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>          <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>      {
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>          File testPom = <strong class="jxr_keyword">new</strong> File( getBasedir(), <span class="jxr_string">"target/test-classes/unit/all-profiles/plugin-config.xml"</span> );
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>  
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>          AllProfilesMojo mojo = (AllProfilesMojo) lookupMojo( <span class="jxr_string">"all-profiles"</span>, testPom );
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>  
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>          MavenProjectStub project = <strong class="jxr_keyword">new</strong> MavenProjectStub();
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>          project.getModel().setProfiles( Arrays.asList( newPomProfile( <span class="jxr_string">"pro-1"</span>, <span class="jxr_string">"pom"</span> ), newPomProfile( <span class="jxr_string">"pro-2"</span>, <span class="jxr_string">"pom"</span> ) ) );
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>          project.setParent( <strong class="jxr_keyword">new</strong> MavenProjectStub() );
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>          project.getParent().getModel().setProfiles( Arrays.asList( newPomProfile( <span class="jxr_string">"pro-3"</span>, <span class="jxr_string">"pom"</span> ) ) );
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>          project.setActiveProfiles( Arrays.asList( newPomProfile( <span class="jxr_string">"pro-1"</span>, <span class="jxr_string">"pom"</span> ) ) );
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>          
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>          setUpMojo( mojo, Arrays.&lt;MavenProject&gt;asList( project ),
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>                     Collections.&lt;org.apache.maven.settings.Profile&gt;emptyList(), <span class="jxr_string">"profiles-from-pom.txt"</span> );
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>  
+<a class="jxr_linenumber" name="L100" href="#L100">100</a>         mojo.execute();
+<a class="jxr_linenumber" name="L101" href="#L101">101</a> 
+<a class="jxr_linenumber" name="L102" href="#L102">102</a>         String file = readFile( <span class="jxr_string">"profiles-from-pom.txt"</span> );
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>         assertTrue( file.contains( <span class="jxr_string">"Profile Id: pro-1 (Active: true , Source: pom)"</span> ) );
+<a class="jxr_linenumber" name="L104" href="#L104">104</a>         assertTrue( file.contains( <span class="jxr_string">"Profile Id: pro-2 (Active: false , Source: pom)"</span> ) );
+<a class="jxr_linenumber" name="L105" href="#L105">105</a>         assertTrue( file.contains( <span class="jxr_string">"Profile Id: pro-3 (Active: false , Source: pom)"</span> ) );
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>     }
+<a class="jxr_linenumber" name="L107" href="#L107">107</a> 
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L109" href="#L109">109</a> <em class="jxr_javadoccomment">     * Tests the case when active profiles are present in the parent POM.</em>
+<a class="jxr_linenumber" name="L110" href="#L110">110</a> <em class="jxr_javadoccomment">     * </em>
+<a class="jxr_linenumber" name="L111" href="#L111">111</a> <em class="jxr_javadoccomment">     * @throws Exception in case of errors.</em>
+<a class="jxr_linenumber" name="L112" href="#L112">112</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testProfileFromParentPom()
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>         <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>     {
+<a class="jxr_linenumber" name="L116" href="#L116">116</a>         File testPom = <strong class="jxr_keyword">new</strong> File( getBasedir(), <span class="jxr_string">"target/test-classes/unit/all-profiles/plugin-config.xml"</span> );
+<a class="jxr_linenumber" name="L117" href="#L117">117</a> 
+<a class="jxr_linenumber" name="L118" href="#L118">118</a>         AllProfilesMojo mojo = (AllProfilesMojo) lookupMojo( <span class="jxr_string">"all-profiles"</span>, testPom );
+<a class="jxr_linenumber" name="L119" href="#L119">119</a> 
+<a class="jxr_linenumber" name="L120" href="#L120">120</a>         MavenProjectStub project = <strong class="jxr_keyword">new</strong> MavenProjectStub();
+<a class="jxr_linenumber" name="L121" href="#L121">121</a>         project.setParent( <strong class="jxr_keyword">new</strong> MavenProjectStub() );
+<a class="jxr_linenumber" name="L122" href="#L122">122</a>         project.getParent().getModel().setProfiles( Arrays.asList( newPomProfile( <span class="jxr_string">"pro-1"</span>, <span class="jxr_string">"pom"</span> ) ) );
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>         project.getParent().setActiveProfiles( Arrays.asList( newPomProfile( <span class="jxr_string">"pro-1"</span>, <span class="jxr_string">"pom"</span> ) ) );
+<a class="jxr_linenumber" name="L124" href="#L124">124</a>         
+<a class="jxr_linenumber" name="L125" href="#L125">125</a>         setUpMojo( mojo, Arrays.&lt;MavenProject&gt;asList( project ),
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>                    Collections.&lt;org.apache.maven.settings.Profile&gt;emptyList(), <span class="jxr_string">"profiles-from-parent-pom.txt"</span> );
+<a class="jxr_linenumber" name="L127" href="#L127">127</a> 
+<a class="jxr_linenumber" name="L128" href="#L128">128</a>         mojo.execute();
+<a class="jxr_linenumber" name="L129" href="#L129">129</a> 
+<a class="jxr_linenumber" name="L130" href="#L130">130</a>         String file = readFile( <span class="jxr_string">"profiles-from-parent-pom.txt"</span> );
+<a class="jxr_linenumber" name="L131" href="#L131">131</a>         assertTrue( file.contains( <span class="jxr_string">"Profile Id: pro-1 (Active: true , Source: pom)"</span> ) );
+<a class="jxr_linenumber" name="L132" href="#L132">132</a>     }
+<a class="jxr_linenumber" name="L133" href="#L133">133</a>     
+<a class="jxr_linenumber" name="L134" href="#L134">134</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L135" href="#L135">135</a> <em class="jxr_javadoccomment">     * Tests the case when profiles are present in the settings.</em>
+<a class="jxr_linenumber" name="L136" href="#L136">136</a> <em class="jxr_javadoccomment">     * </em>
+<a class="jxr_linenumber" name="L137" href="#L137">137</a> <em class="jxr_javadoccomment">     * @throws Exception in case of errors.</em>
+<a class="jxr_linenumber" name="L138" href="#L138">138</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L139" href="#L139">139</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testProfileFromSettings()
+<a class="jxr_linenumber" name="L140" href="#L140">140</a>         <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="L141" href="#L141">141</a>     {
+<a class="jxr_linenumber" name="L142" href="#L142">142</a>         File testPom = <strong class="jxr_keyword">new</strong> File( getBasedir(), <span class="jxr_string">"target/test-classes/unit/all-profiles/plugin-config.xml"</span> );
+<a class="jxr_linenumber" name="L143" href="#L143">143</a> 
+<a class="jxr_linenumber" name="L144" href="#L144">144</a>         AllProfilesMojo mojo = (AllProfilesMojo) lookupMojo( <span class="jxr_string">"all-profiles"</span>, testPom );
+<a class="jxr_linenumber" name="L145" href="#L145">145</a> 
+<a class="jxr_linenumber" name="L146" href="#L146">146</a>         MavenProject project = <strong class="jxr_keyword">new</strong> MavenProjectStub();
+<a class="jxr_linenumber" name="L147" href="#L147">147</a>         project.setActiveProfiles( Arrays.asList( newPomProfile( <span class="jxr_string">"settings-1"</span>, <span class="jxr_string">"settings.xml"</span> ) ) );
+<a class="jxr_linenumber" name="L148" href="#L148">148</a>         
+<a class="jxr_linenumber" name="L149" href="#L149">149</a>         List&lt;org.apache.maven.settings.Profile&gt; settingsProfiles = <strong class="jxr_keyword">new</strong> ArrayList&lt;org.apache.maven.settings.Profile&gt;();
+<a class="jxr_linenumber" name="L150" href="#L150">150</a>         settingsProfiles.add( newSettingsProfile( <span class="jxr_string">"settings-1"</span> ) );
+<a class="jxr_linenumber" name="L151" href="#L151">151</a>         settingsProfiles.add( newSettingsProfile( <span class="jxr_string">"settings-2"</span> ) );
+<a class="jxr_linenumber" name="L152" href="#L152">152</a>         setUpMojo( mojo, Arrays.&lt;MavenProject&gt;asList( project ), settingsProfiles, <span class="jxr_string">"profiles-from-settings.txt"</span> );
+<a class="jxr_linenumber" name="L153" href="#L153">153</a> 
+<a class="jxr_linenumber" name="L154" href="#L154">154</a>         mojo.execute();
+<a class="jxr_linenumber" name="L155" href="#L155">155</a> 
+<a class="jxr_linenumber" name="L156" href="#L156">156</a>         String file = readFile( <span class="jxr_string">"profiles-from-settings.txt"</span> );
+<a class="jxr_linenumber" name="L157" href="#L157">157</a>         assertTrue( file.contains( <span class="jxr_string">"Profile Id: settings-1 (Active: true , Source: settings.xml)"</span> ) );
+<a class="jxr_linenumber" name="L158" href="#L158">158</a>         assertTrue( file.contains( <span class="jxr_string">"Profile Id: settings-2 (Active: false , Source: settings.xml)"</span> ) );
+<a class="jxr_linenumber" name="L159" href="#L159">159</a>     }
+<a class="jxr_linenumber" name="L160" href="#L160">160</a> 
+<a class="jxr_linenumber" name="L161" href="#L161">161</a>     <strong class="jxr_keyword">private</strong> Profile newPomProfile( String id, String source )
+<a class="jxr_linenumber" name="L162" href="#L162">162</a>     {
+<a class="jxr_linenumber" name="L163" href="#L163">163</a>         Profile profile = <strong class="jxr_keyword">new</strong> Profile();
+<a class="jxr_linenumber" name="L164" href="#L164">164</a>         profile.setId( id );
+<a class="jxr_linenumber" name="L165" href="#L165">165</a>         profile.setSource( source );
+<a class="jxr_linenumber" name="L166" href="#L166">166</a>         <strong class="jxr_keyword">return</strong> profile;
+<a class="jxr_linenumber" name="L167" href="#L167">167</a>     }
+<a class="jxr_linenumber" name="L168" href="#L168">168</a>     
+<a class="jxr_linenumber" name="L169" href="#L169">169</a>     <strong class="jxr_keyword">private</strong> org.apache.maven.settings.Profile newSettingsProfile( String id )
+<a class="jxr_linenumber" name="L170" href="#L170">170</a>     {
+<a class="jxr_linenumber" name="L171" href="#L171">171</a>         org.apache.maven.settings.Profile profile = <strong class="jxr_keyword">new</strong> org.apache.maven.settings.Profile();
+<a class="jxr_linenumber" name="L172" href="#L172">172</a>         profile.setId( id );
+<a class="jxr_linenumber" name="L173" href="#L173">173</a>         <strong class="jxr_keyword">return</strong> profile;
+<a class="jxr_linenumber" name="L174" href="#L174">174</a>     }
+<a class="jxr_linenumber" name="L175" href="#L175">175</a> 
+<a class="jxr_linenumber" name="L176" href="#L176">176</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> setUpMojo( AllProfilesMojo mojo, List&lt;MavenProject&gt; projects,
+<a class="jxr_linenumber" name="L177" href="#L177">177</a>                             List&lt;org.apache.maven.settings.Profile&gt; settingsProfiles, String output )
+<a class="jxr_linenumber" name="L178" href="#L178">178</a>         <strong class="jxr_keyword">throws</strong> IllegalAccessException
+<a class="jxr_linenumber" name="L179" href="#L179">179</a>     {
+<a class="jxr_linenumber" name="L180" href="#L180">180</a>         setVariableValueToObject( mojo, <span class="jxr_string">"projects"</span>, projects );
+<a class="jxr_linenumber" name="L181" href="#L181">181</a>         setVariableValueToObject( mojo, <span class="jxr_string">"settingsProfiles"</span>, settingsProfiles );
+<a class="jxr_linenumber" name="L182" href="#L182">182</a>         setVariableValueToObject( mojo, <span class="jxr_string">"output"</span>,
+<a class="jxr_linenumber" name="L183" href="#L183">183</a>                                   <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="L184" href="#L184">184</a>         setVariableValueToObject( mojo, <span class="jxr_string">"log"</span>, interceptingLogger );
+<a class="jxr_linenumber" name="L185" href="#L185">185</a>     }
+<a class="jxr_linenumber" name="L186" href="#L186">186</a> 
+<a class="jxr_linenumber" name="L187" href="#L187">187</a>     <strong class="jxr_keyword">private</strong> String readFile( String path )
+<a class="jxr_linenumber" name="L188" href="#L188">188</a>         <strong class="jxr_keyword">throws</strong> FileNotFoundException, IOException
+<a class="jxr_linenumber" name="L189" href="#L189">189</a>     {
+<a class="jxr_linenumber" name="L190" href="#L190">190</a>         FileInputStream fis = <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L191" href="#L191">191</a>         <strong class="jxr_keyword">try</strong>
+<a class="jxr_linenumber" name="L192" href="#L192">192</a>         {
+<a class="jxr_linenumber" name="L193" href="#L193">193</a>             fis = <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="L194" href="#L194">194</a>             <strong class="jxr_keyword">return</strong> IOUtil.toString( fis );
+<a class="jxr_linenumber" name="L195" href="#L195">195</a>         }
+<a class="jxr_linenumber" name="L196" href="#L196">196</a>         <strong class="jxr_keyword">finally</strong>
+<a class="jxr_linenumber" name="L197" href="#L197">197</a>         {
+<a class="jxr_linenumber" name="L198" href="#L198">198</a>             IOUtil.close( fis );
+<a class="jxr_linenumber" name="L199" href="#L199">199</a>         }
+<a class="jxr_linenumber" name="L200" href="#L200">200</a>     }
+<a class="jxr_linenumber" name="L201" href="#L201">201</a>     
+<a class="jxr_linenumber" name="L202" href="#L202">202</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/maven/plugins/help/EvaluateMojoTest.html">InterceptingLog</a>
+<a class="jxr_linenumber" name="L203" href="#L203">203</a>         <strong class="jxr_keyword">extends</strong> DefaultLog
+<a class="jxr_linenumber" name="L204" href="#L204">204</a>     {
+<a class="jxr_linenumber" name="L205" href="#L205">205</a>         List&lt;String&gt; warnLogs = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;();
+<a class="jxr_linenumber" name="L206" href="#L206">206</a> 
+<a class="jxr_linenumber" name="L207" href="#L207">207</a>         <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/maven/plugins/help/EvaluateMojoTest.html">InterceptingLog</a>( Logger logger )
+<a class="jxr_linenumber" name="L208" href="#L208">208</a>         {
+<a class="jxr_linenumber" name="L209" href="#L209">209</a>             <strong class="jxr_keyword">super</strong>( logger );
+<a class="jxr_linenumber" name="L210" href="#L210">210</a>         }
+<a class="jxr_linenumber" name="L211" href="#L211">211</a> 
+<a class="jxr_linenumber" name="L212" href="#L212">212</a>         @Override
+<a class="jxr_linenumber" name="L213" href="#L213">213</a>         <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> warn( CharSequence content )
+<a class="jxr_linenumber" name="L214" href="#L214">214</a>         {
+<a class="jxr_linenumber" name="L215" href="#L215">215</a>             <strong class="jxr_keyword">super</strong>.warn( content );
+<a class="jxr_linenumber" name="L216" href="#L216">216</a>             warnLogs.add( content.toString() );
+<a class="jxr_linenumber" name="L217" href="#L217">217</a>         }
+<a class="jxr_linenumber" name="L218" href="#L218">218</a>     }
+<a class="jxr_linenumber" name="L219" href="#L219">219</a> 
+<a class="jxr_linenumber" name="L220" href="#L220">220</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2001&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>
\ No newline at end of file