Modified: 
maven/website/components/shared-archives/maven-archiver-LATEST/download.cgi
==============================================================================
--- maven/website/components/shared-archives/maven-archiver-LATEST/download.cgi 
(original)
+++ maven/website/components/shared-archives/maven-archiver-LATEST/download.cgi 
Tue Oct 22 15:29:46 2024
@@ -1,22 +1,22 @@
-#!/bin/sh
-#
-# 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.
-#
-# Just call the standard mirrors.cgi script. It will use download.html
-# as the input template.
+#!/bin/sh
+#
+# 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.
+#
+# Just call the standard mirrors.cgi script. It will use download.html
+# as the input template.
 exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file

Modified: 
maven/website/components/shared-archives/maven-archiver-LATEST/download.html
==============================================================================
--- 
maven/website/components/shared-archives/maven-archiver-LATEST/download.html 
(original)
+++ 
maven/website/components/shared-archives/maven-archiver-LATEST/download.html 
Tue Oct 22 15:29:46 2024
@@ -1,150 +1,183 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.11.1 from 
src/site/xdoc/download.xml.vm at 2024-06-26
- | Rendered using Apache Maven Fluido Skin 1.9
--->
-<html xmlns="http://www.w3.org/1999/xhtml"; lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
-    <title>Apache Maven Archiver &#x2013; Download Apache Maven Archiver 
Source</title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
-    <link rel="stylesheet" href="./css/site.css" />
-    <link rel="stylesheet" href="./css/print.css" media="print" />
-    <script src="./js/apache-maven-fluido-1.9.min.js"></script>
-  </head>
-  <body class="topBarDisabled">
-    <div class="container-fluid">
-      <header>
-        <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h2>Apache Maven 
Archiver</h2>
-</div>
-</div>
-          <div class="pull-right"></div>
-          <div class="clear"><hr/></div>
-        </div>
-
-        <div id="breadcrumbs">
-          <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2024-06-26<span 
class="divider">|</span>
-</li>
-          <li id="projectVersion">Version: 4.0.0-beta-1</li>
-          </ul>
-        </div>
-      </header>
-      <div class="row-fluid">
-        <header id="leftColumn" class="span2">
-          <nav class="well sidebar-nav">
-  <ul class="nav nav-list">
-   <li class="nav-header">Overview</li>
-    <li><a href="index.html" title="Introduction"><span 
class="none"></span>Introduction</a></li>
-    <li><a href="apidocs/index.html" title="JavaDocs"><span 
class="none"></span>JavaDocs</a></li>
-    <li><a href="xref/index.html" title="Source Xref"><span 
class="none"></span>Source Xref</a></li>
-    <li><a href="https://www.apache.org/licenses/"; class="externalLink" 
title="License"><span class="none"></span>License</a></li>
-    <li class="active"><a href="#"><span class="none"></span>Download</a></li>
-   <li class="nav-header">Examples</li>
-    <li><a href="examples/manifest.html" title="Manifest"><span 
class="none"></span>Manifest</a></li>
-    <li><a href="examples/manifestEntries.html" title="Manifest Entries"><span 
class="none"></span>Manifest Entries</a></li>
-    <li><a href="examples/manifestSections.html" title="Manifest 
Sections"><span class="none"></span>Manifest Sections</a></li>
-    <li><a href="examples/classpath.html" title="Set Up The Classpath"><span 
class="none"></span>Set Up The Classpath</a></li>
-    <li><a href="examples/manifestFile.html" title="Use Your Own Manifest 
File"><span class="none"></span>Use Your Own Manifest File</a></li>
-  </ul>
-          </nav>
-          <div class="well sidebar-nav">
-            <hr />
-            <div id="poweredBy">
-              <div class="clear"></div>
-              <div class="clear"></div>
-              <div class="clear"></div>
-<a href="http://maven.apache.org/"; title="Built by Maven" 
class="poweredBy"><img class="builtBy" alt="Built by Maven" 
src="./images/logos/maven-feather.png" /></a>
-            </div>
-          </div>
-        </header>
-        <main id="bodyColumn"  class="span10" >
-
-  
-    <section>
-<h2><a name="Download_Apache_Maven_Archiver_4.0.0-beta-1_Source"></a>Download 
Apache Maven Archiver 4.0.0-beta-1 Source</h2>
-
-      
-<p><b>Apache Maven Archiver 4.0.0-beta-1</b> is distributed in source 
format.</p>
-
-      
-<p>Use a source archive if you intend to build <b>Apache Maven Archiver</b> 
yourself.</p>
-
-      
-<p>Otherwise, simply use the ready-made binary artifacts from <b>central 
repository</b>.</p>
-
-      
-<p><b>Apache Maven Archiver</b> is distributed under the <a 
class="externalLink" href="https://www.apache.org/licenses/";>Apache License, 
version 2.0</a>.</p>
-
-      <section>
-<h3><a name="Files"></a>Files</h3>
-        
-        
-<p>This is the current stable version of <b>Apache Maven Archiver</b>.</p>
-
-        
-<table border="0" class="table table-striped">
-          <thead>
-            
-<tr class="a">
-              
-<th></th>
-              
-<th>Link</th>
-              
-<th>Checksum</th>
-              
-<th>Signature</th>
-            </tr>
-          </thead>
-          <tbody>
-            
-<tr class="b">
-              
-<td align="left">Apache Maven Archiver 4.0.0-beta-1 (Source zip)</td>
-              
-<td><a class="externalLink" 
href="https://dlcdn.apache.org/maven/shared/maven-archiver-4.0.0-beta-1-source-release.zip";>maven-archiver-4.0.0-beta-1-source-release.zip</a></td>
-              
-<td><a class="externalLink" 
href="https://downloads.apache.org/maven/shared/maven-archiver-4.0.0-beta-1-source-release.zip.sha512";>maven-archiver-4.0.0-beta-1-source-release.zip.sha512</a></td>
-              
-<td><a class="externalLink" 
href="https://downloads.apache.org/maven/shared/maven-archiver-4.0.0-beta-1-source-release.zip.asc";>maven-archiver-4.0.0-beta-1-source-release.zip.asc</a></td>
-            </tr>
-          </tbody>
-        </table>
-
-        
-<p>It is essential that you <a class="externalLink" 
href="https://www.apache.org/info/verification.html";>verify the integrity</a> 
of the downloaded file
-          using the checksum (.sha512 file)
-          or using the signature (.asc file) against the public <a 
class="externalLink" href="https://downloads.apache.org/maven/KEYS";>KEYS</a> 
used by the Apache Maven developers.
-        </p>
-
-      </section>
-
-      <section>
-<h3><a name="Previous_Versions"></a>Previous Versions</h3>
-        
-<p>It is strongly recommended to use the latest release version of <b>Apache 
Maven Archiver</b> to take advantage of the newest features and bug fixes.</p>
-        
-<p>Older non-recommended releases can be found on our <a class="externalLink" 
href="https://archive.apache.org/dist/maven/shared/";>archive site</a>.</p>
-      </section>
-    </section>
-  
-
-        </main>
-      </div>
-    </div>
-    <hr/>
-    <footer>
-      <div class="container-fluid">
-        <div class="row-fluid">
-            <p>&#169;      2002&#x2013;2024
-<a href="https://www.apache.org/";>The Apache Software Foundation</a>
-</p>
-        </div>
-      </div>
-    </footer>
-  </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from 
src\site\xdoc/download.xml.vm at 2024-10-22
+ | Rendered using Apache Maven Fluido Skin 1.9
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+    <title>Apache Maven Archiver &#x2013; Download Apache Maven Archiver 
Source</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+    <script src="./js/apache-maven-fluido-1.9.min.js"></script>
+  </head>
+  <body class="topBarDisabled">
+    <div class="container-fluid">
+      <header>
+        <div id="banner">
+          <div class="pull-left"><a href="https://www.apache.org/"; 
id="bannerLeft"><img src="../../images/apache-maven-project.png"  
alt=""/></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="Shared Components">Shared 
Components</a><span class="divider">/</span></li>
+      <li class=""><a href="index.html" title="Apache Maven Archiver">Apache 
Maven Archiver</a><span class="divider">/</span></li>
+    <li class="active ">Download Apache Maven Archiver Source <a 
href="https://github.com/apache/maven-archiver/tree/maven-archiver-3.6.3/src\site\xdoc/download.xml.vm";><img
 src="./images/accessories-text-editor.png" title="Edit" /></a></li>
+        <li id="publishDate" class="pull-right"><span class="divider">|</span> 
Last Published: 2024-10-22</li>
+          <li id="projectVersion" class="pull-right">Version: 3.6.3</li>
+          </ul>
+        </div>
+      </header>
+      <div class="row-fluid">
+        <header id="leftColumn" class="span2">
+          <nav class="well sidebar-nav">
+  <ul class="nav nav-list">
+   <li class="nav-header">Overview</li>
+    <li><a href="index.html" title="Introduction"><span 
class="none"></span>Introduction</a></li>
+    <li><a href="apidocs/index.html" title="JavaDocs"><span 
class="none"></span>JavaDocs</a></li>
+    <li><a href="xref/index.html" title="Source Xref"><span 
class="none"></span>Source Xref</a></li>
+    <li><a href="https://www.apache.org/licenses/"; class="externalLink" 
title="License"><span class="none"></span>License</a></li>
+    <li class="active"><a href="#"><span class="none"></span>Download</a></li>
+   <li class="nav-header">Examples</li>
+    <li><a href="examples/manifest.html" title="Manifest"><span 
class="none"></span>Manifest</a></li>
+    <li><a href="examples/manifestEntries.html" title="Manifest Entries"><span 
class="none"></span>Manifest Entries</a></li>
+    <li><a href="examples/manifestSections.html" title="Manifest 
Sections"><span class="none"></span>Manifest Sections</a></li>
+    <li><a href="examples/classpath.html" title="Set Up The Classpath"><span 
class="none"></span>Set Up The Classpath</a></li>
+    <li><a href="examples/manifestFile.html" title="Use Your Own Manifest 
File"><span class="none"></span>Use Your Own Manifest File</a></li>
+   <li class="nav-header">Project Documentation</li>
+    <li><a href="project-info.html" title="Project Information"><span 
class="icon-chevron-right"></span>Project Information</a></li>
+    <li><a href="project-reports.html" title="Project Reports"><span 
class="icon-chevron-right"></span>Project Reports</a></li>
+   <li class="nav-header">Maven Projects</li>
+    <li><a href="../../ref/current" title="Maven"><span 
class="none"></span>Maven</a></li>
+    <li><a href="../../archetypes/index.html" title="Archetypes"><span 
class="none"></span>Archetypes</a></li>
+    <li><a href="../../extensions/index.html" title="Extensions"><span 
class="none"></span>Extensions</a></li>
+    <li><a href="../../pom/index.html" title="Parent POMs"><span 
class="none"></span>Parent POMs</a></li>
+    <li><a href="../../plugins/index.html" title="Plugins"><span 
class="none"></span>Plugins</a></li>
+    <li><a href="../../skins/index.html" title="Skins"><span 
class="none"></span>Skins</a></li>
+    <li><a href="" title="Components"><span 
class="icon-chevron-down"></span>Components</a>
+     <ul class="nav nav-list">
+      <li><a href="../../archetype/index.html" title="Archetype"><span 
class="none"></span>Archetype</a></li>
+      <li><a href="../../resolver/index.html" title="Artifact Resolver"><span 
class="none"></span>Artifact Resolver</a></li>
+      <li><a href="../../doxia/index.html" title="Doxia"><span 
class="none"></span>Doxia</a></li>
+      <li><a href="../../maven-indexer/index.html" title="Indexer"><span 
class="none"></span>Indexer</a></li>
+      <li><a href="../../jxr/index.html" title="JXR"><span 
class="none"></span>JXR</a></li>
+      <li><a href="../../plugin-testing/index.html" title="Plugin 
Testing"><span class="none"></span>Plugin Testing</a></li>
+      <li><a href="../../plugin-tools/index.html" title="Plugin Tools"><span 
class="none"></span>Plugin Tools</a></li>
+      <li><a href="../../apache-resource-bundles/index.html" title="Resource 
Bundles"><span class="none"></span>Resource Bundles</a></li>
+      <li><a href="../../scm/index.html" title="SCM"><span 
class="none"></span>SCM</a></li>
+      <li><a href="../index.html" title="Shared Components"><span 
class="none"></span>Shared Components</a></li>
+      <li><a href="../../surefire/index.html" title="Surefire"><span 
class="none"></span>Surefire</a></li>
+      <li><a href="../../wagon/index.html" title="Wagon"><span 
class="none"></span>Wagon</a></li>
+     </ul></li>
+   <li class="nav-header">ASF</li>
+    <li><a href="https://www.apache.org/foundation/how-it-works.html"; 
class="externalLink" title="How Apache Works"><span class="none"></span>How 
Apache Works</a></li>
+    <li><a href="https://www.apache.org/foundation/"; class="externalLink" 
title="Foundation"><span class="none"></span>Foundation</a></li>
+    <li><a 
href="https://privacy.apache.org/policies/privacy-policy-public.html"; 
class="externalLink" title="Data Privacy"><span class="none"></span>Data 
Privacy</a></li>
+    <li><a href="https://www.apache.org/foundation/sponsorship.html"; 
class="externalLink" title="Sponsoring Apache"><span 
class="none"></span>Sponsoring Apache</a></li>
+    <li><a href="https://www.apache.org/foundation/thanks.html"; 
class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
+  </ul>
+          </nav>
+          <div class="well sidebar-nav">
+            <hr />
+            <div id="poweredBy">
+              <div class="clear"></div>
+              <div class="clear"></div>
+              <div class="clear"></div>
+<a href="http://maven.apache.org/"; title="Built by Maven" 
class="poweredBy"><img class="builtBy" alt="Built by Maven" 
src="./images/logos/maven-feather.png" /></a>
+            </div>
+          </div>
+        </header>
+        <main id="bodyColumn"  class="span10" >
+
+  
+    <section>
+<h2><a name="Download_Apache_Maven_Archiver_3.6.3_Source"></a>Download Apache 
Maven Archiver 3.6.3 Source</h2>
+
+      
+<p><b>Apache Maven Archiver 3.6.3</b> is distributed in source format.</p>
+
+      
+<p>Use a source archive if you intend to build <b>Apache Maven Archiver</b> 
yourself.</p>
+
+      
+<p>Otherwise, simply use the ready-made binary artifacts from <b>central 
repository</b>.</p>
+
+      
+<p><b>Apache Maven Archiver</b> is distributed under the <a 
class="externalLink" href="https://www.apache.org/licenses/";>Apache License, 
version 2.0</a>.</p>
+
+      <section>
+<h3><a name="Files"></a>Files</h3>
+        
+        
+<p>This is the current stable version of <b>Apache Maven Archiver</b>.</p>
+
+        
+<table border="0" class="table table-striped">
+          <thead>
+            
+<tr class="a">
+              
+<th></th>
+              
+<th>Link</th>
+              
+<th>Checksum</th>
+              
+<th>Signature</th>
+            </tr>
+          </thead>
+          <tbody>
+            
+<tr class="b">
+              
+<td align="left">Apache Maven Archiver 3.6.3 (Source zip)</td>
+              
+<td><a class="externalLink" 
href="https://dlcdn.apache.org/maven/shared/maven-archiver-3.6.3-source-release.zip";>maven-archiver-3.6.3-source-release.zip</a></td>
+              
+<td><a class="externalLink" 
href="https://downloads.apache.org/maven/shared/maven-archiver-3.6.3-source-release.zip.sha512";>maven-archiver-3.6.3-source-release.zip.sha512</a></td>
+              
+<td><a class="externalLink" 
href="https://downloads.apache.org/maven/shared/maven-archiver-3.6.3-source-release.zip.asc";>maven-archiver-3.6.3-source-release.zip.asc</a></td>
+            </tr>
+          </tbody>
+        </table>
+
+        
+<p>It is essential that you <a class="externalLink" 
href="https://www.apache.org/info/verification.html";>verify the integrity</a> 
of the downloaded file
+          using the checksum (.sha512 file)
+          or using the signature (.asc file) against the public <a 
class="externalLink" href="https://downloads.apache.org/maven/KEYS";>KEYS</a> 
used by the Apache Maven developers.
+        </p>
+
+      </section>
+
+      <section>
+<h3><a name="Previous_Versions"></a>Previous Versions</h3>
+        
+<p>It is strongly recommended to use the latest release version of <b>Apache 
Maven Archiver</b> to take advantage of the newest features and bug fixes.</p>
+        
+<p>Older non-recommended releases can be found on our <a class="externalLink" 
href="https://archive.apache.org/dist/maven/shared/";>archive site</a>.</p>
+      </section>
+    </section>
+  
+
+        </main>
+      </div>
+    </div>
+    <hr/>
+    <footer>
+      <div class="container-fluid">
+        <div class="row-fluid">
+            <p>&#169;      2002&#x2013;2024
+<a href="https://www.apache.org/";>The Apache Software Foundation</a>
+</p>
+        </div>
+      </div>
+    </footer>
+  </body>
 </html>
\ No newline at end of file

Modified: 
maven/website/components/shared-archives/maven-archiver-LATEST/examples/classpath.html
==============================================================================
--- 
maven/website/components/shared-archives/maven-archiver-LATEST/examples/classpath.html
 (original)
+++ 
maven/website/components/shared-archives/maven-archiver-LATEST/examples/classpath.html
 Tue Oct 22 15:29:46 2024
@@ -1,334 +1,380 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.11.1 from 
src/site/apt/examples/classpath.apt at 2024-06-26
- | Rendered using Apache Maven Fluido Skin 1.9
--->
-<html xmlns="http://www.w3.org/1999/xhtml"; lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
-    <meta name="author" content="Dennis Lundberg" />
-    <meta name="date" content="2008-01-01" />
-    <title>Apache Maven Archiver &#x2013; Set Up The Classpath</title>
-    <link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
-    <link rel="stylesheet" href="../css/site.css" />
-    <link rel="stylesheet" href="../css/print.css" media="print" />
-    <script src="../js/apache-maven-fluido-1.9.min.js"></script>
-  </head>
-  <body class="topBarDisabled">
-    <div class="container-fluid">
-      <header>
-        <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h2>Apache Maven 
Archiver</h2>
-</div>
-</div>
-          <div class="pull-right"></div>
-          <div class="clear"><hr/></div>
-        </div>
-
-        <div id="breadcrumbs">
-          <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2024-06-26<span 
class="divider">|</span>
-</li>
-          <li id="projectVersion">Version: 4.0.0-beta-1</li>
-          </ul>
-        </div>
-      </header>
-      <div class="row-fluid">
-        <header id="leftColumn" class="span2">
-          <nav class="well sidebar-nav">
-  <ul class="nav nav-list">
-   <li class="nav-header">Overview</li>
-    <li><a href="../index.html" title="Introduction"><span 
class="none"></span>Introduction</a></li>
-    <li><a href="../apidocs/index.html" title="JavaDocs"><span 
class="none"></span>JavaDocs</a></li>
-    <li><a href="../xref/index.html" title="Source Xref"><span 
class="none"></span>Source Xref</a></li>
-    <li><a href="https://www.apache.org/licenses/"; class="externalLink" 
title="License"><span class="none"></span>License</a></li>
-    <li><a href="../download.html" title="Download"><span 
class="none"></span>Download</a></li>
-   <li class="nav-header">Examples</li>
-    <li><a href="../examples/manifest.html" title="Manifest"><span 
class="none"></span>Manifest</a></li>
-    <li><a href="../examples/manifestEntries.html" title="Manifest 
Entries"><span class="none"></span>Manifest Entries</a></li>
-    <li><a href="../examples/manifestSections.html" title="Manifest 
Sections"><span class="none"></span>Manifest Sections</a></li>
-    <li class="active"><a href="#"><span class="none"></span>Set Up The 
Classpath</a></li>
-    <li><a href="../examples/manifestFile.html" title="Use Your Own Manifest 
File"><span class="none"></span>Use Your Own Manifest File</a></li>
-  </ul>
-          </nav>
-          <div class="well sidebar-nav">
-            <hr />
-            <div id="poweredBy">
-              <div class="clear"></div>
-              <div class="clear"></div>
-              <div class="clear"></div>
-<a href="http://maven.apache.org/"; title="Built by Maven" 
class="poweredBy"><img class="builtBy" alt="Built by Maven" 
src="../images/logos/maven-feather.png" /></a>
-            </div>
-          </div>
-        </header>
-        <main id="bodyColumn"  class="span10" >
-<section>
-<h2><a name="Set_Up_The_Classpath"></a>Set Up The Classpath</h2><section>
-<h3><a name="Contents">Contents</a></h3>
-<ul>
-<li><a href="#Add">Add A Class-Path Entry To The Manifest</a></li>
-<li><a href="#Make">Make The Jar Executable</a></li>
-<li><a href="#Prefix">Altering The Classpath: Defining a Classpath Directory 
Prefix</a></li>
-<li><a href="#Repository">Altering The Classpath: Using a Maven 
Repository-Style Classpath</a></li>
-<li><a href="#Custom">Altering The Classpath: Using a Custom Classpath 
Format</a></li>
-<li><a href="#Snapshot">Handling Snapshot 
Versions</a></li></ul></section><section>
-<h3><a name="Add_A_Class-Path_Entry_To_The_Manifest"></a><a name="Add">Add</a> 
A Class-Path Entry To The Manifest</h3>
-<p>[<a href="#Contents">Top</a>]</p>
-<p>Maven Archiver can add the classpath of your project to the manifest. This 
is done with the <code>&lt;addClasspath&gt;</code> configuration element.</p>
-<div class="source"><pre class="prettyprint">&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;configuration&gt;
-          &lt;archive&gt;
-            &lt;manifest&gt;
-              &lt;addClasspath&gt;true&lt;/addClasspath&gt;
-            &lt;/manifest&gt;
-          &lt;/archive&gt;
-        &lt;/configuration&gt;
-        ...
-      &lt;/plugin&gt;
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  ...
-  &lt;dependencies&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;commons-lang&lt;/groupId&gt;
-      &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
-      &lt;version&gt;2.1&lt;/version&gt;
-    &lt;/dependency&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
-      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
-      &lt;version&gt;1.1&lt;/version&gt;
-    &lt;/dependency&gt;
-  &lt;/dependencies&gt;
-  ...
-&lt;/project&gt;</pre></div>
-<p>The manifest produced using the above configuration would look like 
this:</p>
-<div class="source"><pre class="prettyprint">Manifest-Version: 1.0
-Created-By: Apache Maven ${maven.version}
-Build-Jdk: ${java.version}
-Class-Path: plexus-utils-1.1.jar 
commons-lang-2.1.jar</pre></div></section><section>
-<h3><a name="Make_The_Jar_Executable"></a><a name="Make">Make</a> The Jar 
Executable</h3>
-<p>[<a href="#Contents">Top</a>]</p>
-<p>If you want to create an executable jar file, you need to configure Maven 
Archiver accordingly. You need to tell it which main class to use. This is done 
with the <code>&lt;mainClass&gt;</code> configuration element. Here is a sample 
<code>pom.xml</code> configured to add the classpath and use the class 
<code>fully.qualified.MainClass</code> as the main class:</p>
-<div class="source"><pre class="prettyprint">&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;configuration&gt;
-          &lt;archive&gt;
-            &lt;manifest&gt;
-              &lt;addClasspath&gt;true&lt;/addClasspath&gt;
-              &lt;mainClass&gt;fully.qualified.MainClass&lt;/mainClass&gt;
-            &lt;/manifest&gt;
-          &lt;/archive&gt;
-        &lt;/configuration&gt;
-        ...
-      &lt;/plugin&gt;
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  ...
-  &lt;dependencies&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;commons-lang&lt;/groupId&gt;
-      &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
-      &lt;version&gt;2.1&lt;/version&gt;
-    &lt;/dependency&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
-      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
-      &lt;version&gt;1.1&lt;/version&gt;
-    &lt;/dependency&gt;
-  &lt;/dependencies&gt;
-  ...
-&lt;/project&gt;</pre></div>
-<p>The manifest produced using the above configuration would look like 
this:</p>
-<div class="source"><pre class="prettyprint">Manifest-Version: 1.0
-Created-By: Apache Maven ${maven.version}
-Build-Jdk: ${java.version}
-Main-Class: fully.qualified.MainClass
-Class-Path: plexus-utils-1.1.jar 
commons-lang-2.1.jar</pre></div></section><section>
-<h3><a 
name="Altering_The_Classpath:_Defining_a_Classpath_Directory_Prefix"></a>Altering
 The Classpath: Defining a Classpath Directory <a name="Prefix">Prefix</a></h3>
-<p>[<a href="#Contents">Top</a>]</p>
-<p>Sometimes it is useful to be able to alter the classpath, for example when 
<a href="/plugins/maven-war-plugin/examples/skinny-wars.html">creating skinny 
war-files</a>. This can be achieved with the 
<code>&lt;classpathPrefix&gt;</code> configuration element.</p>
-<div class="source"><pre class="prettyprint">&lt;project&gt;
-  ...
-  &lt;build&gt;
-    &lt;plugins&gt;
-      &lt;plugin&gt;
-         &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
-         &lt;configuration&gt;
-           &lt;archive&gt;
-             &lt;manifest&gt;
-               &lt;addClasspath&gt;true&lt;/addClasspath&gt;
-               &lt;classpathPrefix&gt;lib/&lt;/classpathPrefix&gt;
-             &lt;/manifest&gt;
-           &lt;/archive&gt;
-         &lt;/configuration&gt;
-      &lt;/plugin&gt;
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  ...
-  &lt;dependencies&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;commons-lang&lt;/groupId&gt;
-      &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
-      &lt;version&gt;2.1&lt;/version&gt;
-    &lt;/dependency&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
-      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
-      &lt;version&gt;1.1&lt;/version&gt;
-    &lt;/dependency&gt;
-  &lt;/dependencies&gt;
-  ...
-&lt;/project&gt;</pre></div>
-<p>The manifest classpath produced using the above configuration would look 
like this:</p>
-<div class="source"><pre class="prettyprint">Class-Path: 
lib/plexus-utils-1.1.jar lib/commons-lang-2.1.jar</pre></div></section><section>
-<h3><a 
name="Altering_The_Classpath:_Using_a_Maven_Repository-Style_Classpath"></a>Altering
 The Classpath: Using a Maven <a name="Repository">Repository</a>-Style 
Classpath</h3>
-<p>[<a href="#Contents">Top</a>]</p>
-<p><i>(Since: 2.3, see below)</i></p>
-<p>Occasionally, you may want to include a Maven repository-style directory 
structure in your archive. If you wish to reference the dependency archives 
within those directories in your manifest classpath, try using the 
<code>&lt;classpathLayoutType&gt;</code> element with a value of 
<code>'repository'</code>, like this:</p>
-<div class="source"><pre class="prettyprint">&lt;project&gt;
-  ...
-  &lt;build&gt;
-    &lt;plugins&gt;
-      &lt;plugin&gt;
-        &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
-        &lt;version&gt;2.3&lt;/version&gt;
-        &lt;configuration&gt;
-          &lt;archive&gt;
-            &lt;manifest&gt;
-              &lt;addClasspath&gt;true&lt;/addClasspath&gt;
-              &lt;classpathPrefix&gt;lib/&lt;/classpathPrefix&gt;
-              &lt;classpathLayoutType&gt;repository&lt;/classpathLayoutType&gt;
-            &lt;/manifest&gt;
-          &lt;/archive&gt;
-        &lt;/configuration&gt;
-      &lt;/plugin&gt;
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  ...
-  &lt;dependencies&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;commons-lang&lt;/groupId&gt;
-      &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
-      &lt;version&gt;2.1&lt;/version&gt;
-    &lt;/dependency&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
-      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
-      &lt;version&gt;1.1&lt;/version&gt;
-    &lt;/dependency&gt;
-  &lt;/dependencies&gt;
-  ...
-&lt;/project&gt;</pre></div>
-<p>The manifest classpath produced using the above configuration would look 
like this:</p>
-<div class="source"><pre class="prettyprint">Class-Path: 
lib/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar 
lib/commons-lang/commons-lang/2.1/commons-lang-2.1.jar</pre></div></section><section>
-<h3><a 
name="Altering_The_Classpath:_Using_a_Custom_Classpath_Format"></a>Altering The 
Classpath: Using a <a name="Custom">Custom</a> Classpath Format</h3>
-<p>[<a href="#Contents">Top</a>]</p>
-<p><i>(Since: 2.4)</i></p>
-<p>At times, you may have dependency archives in a custom format within your 
own archive, one that doesn't conform to any of the above classpath layouts. If 
you wish to define a custom layout for dependency archives within your 
archive's manifest classpath, try using the 
<code>&lt;classpathLayoutType&gt;</code> element with a value of 
<code>'custom'</code>, along with the 
<code>&lt;customClasspathLayout&gt;</code> element, like this:</p>
-<div class="source"><pre class="prettyprint">&lt;project&gt;
-  ...
-  &lt;build&gt;
-    &lt;plugins&gt;
-      &lt;plugin&gt;
-         &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
-         &lt;configuration&gt;
-           &lt;archive&gt;
-             &lt;manifest&gt;
-               &lt;addClasspath&gt;true&lt;/addClasspath&gt;
-               &lt;classpathLayoutType&gt;custom&lt;/classpathLayoutType&gt;
-               
&lt;customClasspathLayout&gt;WEB-INF/lib/$${artifact.groupIdPath}/$${artifact.artifactId}-$${artifact.version}$${dashClassifier?}.$${artifact.extension}&lt;/customClasspathLayout&gt;
-             &lt;/manifest&gt;
-           &lt;/archive&gt;
-         &lt;/configuration&gt;
-      &lt;/plugin&gt;
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  ...
-  &lt;dependencies&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;commons-lang&lt;/groupId&gt;
-      &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
-      &lt;version&gt;2.1&lt;/version&gt;
-    &lt;/dependency&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
-      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
-      &lt;version&gt;1.1&lt;/version&gt;
-    &lt;/dependency&gt;
-  &lt;/dependencies&gt;
-  ...
-&lt;/project&gt;</pre></div>
-<p>This classpath layout is a little more involved than the previous examples. 
To understand how the value of the <code>&lt;customClasspathLayout&gt;</code> 
configuration is interpreted, it's useful to understand the rules applied when 
resolving expressions within the value:</p>
-<ol style="list-style-type: decimal">
-<li>If present, trim off the prefix 'artifact.' from the expression.</li>
-<li>Attempt to resolve the expression as a reference to the Artifact using 
reflection (eg. <code>'artifactId'</code> becomes a reference to the method 
<code>'getArtifactId()'</code>).</li>
-<li>Attempt to resolve the expression as a reference to the ArtifactHandler of 
the current Artifact, again using reflection (eg. <code>'extension'</code> 
becomes a reference to the method <code>'getExtension()'</code>).</li>
-<li>Attempt to resolve the expression as a key in the special-case Properties 
instance, which contains the following mappings:
-<ul>
-<li><code>'dashClassifier'</code>: If the Artifact has a classifier, this will 
be <code>'-$<a name="artifact.classifier">artifact.classifier</a>'</code>, 
otherwise this is an empty string.</li>
-<li><code>'dashClassifier?'</code>: This is a synonym of 
<code>'dashClassifier'</code>.</li>
-<li><code>'groupIdPath'</code>: This is the equivalent of <code>'$<a 
name="artifact.groupId">artifact.groupId</a>'</code>, with all <code>'.'</code> 
characters replaced by <code>'/'</code>.</li></ul></li></ol>
-<p>The manifest classpath produced using the above configuration would look 
like this:</p>
-<div class="source"><pre class="prettyprint">Class-Path: 
WEB-INF/lib/org/codehaus/plexus/plexus-utils-1.1.jar 
WEB-INF/lib/commons-lang/commons-lang-2.1.jar</pre></div></section><section>
-<h3><a name="Handling_Snapshot_Versions"></a>Handling <a 
name="Snapshot">Snapshot</a> Versions</h3>
-<p>[<a href="#Contents">Top</a>]</p>
-<p><i>(Since 2.4)</i></p>
-<p>Depending on how you construct your archive, you may have the ability to 
specify whether snapshot dependency archives are included with the version 
suffix <code>'-SNAPSHOT'</code>, or whether the unique timestamp and 
build-number for that archive is used. For instance, the <a 
href="/plugins/maven-assembly-plugin">Assembly Plugin</a> allows you to make 
this decision in the <code>&lt;outputFileNameMapping&gt;</code> element of its 
<code>&lt;dependencySet</code>&gt; descriptor section.</p><section>
-<h4><a 
name="Forcing_the_use_of_-SNAPSHOT_versions_when_using_the_simple_.28default.29_or_repository_classpath_layout"></a>Forcing
 the use of -SNAPSHOT versions when using the simple (default) or repository 
classpath layout</h4>
-<p>To force the use of <code>'-SNAPSHOT'</code> version naming, simply disable 
the <code>&lt;useUniqueVersions&gt;</code> configuration element, like this:</p>
-<div class="source"><pre 
class="prettyprint">&lt;useUniqueVersions&gt;false&lt;/useUniqueVersions&gt;</pre></div></section><section>
-<h4><a 
name="Forcing_the_use_of_-SNAPSHOT_versions_with_custom_layouts"></a>Forcing 
the use of -SNAPSHOT versions with custom layouts</h4>
-<p>To force the use of <code>'-SNAPSHOT'</code> version naming, simply replace 
<code>'$<a name="artifact.version">artifact.version</a>'</code> with <code>'$<a 
name="artifact.baseVersion">artifact.baseVersion</a>'</code> in the custom 
layout example above, so it looks like this:</p>
-<div class="source"><pre 
class="prettyprint">&lt;customClasspathLayout&gt;WEB-INF/lib/${artifact.groupIdPath}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}&lt;/customClasspathLayout&gt;</pre></div>
-<p>The full example configuration would look like this:</p>
-<div class="source"><pre class="prettyprint">&lt;project&gt;
-  ...
-  &lt;build&gt;
-    &lt;plugins&gt;
-      &lt;plugin&gt;
-         &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
-         &lt;configuration&gt;
-           &lt;archive&gt;
-             &lt;manifest&gt;
-               &lt;addClasspath&gt;true&lt;/addClasspath&gt;
-               &lt;classpathLayoutType&gt;custom&lt;/classpathLayoutType&gt;
-               
&lt;customClasspathLayout&gt;WEB-INF/lib/${artifact.groupIdPath}/${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}&lt;/customClasspathLayout&gt;
-             &lt;/manifest&gt;
-           &lt;/archive&gt;
-         &lt;/configuration&gt;
-      &lt;/plugin&gt;
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  ...
-&lt;/project&gt;</pre></div></section></section></section>
-        </main>
-      </div>
-    </div>
-    <hr/>
-    <footer>
-      <div class="container-fluid">
-        <div class="row-fluid">
-            <p>&#169;      2002&#x2013;2024
-<a href="https://www.apache.org/";>The Apache Software Foundation</a>
-</p>
-        </div>
-      </div>
-    </footer>
-  </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from 
src\site\apt/examples\classpath.apt at 2024-10-22
+ | Rendered using Apache Maven Fluido Skin 1.9
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+    <meta name="author" content="Dennis Lundberg" />
+    <meta name="date" content="2008-01-01" />
+    <title>Apache Maven Archiver &#x2013; Set Up The Classpath</title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
+    <link rel="stylesheet" href="../css/site.css" />
+    <link rel="stylesheet" href="../css/print.css" media="print" />
+    <script src="../js/apache-maven-fluido-1.9.min.js"></script>
+  </head>
+  <body class="topBarDisabled">
+    <div class="container-fluid">
+      <header>
+        <div id="banner">
+          <div class="pull-left"><a href="https://www.apache.org/"; 
id="bannerLeft"><img src="../../../images/apache-maven-project.png"  
alt=""/></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="Shared Components">Shared 
Components</a><span class="divider">/</span></li>
+      <li class=""><a href="../index.html" title="Apache Maven 
Archiver">Apache Maven Archiver</a><span class="divider">/</span></li>
+    <li class="active ">Set Up The Classpath <a 
href="https://github.com/apache/maven-archiver/tree/maven-archiver-3.6.3/src\site\apt/examples\classpath.apt";><img
 src="../images/accessories-text-editor.png" title="Edit" /></a></li>
+        <li id="publishDate" class="pull-right"><span class="divider">|</span> 
Last Published: 2024-10-22</li>
+          <li id="projectVersion" class="pull-right">Version: 3.6.3</li>
+          </ul>
+        </div>
+      </header>
+      <div class="row-fluid">
+        <header id="leftColumn" class="span2">
+          <nav class="well sidebar-nav">
+  <ul class="nav nav-list">
+   <li class="nav-header">Overview</li>
+    <li><a href="../index.html" title="Introduction"><span 
class="none"></span>Introduction</a></li>
+    <li><a href="../apidocs/index.html" title="JavaDocs"><span 
class="none"></span>JavaDocs</a></li>
+    <li><a href="../xref/index.html" title="Source Xref"><span 
class="none"></span>Source Xref</a></li>
+    <li><a href="https://www.apache.org/licenses/"; class="externalLink" 
title="License"><span class="none"></span>License</a></li>
+    <li><a href="../download.html" title="Download"><span 
class="none"></span>Download</a></li>
+   <li class="nav-header">Examples</li>
+    <li><a href="../examples/manifest.html" title="Manifest"><span 
class="none"></span>Manifest</a></li>
+    <li><a href="../examples/manifestEntries.html" title="Manifest 
Entries"><span class="none"></span>Manifest Entries</a></li>
+    <li><a href="../examples/manifestSections.html" title="Manifest 
Sections"><span class="none"></span>Manifest Sections</a></li>
+    <li class="active"><a href="#"><span class="none"></span>Set Up The 
Classpath</a></li>
+    <li><a href="../examples/manifestFile.html" title="Use Your Own Manifest 
File"><span class="none"></span>Use Your Own Manifest File</a></li>
+   <li class="nav-header">Project Documentation</li>
+    <li><a href="../project-info.html" title="Project Information"><span 
class="icon-chevron-right"></span>Project Information</a></li>
+    <li><a href="../project-reports.html" title="Project Reports"><span 
class="icon-chevron-right"></span>Project Reports</a></li>
+   <li class="nav-header">Maven Projects</li>
+    <li><a href="../../../ref/current" title="Maven"><span 
class="none"></span>Maven</a></li>
+    <li><a href="../../../archetypes/index.html" title="Archetypes"><span 
class="none"></span>Archetypes</a></li>
+    <li><a href="../../../extensions/index.html" title="Extensions"><span 
class="none"></span>Extensions</a></li>
+    <li><a href="../../../pom/index.html" title="Parent POMs"><span 
class="none"></span>Parent POMs</a></li>
+    <li><a href="../../../plugins/index.html" title="Plugins"><span 
class="none"></span>Plugins</a></li>
+    <li><a href="../../../skins/index.html" title="Skins"><span 
class="none"></span>Skins</a></li>
+    <li><a href="../" title="Components"><span 
class="icon-chevron-down"></span>Components</a>
+     <ul class="nav nav-list">
+      <li><a href="../../../archetype/index.html" title="Archetype"><span 
class="none"></span>Archetype</a></li>
+      <li><a href="../../../resolver/index.html" title="Artifact 
Resolver"><span class="none"></span>Artifact Resolver</a></li>
+      <li><a href="../../../doxia/index.html" title="Doxia"><span 
class="none"></span>Doxia</a></li>
+      <li><a href="../../../maven-indexer/index.html" title="Indexer"><span 
class="none"></span>Indexer</a></li>
+      <li><a href="../../../jxr/index.html" title="JXR"><span 
class="none"></span>JXR</a></li>
+      <li><a href="../../../plugin-testing/index.html" title="Plugin 
Testing"><span class="none"></span>Plugin Testing</a></li>
+      <li><a href="../../../plugin-tools/index.html" title="Plugin 
Tools"><span class="none"></span>Plugin Tools</a></li>
+      <li><a href="../../../apache-resource-bundles/index.html" 
title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
+      <li><a href="../../../scm/index.html" title="SCM"><span 
class="none"></span>SCM</a></li>
+      <li><a href="../../index.html" title="Shared Components"><span 
class="none"></span>Shared Components</a></li>
+      <li><a href="../../../surefire/index.html" title="Surefire"><span 
class="none"></span>Surefire</a></li>
+      <li><a href="../../../wagon/index.html" title="Wagon"><span 
class="none"></span>Wagon</a></li>
+     </ul></li>
+   <li class="nav-header">ASF</li>
+    <li><a href="https://www.apache.org/foundation/how-it-works.html"; 
class="externalLink" title="How Apache Works"><span class="none"></span>How 
Apache Works</a></li>
+    <li><a href="https://www.apache.org/foundation/"; class="externalLink" 
title="Foundation"><span class="none"></span>Foundation</a></li>
+    <li><a 
href="https://privacy.apache.org/policies/privacy-policy-public.html"; 
class="externalLink" title="Data Privacy"><span class="none"></span>Data 
Privacy</a></li>
+    <li><a href="https://www.apache.org/foundation/sponsorship.html"; 
class="externalLink" title="Sponsoring Apache"><span 
class="none"></span>Sponsoring Apache</a></li>
+    <li><a href="https://www.apache.org/foundation/thanks.html"; 
class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
+  </ul>
+          </nav>
+          <div class="well sidebar-nav">
+            <hr />
+            <div id="poweredBy">
+              <div class="clear"></div>
+              <div class="clear"></div>
+              <div class="clear"></div>
+<a href="http://maven.apache.org/"; title="Built by Maven" 
class="poweredBy"><img class="builtBy" alt="Built by Maven" 
src="../images/logos/maven-feather.png" /></a>
+            </div>
+          </div>
+        </header>
+        <main id="bodyColumn"  class="span10" >
+<section>
+<h2><a name="Set_Up_The_Classpath"></a>Set Up The Classpath</h2><section>
+<h3><a name="Contents">Contents</a></h3>
+<ul>
+<li><a href="#Add">Add A Class-Path Entry To The Manifest</a></li>
+<li><a href="#Make">Make The Jar Executable</a></li>
+<li><a href="#Prefix">Altering The Classpath: Defining a Classpath Directory 
Prefix</a></li>
+<li><a href="#Repository">Altering The Classpath: Using a Maven 
Repository-Style Classpath</a></li>
+<li><a href="#Custom">Altering The Classpath: Using a Custom Classpath 
Format</a></li>
+<li><a href="#Snapshot">Handling Snapshot 
Versions</a></li></ul></section><section>
+<h3><a name="Add_A_Class-Path_Entry_To_The_Manifest"></a><a name="Add">Add</a> 
A Class-Path Entry To The Manifest</h3>
+<p>[<a href="#Contents">Top</a>]</p>
+<p>Maven Archiver can add the classpath of your project to the manifest. This 
is done with the <code>&lt;addClasspath&gt;</code> configuration element.</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;configuration&gt;
+          &lt;archive&gt;
+            &lt;manifest&gt;
+              &lt;addClasspath&gt;true&lt;/addClasspath&gt;
+            &lt;/manifest&gt;
+          &lt;/archive&gt;
+        &lt;/configuration&gt;
+        ...
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+  &lt;dependencies&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;commons-lang&lt;/groupId&gt;
+      &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
+      &lt;version&gt;2.1&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
+      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
+      &lt;version&gt;1.1&lt;/version&gt;
+    &lt;/dependency&gt;
+  &lt;/dependencies&gt;
+  ...
+&lt;/project&gt;
+</pre></div>
+<p>The manifest produced using the above configuration would look like 
this:</p>
+<div class="source"><pre class="prettyprint linenums">Manifest-Version: 1.0
+Created-By: Apache Maven ${maven.version}
+Build-Jdk: ${java.version}
+Class-Path: plexus-utils-1.1.jar commons-lang-2.1.jar
+</pre></div></section><section>
+<h3><a name="Make_The_Jar_Executable"></a><a name="Make">Make</a> The Jar 
Executable</h3>
+<p>[<a href="#Contents">Top</a>]</p>
+<p>If you want to create an executable jar file, you need to configure Maven 
Archiver accordingly. You need to tell it which main class to use. This is done 
with the <code>&lt;mainClass&gt;</code> configuration element. Here is a sample 
<code>pom.xml</code> configured to add the classpath and use the class 
<code>fully.qualified.MainClass</code> as the main class:</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;configuration&gt;
+          &lt;archive&gt;
+            &lt;manifest&gt;
+              &lt;addClasspath&gt;true&lt;/addClasspath&gt;
+              &lt;mainClass&gt;fully.qualified.MainClass&lt;/mainClass&gt;
+            &lt;/manifest&gt;
+          &lt;/archive&gt;
+        &lt;/configuration&gt;
+        ...
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+  &lt;dependencies&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;commons-lang&lt;/groupId&gt;
+      &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
+      &lt;version&gt;2.1&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
+      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
+      &lt;version&gt;1.1&lt;/version&gt;
+    &lt;/dependency&gt;
+  &lt;/dependencies&gt;
+  ...
+&lt;/project&gt;
+</pre></div>
+<p>The manifest produced using the above configuration would look like 
this:</p>
+<div class="source"><pre class="prettyprint linenums">Manifest-Version: 1.0
+Created-By: Apache Maven ${maven.version}
+Build-Jdk: ${java.version}
+Main-Class: fully.qualified.MainClass
+Class-Path: plexus-utils-1.1.jar commons-lang-2.1.jar
+</pre></div></section><section>
+<h3><a 
name="Altering_The_Classpath:_Defining_a_Classpath_Directory_Prefix"></a>Altering
 The Classpath: Defining a Classpath Directory <a name="Prefix">Prefix</a></h3>
+<p>[<a href="#Contents">Top</a>]</p>
+<p>Sometimes it is useful to be able to alter the classpath, for example when 
<a href="/plugins/maven-war-plugin/examples/skinny-wars.html">creating skinny 
war-files</a>. This can be achieved with the 
<code>&lt;classpathPrefix&gt;</code> configuration element.</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+         &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
+         &lt;configuration&gt;
+           &lt;archive&gt;
+             &lt;manifest&gt;
+               &lt;addClasspath&gt;true&lt;/addClasspath&gt;
+               &lt;classpathPrefix&gt;lib/&lt;/classpathPrefix&gt;
+             &lt;/manifest&gt;
+           &lt;/archive&gt;
+         &lt;/configuration&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+  &lt;dependencies&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;commons-lang&lt;/groupId&gt;
+      &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
+      &lt;version&gt;2.1&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
+      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
+      &lt;version&gt;1.1&lt;/version&gt;
+    &lt;/dependency&gt;
+  &lt;/dependencies&gt;
+  ...
+&lt;/project&gt;
+</pre></div>
+<p>The manifest classpath produced using the above configuration would look 
like this:</p>
+<div class="source"><pre class="prettyprint linenums">Class-Path: 
lib/plexus-utils-1.1.jar lib/commons-lang-2.1.jar
+</pre></div></section><section>
+<h3><a 
name="Altering_The_Classpath:_Using_a_Maven_Repository-Style_Classpath"></a>Altering
 The Classpath: Using a Maven <a name="Repository">Repository</a>-Style 
Classpath</h3>
+<p>[<a href="#Contents">Top</a>]</p>
+<p><i>(Since: 2.3, see below)</i></p>
+<p>Occasionally, you may want to include a Maven repository-style directory 
structure in your archive. If you wish to reference the dependency archives 
within those directories in your manifest classpath, try using the 
<code>&lt;classpathLayoutType&gt;</code> element with a value of 
<code>'repository'</code>, like this:</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+        &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
+        &lt;version&gt;2.3&lt;/version&gt;
+        &lt;configuration&gt;
+          &lt;archive&gt;
+            &lt;manifest&gt;
+              &lt;addClasspath&gt;true&lt;/addClasspath&gt;
+              &lt;classpathPrefix&gt;lib/&lt;/classpathPrefix&gt;
+              &lt;classpathLayoutType&gt;repository&lt;/classpathLayoutType&gt;
+            &lt;/manifest&gt;
+          &lt;/archive&gt;
+        &lt;/configuration&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+  &lt;dependencies&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;commons-lang&lt;/groupId&gt;
+      &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
+      &lt;version&gt;2.1&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
+      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
+      &lt;version&gt;1.1&lt;/version&gt;
+    &lt;/dependency&gt;
+  &lt;/dependencies&gt;
+  ...
+&lt;/project&gt;
+</pre></div>
+<p>The manifest classpath produced using the above configuration would look 
like this:</p>
+<div class="source"><pre class="prettyprint linenums">Class-Path: 
lib/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar 
lib/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
+</pre></div></section><section>
+<h3><a 
name="Altering_The_Classpath:_Using_a_Custom_Classpath_Format"></a>Altering The 
Classpath: Using a <a name="Custom">Custom</a> Classpath Format</h3>
+<p>[<a href="#Contents">Top</a>]</p>
+<p><i>(Since: 2.4)</i></p>
+<p>At times, you may have dependency archives in a custom format within your 
own archive, one that doesn't conform to any of the above classpath layouts. If 
you wish to define a custom layout for dependency archives within your 
archive's manifest classpath, try using the 
<code>&lt;classpathLayoutType&gt;</code> element with a value of 
<code>'custom'</code>, along with the 
<code>&lt;customClasspathLayout&gt;</code> element, like this:</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+         &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
+         &lt;configuration&gt;
+           &lt;archive&gt;
+             &lt;manifest&gt;
+               &lt;addClasspath&gt;true&lt;/addClasspath&gt;
+               &lt;classpathLayoutType&gt;custom&lt;/classpathLayoutType&gt;
+               
&lt;customClasspathLayout&gt;WEB-INF/lib/$${artifact.groupIdPath}/$${artifact.artifactId}-$${artifact.version}$${dashClassifier?}.$${artifact.extension}&lt;/customClasspathLayout&gt;
+             &lt;/manifest&gt;
+           &lt;/archive&gt;
+         &lt;/configuration&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+  &lt;dependencies&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;commons-lang&lt;/groupId&gt;
+      &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
+      &lt;version&gt;2.1&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
+      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
+      &lt;version&gt;1.1&lt;/version&gt;
+    &lt;/dependency&gt;
+  &lt;/dependencies&gt;
+  ...
+&lt;/project&gt;
+</pre></div>
+<p>This classpath layout is a little more involved than the previous examples. 
To understand how the value of the <code>&lt;customClasspathLayout&gt;</code> 
configuration is interpreted, it's useful to understand the rules applied when 
resolving expressions within the value:</p>
+<ol style="list-style-type: decimal">
+<li>If present, trim off the prefix 'artifact.' from the expression.</li>
+<li>Attempt to resolve the expression as a reference to the Artifact using 
reflection (eg. <code>'artifactId'</code> becomes a reference to the method 
<code>'getArtifactId()'</code>).</li>
+<li>Attempt to resolve the expression as a reference to the ArtifactHandler of 
the current Artifact, again using reflection (eg. <code>'extension'</code> 
becomes a reference to the method <code>'getExtension()'</code>).</li>
+<li>Attempt to resolve the expression as a key in the special-case Properties 
instance, which contains the following mappings:
+<ul>
+<li><code>'dashClassifier'</code>: If the Artifact has a classifier, this will 
be <code>'-$<a name="artifact.classifier">artifact.classifier</a>'</code>, 
otherwise this is an empty string.</li>
+<li><code>'dashClassifier?'</code>: This is a synonym of 
<code>'dashClassifier'</code>.</li>
+<li><code>'groupIdPath'</code>: This is the equivalent of <code>'$<a 
name="artifact.groupId">artifact.groupId</a>'</code>, with all <code>'.'</code> 
characters replaced by <code>'/'</code>.</li></ul></li></ol>
+<p>The manifest classpath produced using the above configuration would look 
like this:</p>
+<div class="source"><pre class="prettyprint linenums">Class-Path: 
WEB-INF/lib/org/codehaus/plexus/plexus-utils-1.1.jar 
WEB-INF/lib/commons-lang/commons-lang-2.1.jar
+</pre></div></section><section>
+<h3><a name="Handling_Snapshot_Versions"></a>Handling <a 
name="Snapshot">Snapshot</a> Versions</h3>
+<p>[<a href="#Contents">Top</a>]</p>
+<p><i>(Since 2.4)</i></p>
+<p>Depending on how you construct your archive, you may have the ability to 
specify whether snapshot dependency archives are included with the version 
suffix <code>'-SNAPSHOT'</code>, or whether the unique timestamp and 
build-number for that archive is used. For instance, the <a 
href="/plugins/maven-assembly-plugin">Assembly Plugin</a> allows you to make 
this decision in the <code>&lt;outputFileNameMapping&gt;</code> element of its 
<code>&lt;dependencySet</code>&gt; descriptor section.</p><section>
+<h4><a 
name="Forcing_the_use_of_-SNAPSHOT_versions_when_using_the_simple_.28default.29_or_repository_classpath_layout"></a>Forcing
 the use of -SNAPSHOT versions when using the simple (default) or repository 
classpath layout</h4>
+<p>To force the use of <code>'-SNAPSHOT'</code> version naming, simply disable 
the <code>&lt;useUniqueVersions&gt;</code> configuration element, like this:</p>
+<div class="source"><pre class="prettyprint 
linenums">&lt;useUniqueVersions&gt;false&lt;/useUniqueVersions&gt;
+</pre></div></section><section>
+<h4><a 
name="Forcing_the_use_of_-SNAPSHOT_versions_with_custom_layouts"></a>Forcing 
the use of -SNAPSHOT versions with custom layouts</h4>
+<p>To force the use of <code>'-SNAPSHOT'</code> version naming, simply replace 
<code>'$<a name="artifact.version">artifact.version</a>'</code> with <code>'$<a 
name="artifact.baseVersion">artifact.baseVersion</a>'</code> in the custom 
layout example above, so it looks like this:</p>
+<div class="source"><pre class="prettyprint 
linenums">&lt;customClasspathLayout&gt;WEB-INF/lib/${artifact.groupIdPath}/${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension}&lt;/customClasspathLayout&gt;
+</pre></div>
+<p>The full example configuration would look like this:</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+         &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
+         &lt;configuration&gt;
+           &lt;archive&gt;
+             &lt;manifest&gt;
+               &lt;addClasspath&gt;true&lt;/addClasspath&gt;
+               &lt;classpathLayoutType&gt;custom&lt;/classpathLayoutType&gt;
+               
&lt;customClasspathLayout&gt;WEB-INF/lib/${artifact.groupIdPath}/${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}&lt;/customClasspathLayout&gt;
+             &lt;/manifest&gt;
+           &lt;/archive&gt;
+         &lt;/configuration&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+&lt;/project&gt;
+</pre></div></section></section></section>
+        </main>
+      </div>
+    </div>
+    <hr/>
+    <footer>
+      <div class="container-fluid">
+        <div class="row-fluid">
+            <p>&#169;      2002&#x2013;2024
+<a href="https://www.apache.org/";>The Apache Software Foundation</a>
+</p>
+        </div>
+      </div>
+    </footer>
+  </body>
 </html>
\ No newline at end of file

Modified: 
maven/website/components/shared-archives/maven-archiver-LATEST/examples/manifest.html
==============================================================================
--- 
maven/website/components/shared-archives/maven-archiver-LATEST/examples/manifest.html
 (original)
+++ 
maven/website/components/shared-archives/maven-archiver-LATEST/examples/manifest.html
 Tue Oct 22 15:29:46 2024
@@ -1,126 +1,162 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.11.1 from 
src/site/apt/examples/manifest.apt at 2024-06-26
- | Rendered using Apache Maven Fluido Skin 1.9
--->
-<html xmlns="http://www.w3.org/1999/xhtml"; lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
-    <meta name="author" content="Dennis Lundberg" />
-    <meta name="date" content="2008-01-01" />
-    <title>Apache Maven Archiver &#x2013; Manifest</title>
-    <link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
-    <link rel="stylesheet" href="../css/site.css" />
-    <link rel="stylesheet" href="../css/print.css" media="print" />
-    <script src="../js/apache-maven-fluido-1.9.min.js"></script>
-  </head>
-  <body class="topBarDisabled">
-    <div class="container-fluid">
-      <header>
-        <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h2>Apache Maven 
Archiver</h2>
-</div>
-</div>
-          <div class="pull-right"></div>
-          <div class="clear"><hr/></div>
-        </div>
-
-        <div id="breadcrumbs">
-          <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2024-06-26<span 
class="divider">|</span>
-</li>
-          <li id="projectVersion">Version: 4.0.0-beta-1</li>
-          </ul>
-        </div>
-      </header>
-      <div class="row-fluid">
-        <header id="leftColumn" class="span2">
-          <nav class="well sidebar-nav">
-  <ul class="nav nav-list">
-   <li class="nav-header">Overview</li>
-    <li><a href="../index.html" title="Introduction"><span 
class="none"></span>Introduction</a></li>
-    <li><a href="../apidocs/index.html" title="JavaDocs"><span 
class="none"></span>JavaDocs</a></li>
-    <li><a href="../xref/index.html" title="Source Xref"><span 
class="none"></span>Source Xref</a></li>
-    <li><a href="https://www.apache.org/licenses/"; class="externalLink" 
title="License"><span class="none"></span>License</a></li>
-    <li><a href="../download.html" title="Download"><span 
class="none"></span>Download</a></li>
-   <li class="nav-header">Examples</li>
-    <li class="active"><a href="#"><span class="none"></span>Manifest</a></li>
-    <li><a href="../examples/manifestEntries.html" title="Manifest 
Entries"><span class="none"></span>Manifest Entries</a></li>
-    <li><a href="../examples/manifestSections.html" title="Manifest 
Sections"><span class="none"></span>Manifest Sections</a></li>
-    <li><a href="../examples/classpath.html" title="Set Up The 
Classpath"><span class="none"></span>Set Up The Classpath</a></li>
-    <li><a href="../examples/manifestFile.html" title="Use Your Own Manifest 
File"><span class="none"></span>Use Your Own Manifest File</a></li>
-  </ul>
-          </nav>
-          <div class="well sidebar-nav">
-            <hr />
-            <div id="poweredBy">
-              <div class="clear"></div>
-              <div class="clear"></div>
-              <div class="clear"></div>
-<a href="http://maven.apache.org/"; title="Built by Maven" 
class="poweredBy"><img class="builtBy" alt="Built by Maven" 
src="../images/logos/maven-feather.png" /></a>
-            </div>
-          </div>
-        </header>
-        <main id="bodyColumn"  class="span10" >
-<section>
-<h2><a name="Manifest"></a>Manifest</h2><section>
-<h3><a name="Default_Manifest"></a>Default Manifest</h3>
-<p>The default manifest created by Maven Archiver will contain the following 
bits of information:</p>
-<div class="source"><pre class="prettyprint">Manifest-Version: 1.0
-Created-By: Apache Maven ${maven.version}
-Build-Jdk: ${java.version}</pre></div>
-<p><b>Note:</b> The <code>Build-Jdk</code> does not take toolchains 
configuration into account. It is the same JDK version as running the Maven 
instance.</p></section><section>
-<h3><a name="Adding_Implementation_And_Specification_Details"></a>Adding 
Implementation And Specification Details</h3>
-<p>Starting with version 2.1, Maven Archiver no longer creates the 
Implementation and Specification details in the manifest by default. If you 
want them in your manifest you have to say so explicitly in your 
configuration.</p>
-<p><b>Note:</b> Because this is a recent change in Maven Archiver, different 
plugins may or may not have started using it yet. Please check the 
documentation for the plugin you want to use. In this example we use 
maven-jar-plugin 2.1 which was the first version of that plugin to use this new 
feature.</p>
-<div class="source"><pre class="prettyprint">&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;2.1&lt;/version&gt;
-        ...
-        &lt;configuration&gt;
-          &lt;archive&gt;
-            &lt;manifest&gt;
-              
&lt;addDefaultImplementationEntries&gt;true&lt;/addDefaultImplementationEntries&gt;
-              
&lt;addDefaultSpecificationEntries&gt;true&lt;/addDefaultSpecificationEntries&gt;
-            &lt;/manifest&gt;
-          &lt;/archive&gt;
-        &lt;/configuration&gt;
-        ...
-      &lt;/plugin&gt;
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  ...
-&lt;/project&gt;</pre></div>
-<p>The resulting manifest would contain these pieces of information:</p>
-<div class="source"><pre class="prettyprint">Manifest-Version: 1.0
-Created-By: Apache Maven ${maven.version}
-Build-Jdk: ${java.version}
-Specification-Title: ${project.name}
-Specification-Version: 
${project.artifact.selectedVersion.majorVersion}.${project.artifact.selectedVersion.minorVersion}
-Specification-Vendor: ${project.organization.name}
-Implementation-Title: ${project.name}
-Implementation-Version: ${project.version}
-Implementation-Vendor: ${project.organization.name}</pre></div>
-<p><b>Note:</b> If your pom.xml does not have an 
<code>&lt;organization&gt;</code>/<code>&lt;name&gt;</code> element, then the 
<code>Specification-Vendor</code> and <code>Implementation-Vendor</code> 
entries will <b>not</b> be in the manifest.</p></section></section>
-        </main>
-      </div>
-    </div>
-    <hr/>
-    <footer>
-      <div class="container-fluid">
-        <div class="row-fluid">
-            <p>&#169;      2002&#x2013;2024
-<a href="https://www.apache.org/";>The Apache Software Foundation</a>
-</p>
-        </div>
-      </div>
-    </footer>
-  </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from 
src\site\apt/examples\manifest.apt at 2024-10-22
+ | Rendered using Apache Maven Fluido Skin 1.9
+-->
+<html xmlns="http://www.w3.org/1999/xhtml"; lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+    <meta name="author" content="Dennis Lundberg" />
+    <meta name="date" content="2008-01-01" />
+    <title>Apache Maven Archiver &#x2013; Manifest</title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
+    <link rel="stylesheet" href="../css/site.css" />
+    <link rel="stylesheet" href="../css/print.css" media="print" />
+    <script src="../js/apache-maven-fluido-1.9.min.js"></script>
+  </head>
+  <body class="topBarDisabled">
+    <div class="container-fluid">
+      <header>
+        <div id="banner">
+          <div class="pull-left"><a href="https://www.apache.org/"; 
id="bannerLeft"><img src="../../../images/apache-maven-project.png"  
alt=""/></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="Shared Components">Shared 
Components</a><span class="divider">/</span></li>
+      <li class=""><a href="../index.html" title="Apache Maven 
Archiver">Apache Maven Archiver</a><span class="divider">/</span></li>
+    <li class="active ">Manifest <a 
href="https://github.com/apache/maven-archiver/tree/maven-archiver-3.6.3/src\site\apt/examples\manifest.apt";><img
 src="../images/accessories-text-editor.png" title="Edit" /></a></li>
+        <li id="publishDate" class="pull-right"><span class="divider">|</span> 
Last Published: 2024-10-22</li>
+          <li id="projectVersion" class="pull-right">Version: 3.6.3</li>
+          </ul>
+        </div>
+      </header>
+      <div class="row-fluid">
+        <header id="leftColumn" class="span2">
+          <nav class="well sidebar-nav">
+  <ul class="nav nav-list">
+   <li class="nav-header">Overview</li>
+    <li><a href="../index.html" title="Introduction"><span 
class="none"></span>Introduction</a></li>
+    <li><a href="../apidocs/index.html" title="JavaDocs"><span 
class="none"></span>JavaDocs</a></li>
+    <li><a href="../xref/index.html" title="Source Xref"><span 
class="none"></span>Source Xref</a></li>
+    <li><a href="https://www.apache.org/licenses/"; class="externalLink" 
title="License"><span class="none"></span>License</a></li>
+    <li><a href="../download.html" title="Download"><span 
class="none"></span>Download</a></li>
+   <li class="nav-header">Examples</li>
+    <li class="active"><a href="#"><span class="none"></span>Manifest</a></li>
+    <li><a href="../examples/manifestEntries.html" title="Manifest 
Entries"><span class="none"></span>Manifest Entries</a></li>
+    <li><a href="../examples/manifestSections.html" title="Manifest 
Sections"><span class="none"></span>Manifest Sections</a></li>
+    <li><a href="../examples/classpath.html" title="Set Up The 
Classpath"><span class="none"></span>Set Up The Classpath</a></li>
+    <li><a href="../examples/manifestFile.html" title="Use Your Own Manifest 
File"><span class="none"></span>Use Your Own Manifest File</a></li>
+   <li class="nav-header">Project Documentation</li>
+    <li><a href="../project-info.html" title="Project Information"><span 
class="icon-chevron-right"></span>Project Information</a></li>
+    <li><a href="../project-reports.html" title="Project Reports"><span 
class="icon-chevron-right"></span>Project Reports</a></li>
+   <li class="nav-header">Maven Projects</li>
+    <li><a href="../../../ref/current" title="Maven"><span 
class="none"></span>Maven</a></li>
+    <li><a href="../../../archetypes/index.html" title="Archetypes"><span 
class="none"></span>Archetypes</a></li>
+    <li><a href="../../../extensions/index.html" title="Extensions"><span 
class="none"></span>Extensions</a></li>
+    <li><a href="../../../pom/index.html" title="Parent POMs"><span 
class="none"></span>Parent POMs</a></li>
+    <li><a href="../../../plugins/index.html" title="Plugins"><span 
class="none"></span>Plugins</a></li>
+    <li><a href="../../../skins/index.html" title="Skins"><span 
class="none"></span>Skins</a></li>
+    <li><a href="../" title="Components"><span 
class="icon-chevron-down"></span>Components</a>
+     <ul class="nav nav-list">
+      <li><a href="../../../archetype/index.html" title="Archetype"><span 
class="none"></span>Archetype</a></li>
+      <li><a href="../../../resolver/index.html" title="Artifact 
Resolver"><span class="none"></span>Artifact Resolver</a></li>
+      <li><a href="../../../doxia/index.html" title="Doxia"><span 
class="none"></span>Doxia</a></li>
+      <li><a href="../../../maven-indexer/index.html" title="Indexer"><span 
class="none"></span>Indexer</a></li>
+      <li><a href="../../../jxr/index.html" title="JXR"><span 
class="none"></span>JXR</a></li>
+      <li><a href="../../../plugin-testing/index.html" title="Plugin 
Testing"><span class="none"></span>Plugin Testing</a></li>
+      <li><a href="../../../plugin-tools/index.html" title="Plugin 
Tools"><span class="none"></span>Plugin Tools</a></li>
+      <li><a href="../../../apache-resource-bundles/index.html" 
title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
+      <li><a href="../../../scm/index.html" title="SCM"><span 
class="none"></span>SCM</a></li>
+      <li><a href="../../index.html" title="Shared Components"><span 
class="none"></span>Shared Components</a></li>
+      <li><a href="../../../surefire/index.html" title="Surefire"><span 
class="none"></span>Surefire</a></li>
+      <li><a href="../../../wagon/index.html" title="Wagon"><span 
class="none"></span>Wagon</a></li>
+     </ul></li>
+   <li class="nav-header">ASF</li>
+    <li><a href="https://www.apache.org/foundation/how-it-works.html"; 
class="externalLink" title="How Apache Works"><span class="none"></span>How 
Apache Works</a></li>
+    <li><a href="https://www.apache.org/foundation/"; class="externalLink" 
title="Foundation"><span class="none"></span>Foundation</a></li>
+    <li><a 
href="https://privacy.apache.org/policies/privacy-policy-public.html"; 
class="externalLink" title="Data Privacy"><span class="none"></span>Data 
Privacy</a></li>
+    <li><a href="https://www.apache.org/foundation/sponsorship.html"; 
class="externalLink" title="Sponsoring Apache"><span 
class="none"></span>Sponsoring Apache</a></li>
+    <li><a href="https://www.apache.org/foundation/thanks.html"; 
class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
+  </ul>
+          </nav>
+          <div class="well sidebar-nav">
+            <hr />
+            <div id="poweredBy">
+              <div class="clear"></div>
+              <div class="clear"></div>
+              <div class="clear"></div>
+<a href="http://maven.apache.org/"; title="Built by Maven" 
class="poweredBy"><img class="builtBy" alt="Built by Maven" 
src="../images/logos/maven-feather.png" /></a>
+            </div>
+          </div>
+        </header>
+        <main id="bodyColumn"  class="span10" >
+<section>
+<h2><a name="Manifest"></a>Manifest</h2><section>
+<h3><a name="Default_Manifest"></a>Default Manifest</h3>
+<p>The default manifest created by Maven Archiver will contain the following 
bits of information:</p>
+<div class="source"><pre class="prettyprint linenums">Manifest-Version: 1.0
+Created-By: Apache Maven ${maven.version}
+Build-Jdk: ${java.version}
+</pre></div>
+<p><b>Note:</b> The <code>Build-Jdk</code> does not take toolchains 
configuration into account. It is the same JDK version as running the Maven 
instance.</p></section><section>
+<h3><a name="Adding_Implementation_And_Specification_Details"></a>Adding 
Implementation And Specification Details</h3>
+<p>Starting with version 2.1, Maven Archiver no longer creates the 
Implementation and Specification details in the manifest by default. If you 
want them in your manifest you have to say so explicitly in your 
configuration.</p>
+<p><b>Note:</b> Because this is a recent change in Maven Archiver, different 
plugins may or may not have started using it yet. Please check the 
documentation for the plugin you want to use. In this example we use 
maven-jar-plugin 2.1 which was the first version of that plugin to use this new 
feature.</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;2.1&lt;/version&gt;
+        ...
+        &lt;configuration&gt;
+          &lt;archive&gt;
+            &lt;manifest&gt;
+              
&lt;addDefaultImplementationEntries&gt;true&lt;/addDefaultImplementationEntries&gt;
+              
&lt;addDefaultSpecificationEntries&gt;true&lt;/addDefaultSpecificationEntries&gt;
+            &lt;/manifest&gt;
+          &lt;/archive&gt;
+        &lt;/configuration&gt;
+        ...
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+&lt;/project&gt;
+</pre></div>
+<p>The resulting manifest would contain these pieces of information:</p>
+<div class="source"><pre class="prettyprint linenums">Manifest-Version: 1.0
+Created-By: Apache Maven ${maven.version}
+Build-Jdk: ${java.version}
+Specification-Title: ${project.name}
+Specification-Version: 
${project.artifact.selectedVersion.majorVersion}.${project.artifact.selectedVersion.minorVersion}
+Specification-Vendor: ${project.organization.name}
+Implementation-Title: ${project.name}
+Implementation-Version: ${project.version}
+Implementation-Vendor: ${project.organization.name}
+</pre></div>
+<p><b>Note:</b> If your pom.xml does not have an 
<code>&lt;organization&gt;</code>/<code>&lt;name&gt;</code> element, then the 
<code>Specification-Vendor</code> and <code>Implementation-Vendor</code> 
entries will <b>not</b> be in the manifest.</p></section></section>
+        </main>
+      </div>
+    </div>
+    <hr/>
+    <footer>
+      <div class="container-fluid">
+        <div class="row-fluid">
+            <p>&#169;      2002&#x2013;2024
+<a href="https://www.apache.org/";>The Apache Software Foundation</a>
+</p>
+        </div>
+      </div>
+    </footer>
+  </body>
 </html>
\ No newline at end of file


Reply via email to