Modified: 
maven/website/components/plugins-archives/maven-jar-plugin-LATEST/examples/attached-jar.html
==============================================================================
--- 
maven/website/components/plugins-archives/maven-jar-plugin-LATEST/examples/attached-jar.html
 (original)
+++ 
maven/website/components/plugins-archives/maven-jar-plugin-LATEST/examples/attached-jar.html
 Wed Jan  5 18:26:41 2022
@@ -1,160 +1,161 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.8.1 from 
src/site/apt/examples/attached-jar.apt.vm at 2019-10-29
- | Rendered using Apache Maven Fluido Skin 1.7
--->
-<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="author" content="Karl Heinz Marbaise" />
-    <meta name="Date-Creation-yyyymmdd" content="20140616" />
-    <meta name="Date-Revision-yyyymmdd" content="20191029" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>Apache Maven JAR Plugin &#x2013; How to create an additional 
attached jar artifact from the project</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 JAR 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 JAR 
Plugin">Apache Maven JAR Plugin</a><span class="divider">/</span></li>
-    <li class="active ">How to create an additional attached jar artifact from 
the project <a 
href="https://github.com/apache/maven-jar-plugin/tree/maven-jar-plugin-3.2.0/src/site/apt/examples/attached-jar.apt.vm";><img
 src="../images/accessories-text-editor.png" title="Edit" /></a></li>
-        <li id="publishDate" class="pull-right"><span class="divider">|</span> 
Last Published: 2019-10-29</li>
-          <li id="projectVersion" class="pull-right">Version: 3.2.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><a href="../usage.html" title="Usage"><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="../../../shared/maven-archiver/examples/classpath.html" 
title="Creating an Executable JAR File"><span class="none"></span>Creating an 
Executable JAR File</a></li>
-    <li><a href="../examples/manifest-customization.html" title="Manifest 
Customization"><span class="none"></span>Manifest Customization</a></li>
-    <li><a href="../../../shared/maven-archiver/examples/manifestFile.html" 
title="Using Your Own Manifest File"><span class="none"></span>Using Your Own 
Manifest File</a></li>
-    <li class="active"><a href="#"><span class="none"></span>Additional 
attached JAR</a></li>
-    <li><a href="../examples/create-test-jar.html" title="Create Test 
JAR"><span class="none"></span>Create Test JAR</a></li>
-    <li><a href="../examples/include-exclude.html" title="Include/Exclude 
content"><span class="none"></span>Include/Exclude content</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="How_to_create_an_additional_attached_jar_artifact_from_the_project"></a>How
 to create an additional attached jar artifact from the project</h2>
-<p>Specify a list of fileset patterns to be included or excluded by adding 
<tt>&lt;includes&gt;</tt>/<tt>&lt;include&gt;</tt> or 
<tt>&lt;excludes&gt;</tt>/<tt>&lt;exclude&gt;</tt> and add a 
<tt>classifier</tt> in your <tt>pom.xml</tt>.</p>
-<p><b>Note:</b> the jar-plugin must be defined in a new execution, otherwise 
it will replace the default use of the jar-plugin instead of adding a second 
artifact. The <tt>classifier</tt> is also required to create more than one 
artifact.</p>
-<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
-  ...
-  &lt;build&gt;
-    &lt;plugins&gt;
-      ...
-      &lt;plugin&gt;
-        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
-        &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
-        &lt;version&gt;3.2.0&lt;/version&gt;
-        &lt;executions&gt;
-          &lt;execution&gt;
-            &lt;phase&gt;package&lt;/phase&gt;
-            &lt;goals&gt;
-              &lt;goal&gt;jar&lt;/goal&gt;
-            &lt;/goals&gt;
-            &lt;configuration&gt;
-              &lt;classifier&gt;client&lt;/classifier&gt;
-              &lt;includes&gt;
-                &lt;include&gt;**/service/*&lt;/include&gt;
-              &lt;/includes&gt;
-            &lt;/configuration&gt;
-          &lt;/execution&gt;
-        &lt;/executions&gt;
-      &lt;/plugin&gt;
-      ...
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  ...
-&lt;/project&gt;</pre></div></div>
-        </div>
-      </div>
-    </div>
-    <hr/>
-    <footer>
-      <div class="container-fluid">
-        <div class="row-fluid">
-            <p>Copyright &copy;2002&#x2013;2019
-<a href="https://www.apache.org/";>The Apache Software Foundation</a>.
-All rights reserved.</p>
-        </div>
-      </div>
-    </footer>
-  </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.8.1 from 
src\site\apt/examples\attached-jar.apt.vm at 2022-01-05
+ | Rendered using Apache Maven Fluido Skin 1.7
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="author" content="Karl Heinz Marbaise" />
+    <meta name="Date-Creation-yyyymmdd" content="20140616" />
+    <meta name="Date-Revision-yyyymmdd" content="20220105" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Maven JAR Plugin &#x2013; How to create an additional 
attached jar artifact from the project</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 JAR 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 JAR 
Plugin">Apache Maven JAR Plugin</a><span class="divider">/</span></li>
+    <li class="active ">How to create an additional attached jar artifact from 
the project <a 
href="https://github.com/apache/maven-jar-plugin/tree/maven-jar-plugin-3.2.1/src\site\apt/examples\attached-jar.apt.vm";><img
 src="../images/accessories-text-editor.png" title="Edit" /></a></li>
+        <li id="publishDate" class="pull-right"><span class="divider">|</span> 
Last Published: 2022-01-05</li>
+          <li id="projectVersion" class="pull-right">Version: 3.2.1</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><a href="../usage.html" title="Usage"><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="../../../shared/maven-archiver/examples/classpath.html" 
title="Creating an Executable JAR File"><span class="none"></span>Creating an 
Executable JAR File</a></li>
+    <li><a href="../examples/manifest-customization.html" title="Manifest 
Customization"><span class="none"></span>Manifest Customization</a></li>
+    <li><a href="../../../shared/maven-archiver/examples/manifestFile.html" 
title="Using Your Own Manifest File"><span class="none"></span>Using Your Own 
Manifest File</a></li>
+    <li class="active"><a href="#"><span class="none"></span>Additional 
attached JAR</a></li>
+    <li><a href="../examples/create-test-jar.html" title="Create Test 
JAR"><span class="none"></span>Create Test JAR</a></li>
+    <li><a href="../examples/include-exclude.html" title="Include/Exclude 
content"><span class="none"></span>Include/Exclude content</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="maven.apache.org/plugins/maven-jar-plugin/" 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="How_to_create_an_additional_attached_jar_artifact_from_the_project"></a>How
 to create an additional attached jar artifact from the project</h2>
+<p>Specify a list of fileset patterns to be included or excluded by adding 
<tt>&lt;includes&gt;</tt>/<tt>&lt;include&gt;</tt> or 
<tt>&lt;excludes&gt;</tt>/<tt>&lt;exclude&gt;</tt> and add a 
<tt>classifier</tt> in your <tt>pom.xml</tt>.</p>
+<p><b>Note:</b> the jar-plugin must be defined in a new execution, otherwise 
it will replace the default use of the jar-plugin instead of adding a second 
artifact. The <tt>classifier</tt> is also required to create more than one 
artifact.</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;build&gt;
+    &lt;plugins&gt;
+      ...
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
+        &lt;version&gt;3.2.1&lt;/version&gt;
+        &lt;executions&gt;
+          &lt;execution&gt;
+            &lt;phase&gt;package&lt;/phase&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;jar&lt;/goal&gt;
+            &lt;/goals&gt;
+            &lt;configuration&gt;
+              &lt;classifier&gt;client&lt;/classifier&gt;
+              &lt;includes&gt;
+                &lt;include&gt;**/service/*&lt;/include&gt;
+              &lt;/includes&gt;
+            &lt;/configuration&gt;
+          &lt;/execution&gt;
+        &lt;/executions&gt;
+      &lt;/plugin&gt;
+      ...
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+&lt;/project&gt;
+</pre></div></div>
+        </div>
+      </div>
+    </div>
+    <hr/>
+    <footer>
+      <div class="container-fluid">
+        <div class="row-fluid">
+            <p>Copyright &copy;2002&#x2013;2022
+<a href="https://www.apache.org/";>The Apache Software Foundation</a>.
+All rights reserved.</p>
+        </div>
+      </div>
+    </footer>
+  </body>
 </html>
\ No newline at end of file

Modified: 
maven/website/components/plugins-archives/maven-jar-plugin-LATEST/examples/create-test-jar.html
==============================================================================
--- 
maven/website/components/plugins-archives/maven-jar-plugin-LATEST/examples/create-test-jar.html
 (original)
+++ 
maven/website/components/plugins-archives/maven-jar-plugin-LATEST/examples/create-test-jar.html
 Wed Jan  5 18:26:41 2022
@@ -1,200 +1,204 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.8.1 from 
src/site/apt/examples/create-test-jar.apt.vm at 2019-10-29
- | Rendered using Apache Maven Fluido Skin 1.7
--->
-<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="author" content="Karl Heinz Marbaise" />
-    <meta name="Date-Creation-yyyymmdd" content="20140616" />
-    <meta name="Date-Revision-yyyymmdd" content="20191029" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>Apache Maven JAR Plugin &#x2013; How to create a jar containing 
test classes</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 JAR 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 JAR 
Plugin">Apache Maven JAR Plugin</a><span class="divider">/</span></li>
-    <li class="active ">How to create a jar containing test classes <a 
href="https://github.com/apache/maven-jar-plugin/tree/maven-jar-plugin-3.2.0/src/site/apt/examples/create-test-jar.apt.vm";><img
 src="../images/accessories-text-editor.png" title="Edit" /></a></li>
-        <li id="publishDate" class="pull-right"><span class="divider">|</span> 
Last Published: 2019-10-29</li>
-          <li id="projectVersion" class="pull-right">Version: 3.2.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><a href="../usage.html" title="Usage"><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="../../../shared/maven-archiver/examples/classpath.html" 
title="Creating an Executable JAR File"><span class="none"></span>Creating an 
Executable JAR File</a></li>
-    <li><a href="../examples/manifest-customization.html" title="Manifest 
Customization"><span class="none"></span>Manifest Customization</a></li>
-    <li><a href="../../../shared/maven-archiver/examples/manifestFile.html" 
title="Using Your Own Manifest File"><span class="none"></span>Using Your Own 
Manifest File</a></li>
-    <li><a href="../examples/attached-jar.html" title="Additional attached 
JAR"><span class="none"></span>Additional attached JAR</a></li>
-    <li class="active"><a href="#"><span class="none"></span>Create Test 
JAR</a></li>
-    <li><a href="../examples/include-exclude.html" title="Include/Exclude 
content"><span class="none"></span>Include/Exclude content</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="How_to_create_a_jar_containing_test_classes"></a>How to create a 
jar containing test classes</h2>
-<p>When you want to create a jar containing <i>test-classes</i>, you would 
probably want to reuse those classes. There are two ways to solve this:</p>
-<ul>
-<li>Create an attached jar with the <i>test-classes</i> from the current 
project and loose its transitive <tt>test</tt>-scoped dependencies.</li>
-<li>Create a separate project with the <i>test-classes</i>.</li></ul>
-<div class="section">
-<h3><a name="The_easy_way"></a>The easy way </h3>
-<p>You can produce a jar which will include your test classes and 
resources.</p>
-<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
-  ...
-  &lt;build&gt;
-    &lt;plugins&gt;
-      ...
-      &lt;plugin&gt;
-        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
-        &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
-        &lt;version&gt;3.2.0&lt;/version&gt;
-        &lt;executions&gt;
-          &lt;execution&gt;
-            &lt;goals&gt;
-              &lt;goal&gt;test-jar&lt;/goal&gt;
-            &lt;/goals&gt;
-          &lt;/execution&gt;
-        &lt;/executions&gt;
-      &lt;/plugin&gt;
-      ...
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  ...
-&lt;/project&gt;</pre></div>
-<p>To reuse this artifact in an other project, you must declare this 
dependency with type test-jar :</p>
-<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
-  ...
-  &lt;dependencies&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;groupId&lt;/groupId&gt;
-      &lt;artifactId&gt;artifactId&lt;/artifactId&gt;
-      &lt;classifier&gt;tests&lt;/classifier&gt;
-      &lt;type&gt;test-jar&lt;/type&gt;
-      &lt;version&gt;version&lt;/version&gt;
-      &lt;scope&gt;test&lt;/scope&gt;
-    &lt;/dependency&gt;
-  &lt;/dependencies&gt;
-  ...
-&lt;/project&gt;</pre></div>
-<p>Based on such configuration there will be two jar files generated. The 
first one contains the classes from <tt>src/main/java</tt> whereas the second 
one will contain the classes from <tt>src/test/java</tt>. The generated jar 
files follow the naming schema <tt>artifactId-version.jar</tt> for the first 
one and <tt>artifactId-version-classifier.jar</tt> for the second one. The 
parts <tt>artifactId</tt>, <tt>versions</tt> will be replaced by the values 
given within your project <tt>pom.xml</tt> file. The <tt>classifier</tt> will 
be set to <tt>tests</tt> which is a default of the maven-jar-plugin which can 
be changed if you need by using the configuration in the jar goal <a 
href="../test-jar-mojo.html">using the configuration in the jar goal</a>.</p>
-<p><b>Note:</b> The downside of this solution is that you don't get the 
transitive <tt>test</tt>-scoped dependencies automatically. Maven only resolves 
the <tt>compile</tt>-time dependencies, so you'll have to add all the other 
required <tt>test</tt>-scoped dependencies by hand.</p></div>
-<div class="section">
-<h3><a name="The_preferred_way"></a>The preferred way</h3>
-<p>In order to let Maven resolve all <tt>test</tt>-scoped transitive 
dependencies you should create a separate project.</p>
-<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
-   &lt;groupId&gt;groupId&lt;/groupId&gt;
-    &lt;artifactId&gt;artifactId-tests&lt;/artifactId&gt;
-    &lt;version&gt;version&lt;/version&gt;
-  ...
-&lt;/project&gt;</pre></div>
-<ul>
-<li>Move the sources files from <tt>src/test/java</tt> you want to share from 
the original project to the <tt>src/main/java</tt> of this project. The same 
type of movement counts for the resources as well of course.</li>
-<li>Move the required <tt>test</tt>-scoped dependencies and from the original 
project to this project and remove the scope (i.e. changing it to the 
<tt>compile</tt>-scope). And yes, that means that the junit dependency (or any 
other testing framework dependency) gets the default scope too. You'll probably 
need to add some project specific dependencies as well to let it all compile 
again.</li></ul>
-<p>Now you have your reusable <i>test-classes</i> and you can refer to it as 
you're used to:</p>
-<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
-  ...
-  &lt;dependencies&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;groupId&lt;/groupId&gt;
-      &lt;artifactId&gt;artifactId-tests&lt;/artifactId&gt;
-      &lt;version&gt;version&lt;/version&gt;
-      &lt;scope&gt;test&lt;/scope&gt;
-    &lt;/dependency&gt;
-  &lt;/dependencies&gt;
-  ...
-&lt;/project&gt;</pre></div></div></div>
-        </div>
-      </div>
-    </div>
-    <hr/>
-    <footer>
-      <div class="container-fluid">
-        <div class="row-fluid">
-            <p>Copyright &copy;2002&#x2013;2019
-<a href="https://www.apache.org/";>The Apache Software Foundation</a>.
-All rights reserved.</p>
-        </div>
-      </div>
-    </footer>
-  </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.8.1 from 
src\site\apt/examples\create-test-jar.apt.vm at 2022-01-05
+ | Rendered using Apache Maven Fluido Skin 1.7
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="author" content="Karl Heinz Marbaise" />
+    <meta name="Date-Creation-yyyymmdd" content="20140616" />
+    <meta name="Date-Revision-yyyymmdd" content="20220105" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Maven JAR Plugin &#x2013; How to create a jar containing 
test classes</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 JAR 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 JAR 
Plugin">Apache Maven JAR Plugin</a><span class="divider">/</span></li>
+    <li class="active ">How to create a jar containing test classes <a 
href="https://github.com/apache/maven-jar-plugin/tree/maven-jar-plugin-3.2.1/src\site\apt/examples\create-test-jar.apt.vm";><img
 src="../images/accessories-text-editor.png" title="Edit" /></a></li>
+        <li id="publishDate" class="pull-right"><span class="divider">|</span> 
Last Published: 2022-01-05</li>
+          <li id="projectVersion" class="pull-right">Version: 3.2.1</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><a href="../usage.html" title="Usage"><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="../../../shared/maven-archiver/examples/classpath.html" 
title="Creating an Executable JAR File"><span class="none"></span>Creating an 
Executable JAR File</a></li>
+    <li><a href="../examples/manifest-customization.html" title="Manifest 
Customization"><span class="none"></span>Manifest Customization</a></li>
+    <li><a href="../../../shared/maven-archiver/examples/manifestFile.html" 
title="Using Your Own Manifest File"><span class="none"></span>Using Your Own 
Manifest File</a></li>
+    <li><a href="../examples/attached-jar.html" title="Additional attached 
JAR"><span class="none"></span>Additional attached JAR</a></li>
+    <li class="active"><a href="#"><span class="none"></span>Create Test 
JAR</a></li>
+    <li><a href="../examples/include-exclude.html" title="Include/Exclude 
content"><span class="none"></span>Include/Exclude content</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="maven.apache.org/plugins/maven-jar-plugin/" 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="How_to_create_a_jar_containing_test_classes"></a>How to create a 
jar containing test classes</h2>
+<p>When you want to create a jar containing <i>test-classes</i>, you would 
probably want to reuse those classes. There are two ways to solve this:</p>
+<ul>
+<li>Create an attached jar with the <i>test-classes</i> from the current 
project and loose its transitive <tt>test</tt>-scoped dependencies.</li>
+<li>Create a separate project with the <i>test-classes</i>.</li></ul>
+<div class="section">
+<h3><a name="The_easy_way"></a>The easy way </h3>
+<p>You can produce a jar which will include your test classes and 
resources.</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;build&gt;
+    &lt;plugins&gt;
+      ...
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
+        &lt;version&gt;3.2.1&lt;/version&gt;
+        &lt;executions&gt;
+          &lt;execution&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;test-jar&lt;/goal&gt;
+            &lt;/goals&gt;
+          &lt;/execution&gt;
+        &lt;/executions&gt;
+      &lt;/plugin&gt;
+      ...
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+&lt;/project&gt;
+</pre></div>
+<p>To reuse this artifact in an other project, you must declare this 
dependency with type test-jar :</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;dependencies&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;groupId&lt;/groupId&gt;
+      &lt;artifactId&gt;artifactId&lt;/artifactId&gt;
+      &lt;classifier&gt;tests&lt;/classifier&gt;
+      &lt;type&gt;test-jar&lt;/type&gt;
+      &lt;version&gt;version&lt;/version&gt;
+      &lt;scope&gt;test&lt;/scope&gt;
+    &lt;/dependency&gt;
+  &lt;/dependencies&gt;
+  ...
+&lt;/project&gt;
+</pre></div>
+<p>Based on such configuration there will be two jar files generated. The 
first one contains the classes from <tt>src/main/java</tt> whereas the second 
one will contain the classes from <tt>src/test/java</tt>. The generated jar 
files follow the naming schema <tt>artifactId-version.jar</tt> for the first 
one and <tt>artifactId-version-classifier.jar</tt> for the second one. The 
parts <tt>artifactId</tt>, <tt>versions</tt> will be replaced by the values 
given within your project <tt>pom.xml</tt> file. The <tt>classifier</tt> will 
be set to <tt>tests</tt> which is a default of the maven-jar-plugin which can 
be changed if you need by <a href="../test-jar-mojo.html">using the 
configuration in the jar goal</a>.</p>
+<p><b>Note:</b> The downside of this solution is that you don't get the 
transitive <tt>test</tt>-scoped dependencies automatically. Maven only resolves 
the <tt>compile</tt>-time dependencies, so you'll have to add all the other 
required <tt>test</tt>-scoped dependencies by hand.</p></div>
+<div class="section">
+<h3><a name="The_preferred_way"></a>The preferred way</h3>
+<p>In order to let Maven resolve all <tt>test</tt>-scoped transitive 
dependencies you should create a separate project.</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+   &lt;groupId&gt;groupId&lt;/groupId&gt;
+    &lt;artifactId&gt;artifactId-tests&lt;/artifactId&gt;
+    &lt;version&gt;version&lt;/version&gt;
+  ...
+&lt;/project&gt;
+</pre></div>
+<ul>
+<li>Move the sources files from <tt>src/test/java</tt> you want to share from 
the original project to the <tt>src/main/java</tt> of this project. The same 
type of movement counts for the resources as well of course.</li>
+<li>Move the required <tt>test</tt>-scoped dependencies and from the original 
project to this project and remove the scope (i.e. changing it to the 
<tt>compile</tt>-scope). And yes, that means that the junit dependency (or any 
other testing framework dependency) gets the default scope too. You'll probably 
need to add some project specific dependencies as well to let it all compile 
again.</li></ul>
+<p>Now you have your reusable <i>test-classes</i> and you can refer to it as 
you're used to:</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;dependencies&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;groupId&lt;/groupId&gt;
+      &lt;artifactId&gt;artifactId-tests&lt;/artifactId&gt;
+      &lt;version&gt;version&lt;/version&gt;
+      &lt;scope&gt;test&lt;/scope&gt;
+    &lt;/dependency&gt;
+  &lt;/dependencies&gt;
+  ...
+&lt;/project&gt;
+</pre></div></div></div>
+        </div>
+      </div>
+    </div>
+    <hr/>
+    <footer>
+      <div class="container-fluid">
+        <div class="row-fluid">
+            <p>Copyright &copy;2002&#x2013;2022
+<a href="https://www.apache.org/";>The Apache Software Foundation</a>.
+All rights reserved.</p>
+        </div>
+      </div>
+    </footer>
+  </body>
 </html>
\ No newline at end of file

Modified: 
maven/website/components/plugins-archives/maven-jar-plugin-LATEST/examples/include-exclude.html
==============================================================================
--- 
maven/website/components/plugins-archives/maven-jar-plugin-LATEST/examples/include-exclude.html
 (original)
+++ 
maven/website/components/plugins-archives/maven-jar-plugin-LATEST/examples/include-exclude.html
 Wed Jan  5 18:26:41 2022
@@ -1,151 +1,152 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.8.1 from 
src/site/apt/examples/include-exclude.apt.vm at 2019-10-29
- | Rendered using Apache Maven Fluido Skin 1.7
--->
-<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="author" content="Karl Heinz Marbaise" />
-    <meta name="Date-Creation-yyyymmdd" content="20140616" />
-    <meta name="Date-Revision-yyyymmdd" content="20191029" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>Apache Maven JAR Plugin &#x2013; Howto include/exclude content from 
a jar archive</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 JAR 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 JAR 
Plugin">Apache Maven JAR Plugin</a><span class="divider">/</span></li>
-    <li class="active ">Howto include/exclude content from a jar archive <a 
href="https://github.com/apache/maven-jar-plugin/tree/maven-jar-plugin-3.2.0/src/site/apt/examples/include-exclude.apt.vm";><img
 src="../images/accessories-text-editor.png" title="Edit" /></a></li>
-        <li id="publishDate" class="pull-right"><span class="divider">|</span> 
Last Published: 2019-10-29</li>
-          <li id="projectVersion" class="pull-right">Version: 3.2.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><a href="../usage.html" title="Usage"><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="../../../shared/maven-archiver/examples/classpath.html" 
title="Creating an Executable JAR File"><span class="none"></span>Creating an 
Executable JAR File</a></li>
-    <li><a href="../examples/manifest-customization.html" title="Manifest 
Customization"><span class="none"></span>Manifest Customization</a></li>
-    <li><a href="../../../shared/maven-archiver/examples/manifestFile.html" 
title="Using Your Own Manifest File"><span class="none"></span>Using Your Own 
Manifest File</a></li>
-    <li><a href="../examples/attached-jar.html" title="Additional attached 
JAR"><span class="none"></span>Additional attached JAR</a></li>
-    <li><a href="../examples/create-test-jar.html" title="Create Test 
JAR"><span class="none"></span>Create Test JAR</a></li>
-    <li class="active"><a href="#"><span class="none"></span>Include/Exclude 
content</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="How_to_include.2Fexclude_content_from_jar_artifact"></a>How to 
include/exclude content from jar artifact</h2>
-<p>Specify a list of fileset patterns to be included or excluded by adding 
<tt>&lt;includes&gt;</tt>/<tt>&lt;include&gt;</tt> or 
<tt>&lt;excludes&gt;</tt>/<tt>&lt;exclude&gt;</tt> in your <tt>pom.xml</tt>.</p>
-<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
-  ...
-  &lt;build&gt;
-    &lt;plugins&gt;
-      ...
-      &lt;plugin&gt;
-        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
-        &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
-        &lt;version&gt;3.2.0&lt;/version&gt;
-        &lt;configuration&gt;
-          &lt;includes&gt;
-            &lt;include&gt;**/service/*&lt;/include&gt;
-          &lt;/includes&gt;
-        &lt;/configuration&gt;
-      &lt;/plugin&gt;
-      ...
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  ...
-&lt;/project&gt;</pre></div>
-<p>Note that the patterns need to be relative to the path specified for the 
plugin's <tt>classesDirectory</tt> parameter.</p></div>
-        </div>
-      </div>
-    </div>
-    <hr/>
-    <footer>
-      <div class="container-fluid">
-        <div class="row-fluid">
-            <p>Copyright &copy;2002&#x2013;2019
-<a href="https://www.apache.org/";>The Apache Software Foundation</a>.
-All rights reserved.</p>
-        </div>
-      </div>
-    </footer>
-  </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.8.1 from 
src\site\apt/examples\include-exclude.apt.vm at 2022-01-05
+ | Rendered using Apache Maven Fluido Skin 1.7
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="author" content="Karl Heinz Marbaise" />
+    <meta name="Date-Creation-yyyymmdd" content="20140616" />
+    <meta name="Date-Revision-yyyymmdd" content="20220105" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Maven JAR Plugin &#x2013; Howto include/exclude content from 
a jar archive</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 JAR 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 JAR 
Plugin">Apache Maven JAR Plugin</a><span class="divider">/</span></li>
+    <li class="active ">Howto include/exclude content from a jar archive <a 
href="https://github.com/apache/maven-jar-plugin/tree/maven-jar-plugin-3.2.1/src\site\apt/examples\include-exclude.apt.vm";><img
 src="../images/accessories-text-editor.png" title="Edit" /></a></li>
+        <li id="publishDate" class="pull-right"><span class="divider">|</span> 
Last Published: 2022-01-05</li>
+          <li id="projectVersion" class="pull-right">Version: 3.2.1</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><a href="../usage.html" title="Usage"><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="../../../shared/maven-archiver/examples/classpath.html" 
title="Creating an Executable JAR File"><span class="none"></span>Creating an 
Executable JAR File</a></li>
+    <li><a href="../examples/manifest-customization.html" title="Manifest 
Customization"><span class="none"></span>Manifest Customization</a></li>
+    <li><a href="../../../shared/maven-archiver/examples/manifestFile.html" 
title="Using Your Own Manifest File"><span class="none"></span>Using Your Own 
Manifest File</a></li>
+    <li><a href="../examples/attached-jar.html" title="Additional attached 
JAR"><span class="none"></span>Additional attached JAR</a></li>
+    <li><a href="../examples/create-test-jar.html" title="Create Test 
JAR"><span class="none"></span>Create Test JAR</a></li>
+    <li class="active"><a href="#"><span class="none"></span>Include/Exclude 
content</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="maven.apache.org/plugins/maven-jar-plugin/" 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="How_to_include.2Fexclude_content_from_jar_artifact"></a>How to 
include/exclude content from jar artifact</h2>
+<p>Specify a list of fileset patterns to be included or excluded by adding 
<tt>&lt;includes&gt;</tt>/<tt>&lt;include&gt;</tt> or 
<tt>&lt;excludes&gt;</tt>/<tt>&lt;exclude&gt;</tt> in your <tt>pom.xml</tt>.</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;build&gt;
+    &lt;plugins&gt;
+      ...
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
+        &lt;version&gt;3.2.1&lt;/version&gt;
+        &lt;configuration&gt;
+          &lt;includes&gt;
+            &lt;include&gt;**/service/*&lt;/include&gt;
+          &lt;/includes&gt;
+        &lt;/configuration&gt;
+      &lt;/plugin&gt;
+      ...
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+&lt;/project&gt;
+</pre></div>
+<p>Note that the patterns need to be relative to the path specified for the 
plugin's <tt>classesDirectory</tt> parameter.</p></div>
+        </div>
+      </div>
+    </div>
+    <hr/>
+    <footer>
+      <div class="container-fluid">
+        <div class="row-fluid">
+            <p>Copyright &copy;2002&#x2013;2022
+<a href="https://www.apache.org/";>The Apache Software Foundation</a>.
+All rights reserved.</p>
+        </div>
+      </div>
+    </footer>
+  </body>
 </html>
\ No newline at end of file


Reply via email to