You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by sv...@apache.org on 2023/02/08 20:32:15 UTC
svn commit: r1907529 [13/22] - in /maven/website/content: ./ apache-resource-bundles/ archives/maven-2.x/ background/ developers/ developers/conventions/ developers/release/ developers/website/ docs/ docs/2.0.1/ docs/2.0.10/ docs/2.0.11/ docs/2.0.2/ do...
Modified: maven/website/content/guides/mini/guide-mirror-settings.html
==============================================================================
--- maven/website/content/guides/mini/guide-mirror-settings.html (original)
+++ maven/website/content/guides/mini/guide-mirror-settings.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-mirror-settings.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-mirror-settings.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Jason van Zyl
Brian Fox
Robert Scholte" />
@@ -155,7 +155,7 @@ Robert Scholte" />
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Using_Mirrors_for_Repositories"></a>Using Mirrors for Repositories</h1>
+<h1>Using Mirrors for Repositories</h1>
<p>With <a href="/guides/introduction/introduction-to-repositories.html">Repositories</a> you specify from which locations you want to <i>download</i> certain artifacts, such as dependencies and maven-plugins. Repositories can be <a href="../mini/guide-multiple-repositories.html">declared inside a project</a>, which means that if you have your own custom repositories, those sharing your project easily get the right settings out of the box. However, you may want to use an alternative mirror for a particular repository without changing the project files.</p>
<p>Some reasons to use a mirror are:</p>
<ul>
@@ -179,7 +179,7 @@ Robert Scholte" />
<p>The settings descriptor documentation can be found on the <a href="../../maven-settings/settings.html">Maven Local Settings Model Website</a>.</p>
<p><b>Note</b>: The official Maven repository is at <code>https://repo.maven.apache.org/maven2</code> hosted by the Sonatype Company and is distributed worldwide via CDN.</p>
<p>A list of known mirrors is available in the <a class="externalLink" href="https://repo.maven.apache.org/maven2/.meta/repository-metadata.xml">Repository Metadata</a>. These mirrors may not have the same contents and we don't support them in any way.</p></section><section>
-<h1><a name="Using_A_Single_Repository"></a>Using A Single Repository</h1>
+<h1>Using A Single Repository</h1>
<p>You can force Maven to use a single repository by having it mirror all repository requests. The repository must contain all of the desired artifacts, or be able to proxy the requests to other repositories. This setting is most useful when using an internal company repository with a <a href="../../repository-management.html">Maven Repository Manager</a> to proxy external requests.</p>
<p>To achieve this, set <code>mirrorOf</code> to <code>*</code>.</p>
<p><b>Note:</b> This feature is only available in Maven 2.0.5+.</p>
@@ -195,7 +195,7 @@ Robert Scholte" />
</mirrors>
...
</settings></pre></div></section><section>
-<h1><a name="Advanced_Mirror_Specification"></a>Advanced Mirror Specification</h1>
+<h1>Advanced Mirror Specification</h1>
<p>A single mirror can handle multiple repositories. This is typically used in conjunction with a repository manager, that gives easy centralised configuration of the list of repositories behind.</p>
<p>The syntax:</p>
<ul>
@@ -231,7 +231,7 @@ Robert Scholte" />
</mirrors>
...
</settings></pre></div></section><section>
-<h1><a name="Creating_Your_Own_Mirror"></a>Creating Your Own Mirror</h1>
+<h1>Creating Your Own Mirror</h1>
<p>The size of the central repository is <a class="externalLink" href="https://search.maven.org/stats">increasing steadily</a> To save us bandwidth and you time, mirroring the entire central repository is not allowed. (Doing so will get you automatically banned.) Instead, we suggest you setup a <a href="../../repository-management.html">repository manager</a> as a proxy.</p></section>
</main>
</div>
Modified: maven/website/content/guides/mini/guide-multiple-modules-4.html
==============================================================================
--- maven/website/content/guides/mini/guide-multiple-modules-4.html (original)
+++ maven/website/content/guides/mini/guide-multiple-modules-4.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/markdown/guides/mini/guide-multiple-modules-4.md at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/markdown/guides/mini/guide-multiple-modules-4.md at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<title>Maven – Guide to Working with Multiple Modules in Maven 4</title>
<link rel="stylesheet" href="../../css/apache-maven-fluido-1.11.1.min.css" />
<link rel="stylesheet" href="../../css/site.css" />
@@ -153,7 +153,7 @@
</header>
<main id="bodyColumn" class="span10" >
<section><section>
-<h2><a name="Guide_to_Working_with_Multiple_Modules_in_Maven_4"></a>Guide to Working with Multiple Modules in Maven 4</h2><!--
+<h2>Guide to Working with Multiple Modules in Maven 4</h2><!--
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
@@ -175,7 +175,7 @@ under the License.
<p>(If you're working with Maven 3, please refer to the <a href="./guide-multiple-modules.html">Maven 3 edition of this guide</a>)</p>
<p>As seen in the introduction to the POM, Maven supports project aggregation in addition to project inheritance.
This section outlines how Maven processes projects with multiple modules, and how you can work with them more effectively.</p></section><section>
-<h2><a name="The_Reactor"></a>The Reactor</h2>
+<h2>The Reactor</h2>
<p>The mechanism in Maven that handles multi-module projects is referred to as the <em>reactor</em>.
This part of the Maven core does the following:</p>
<ul>
@@ -185,7 +185,7 @@ This part of the Maven core does the fol
<li>Selects which modules to build</li>
<li>Builds the selected modules in order</li>
</ul><section>
-<h3><a name="Collecting_Modules"></a>Collecting Modules</h3>
+<h3>Collecting Modules</h3>
<p>Module collection starts from one aggregator project.
That project defines the modules of which it consists using the <code><modules></code> element.
This is a recursive process, so aggregators can have child modules which are aggregators themselves.</p>
@@ -197,7 +197,7 @@ For consistent behaviour, create a <code
<p>There are two ways to point at a starting POM.
By default, Maven reads the <code>pom.xml</code> file in the working directory.
Using <code>-f</code>, you can point to another POM.</p></section><section>
-<h3><a name="Sorting_Modules"></a>Sorting Modules</h3>
+<h3>Sorting Modules</h3>
<p>Because modules within a multi-module build can depend on each other, it is important that the reactor sorts all the projects in a way that guarantees any project is built before it is required.</p>
<p>The following relationships are honoured when sorting projects:</p>
<ul>
@@ -208,8 +208,8 @@ Using <code>-f</code>, you can point to
<li>a build extension declaration on another module in the build</li>
<li>the order declared in the <code><modules></code> element (if no other rule applies)</li>
</ul>
-<p>Note that only instantiated references are used - <code>dependencyManagement</code> and <code>pluginManagement</code> elements do not cause a change to the reactor sort order.</p></section><section>
-<h3><a name="Selecting_Modules"></a>Selecting Modules</h3>
+<p>Note that only “instantiated” references are used - <code>dependencyManagement</code> and <code>pluginManagement</code> elements do not cause a change to the reactor sort order.</p></section><section>
+<h3>Selecting Modules</h3>
<p>By default, Maven builds all modules it has collected.
However, you can select a subset of these modules to build using command line flags.
These flags come in three categories:</p>
@@ -220,7 +220,7 @@ These flags come in three categories:</p
<li>Dealing with failures</li>
</ul>
<p>This section ends with how these flags relate to each other.</p><section>
-<h4><a name="Inclusion_and_exclusion"></a>Inclusion and exclusion</h4>
+<h4>Inclusion and exclusion</h4>
<p>Using <code>--projects</code> you can specify which modules to build.
You can do this by specifying a comma-delimited list of project selectors.
A project selector is a string that is composed of the <code>groupId:artifactId</code>, only <code>:artifactId</code> or the relative path to a module.</p>
@@ -230,7 +230,7 @@ To explicitly select a module, prefix it
<p>When a selector does not resolve to an existing module, Maven fails the build.
You can prevent this by adding the <code>?</code> prefix.
This prefix should always go after the other prefixes.</p></section><section>
-<h4><a name="Relationships_between_modules"></a>Relationships between modules</h4>
+<h4>Relationships between modules</h4>
<p>Modules inside a project can have two types of relationships: parent/child and dependency/dependent.</p>
<p>When selecting a parent (aggregator), Maven automatically selects the child modules as well.
Similarly, Maven excludes child modules of an excluded parent (aggregator).
@@ -238,7 +238,7 @@ To prevent this recursive behaviour, com
<p>Maven knows about the dependencies between modules inside the multi-module project.
Using <code>--also-make</code>, Maven includes all dependencies of the selected projects in the build.
Similarly, <code>--also-make-dependents</code> lets Maven include all modules which are dependent on the selected projects.</p></section><section>
-<h4><a name="Dealing_with_failures"></a>Dealing with failures</h4>
+<h4>Dealing with failures</h4>
<p>There are several ways to customize how the reactor deals with failures.
<code>--fail-at-end</code> fails the build after building as many modules as possible.
In this case, modules that do not depend on a failed module, will still be built.
@@ -247,7 +247,7 @@ This is the default behaviour.
<code>--fail-never</code> ignores build failures.</p>
<p>When a build has failed, and you want to start it again, you can skip building the modules that were previously built successfully using <code>--resume</code>.
To resume a build from a specific module, you can use <code>--resume-from <selector></code>.</p></section><section>
-<h4><a name="Bringing_it_together"></a>Bringing it together</h4>
+<h4>Bringing it together</h4>
<p>As said, Maven includes all modules in the reactor, even when the starting POM is not the root of the project.
The reactor then selects which modules to build using the following steps:</p>
<ol style="list-style-type: decimal">
@@ -258,10 +258,10 @@ The reactor then selects which modules t
<li>Finally, further reduce this list by removing all modules that are excluded with <code>--projects</code> (using the <code>!</code> or <code>-</code> prefixes).</li>
</ol>
<p>Each of the steps 1, 2 and 3 honor the <code>--also-make</code> and <code>--also-make-dependents</code> flags, if they are given.</p></section></section></section><section>
-<h2><a name="Command_Line_Options"></a>Command Line Options</h2>
+<h2>Command Line Options</h2>
<p>No special configuration is required to take advantage of the reactor, however it is possible to customize its behavior.</p>
<p>The following command line switches are available:</p>
-<table border="0" class="table table-striped">
+<table class="table table-striped">
<thead>
<tr class="a">
<th>Long</th>
@@ -269,61 +269,61 @@ The reactor then selects which modules t
<th>Summary</th>
<th>Details</th></tr></thead><tbody>
<tr class="b">
-<td align="left"><code>--file</code></td>
+<td><code>--file</code></td>
<td><code>-f</code></td>
<td>Selects an alternative POM file or directory containing a POM file.</td>
<td><a href="#collecting-modules">Collecting Modules</a></td></tr>
<tr class="a">
-<td align="left"><code>--non-recursive</code></td>
+<td><code>--non-recursive</code></td>
<td><code>-N</code></td>
<td>Ignores any child modules that may be present in the starting POM. When combined with <code>-pl</code>, ignores the children of selected modules.</td>
<td><a href="#collecting-modules">Collecting Modules</a> and <a href="relationships-between-modules">Relationships between modules</a></td></tr>
<tr class="b">
-<td align="left"><code>--projects</code></td>
+<td><code>--projects</code></td>
<td><code>-pl</code></td>
<td>Specifies the modules to include or exclude from a build.</td>
<td><a href="#inclusion-and-exclusion">Inclusion and exclusion</a></td></tr>
<tr class="a">
-<td align="left"><code>--also-make</code></td>
+<td><code>--also-make</code></td>
<td><code>-am</code></td>
<td>Builds the specified modules, and any of their dependencies in the reactor.</td>
<td><a href="#relationships-between-modules">Relationships between modules</a></td></tr>
<tr class="b">
-<td align="left"><code>--also-make-dependents</code></td>
+<td><code>--also-make-dependents</code></td>
<td><code>-amd</code></td>
<td>Builds the specified modules, and any that depend on them.</td>
<td><a href="#relationships-between-modules">Relationships between modules</a></td></tr>
<tr class="a">
-<td align="left"><code>--resume-from</code></td>
+<td><code>--resume-from</code></td>
<td><code>-rf</code></td>
<td>Resumes a reactor from the specified project (e.g. when it fails in the middle).</td>
<td><a href="#dealing-with-failures">Dealing with failures</a></td></tr>
<tr class="b">
-<td align="left"><code>--resume</code></td>
+<td><code>--resume</code></td>
<td><code>-r</code></td>
<td>Resumes a reactor from the module where the previous build failed.</td>
<td><a href="#dealing-with-failures">Dealing with failures</a></td></tr>
<tr class="a">
-<td align="left"><code>--fail-fast</code></td>
+<td><code>--fail-fast</code></td>
<td><code>-ff</code></td>
<td>Stops the overall build immediately whenever a module build fails. This is the default behavior.</td>
<td><a href="#dealing-with-failures">Dealing with failures</a></td></tr>
<tr class="b">
-<td align="left"><code>--fail-at-end</code></td>
+<td><code>--fail-at-end</code></td>
<td><code>-fae</code></td>
<td>Continues the rest of the reactor if a particular module build fails and report all failed modules at the end instead.</td>
<td><a href="#dealing-with-failures">Dealing with failures</a></td></tr>
<tr class="a">
-<td align="left"><code>--fail-never</code></td>
+<td><code>--fail-never</code></td>
<td><code>-fn</code></td>
<td>Never fails the build, regardless of the project result.</td>
<td><a href="#dealing-with-failures">Dealing with failures</a></td></tr></tbody>
</table>
</section><section>
-<h2><a name="Differences_between_Maven_3_and_4"></a>Differences between Maven 3 and 4</h2>
+<h2>Differences between Maven 3 and 4</h2>
<p><img src="multi-module.png" alt="Sample multi-module project" /></p>
<p>The table below illustrates multiple scenarios which have changed between Maven 3 and 4. They assume a project structure as depicted above.</p>
-<table border="0" class="table table-striped">
+<table class="table table-striped">
<thead>
<tr class="a">
<th>Scenario</th>
@@ -331,38 +331,38 @@ The reactor then selects which modules t
<th>Maven 3</th>
<th>Maven 4</th></tr></thead><tbody>
<tr class="b">
-<td align="left">Build an aggregator and its children</td>
+<td>Build an aggregator and its children</td>
<td>module-c, module-c-1, module-c-2</td>
<td><code>mvn compile -pl module-c, module-c-1, module-c-2</code></td>
<td><code>mvn compile -pl module-c</code></td></tr>
<tr class="a">
-<td align="left">Build an aggregator and ignore its children</td>
+<td>Build an aggregator and ignore its children</td>
<td>module-c, module-c-1, module-c-2</td>
<td><code>mvn compile -pl module-c</code></td>
<td><code>mvn compile -pl module-c -N</code></td></tr>
<tr class="b">
-<td align="left">Also make dependencies outside of current scope</td>
+<td>Also make dependencies outside of current scope</td>
<td>parent, module-a, module-b, module-c, module-c-2</td>
<td>N/A</td>
<td><code>cd module-c/module-c-2 && mvn compile -am</code></td></tr>
<tr class="a">
-<td align="left">Also make dependents outside of current scope</td>
+<td>Also make dependents outside of current scope</td>
<td>module-a, module-b, module-c-2</td>
<td>N/A</td>
<td><code>cd module-a && mvn compile -amd</code></td></tr>
<tr class="b">
-<td align="left">Resuming from a module and build all dependencies</td>
+<td>Resuming from a module and build all dependencies</td>
<td>parent, module-a, module-b, module-c, module-c-2</td>
<td>N/A</td>
<td><code>mvn compile -rf :module-c-2 -am</code> or <code>mvn compile -r -am</code></td></tr>
<tr class="a">
-<td align="left">Run specific goal on one submodule with dependencies from project</td>
+<td>Run specific goal on one submodule with dependencies from project</td>
<td>module-c-2</td>
<td><code>mvn install && mvn jetty:run -f module-c/module-c-2</code></td>
<td><code>mvn compile && mvn jetty:run -f module-c/module-c-2</code></td></tr></tbody>
</table>
</section><section>
-<h2><a name="More_information"></a>More information</h2>
+<h2>More information</h2>
<ul>
<li><a href="http://books.sonatype.com/mvnex-book/reference/multimodule.html" class="externalLink">Chapter 6. A Multi-module Project (Maven by Example)</a> - does not include Maven 4 changes!</li>
Modified: maven/website/content/guides/mini/guide-multiple-modules.html
==============================================================================
--- maven/website/content/guides/mini/guide-multiple-modules.html (original)
+++ maven/website/content/guides/mini/guide-multiple-modules.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-multiple-modules.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-multiple-modules.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Brett Porter
Karl Heinz Marbaise" />
<meta name="date" content="2015-03-13" />
@@ -156,16 +156,16 @@ Karl Heinz Marbaise" />
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Guide_to_Working_with_Multiple_Modules"></a>Guide to Working with Multiple Modules</h1>
+<h1>Guide to Working with Multiple Modules</h1>
<p>(If you're working with Maven 4, please refer to the <a href="./guide-multiple-modules-4.html"> Maven 4 edition of this guide</a>)</p>
<p>As seen in the introduction to the POM, Maven supports project aggregation in addition to project inheritance. This section outlines how Maven processes projects with multiple modules, and how you can work with them more effectively.</p><section>
-<h2><a name="The_Reactor"></a>The Reactor</h2>
+<h2>The Reactor</h2>
<p>The mechanism in Maven that handles multi-module projects is referred to as the <i>reactor</i>. This part of the Maven core does the following:</p>
<ul>
<li>Collects all the available modules to build</li>
<li>Sorts the projects into the correct build order</li>
<li>Builds the selected projects in order</li></ul><section>
-<h3><a name="Reactor_Sorting"></a>Reactor Sorting</h3>
+<h3>Reactor Sorting</h3>
<p>Because modules within a multi-module build can depend on each other, it is important that the reactor sorts all the projects in a way that guarantees any project is built before it is required.</p>
<p>The following relationships are honoured when sorting projects:</p>
<ul>
@@ -175,7 +175,7 @@ Karl Heinz Marbaise" />
<li>a build extension declaration on another module in the build</li>
<li>the order declared in the <code><modules></code> element (if no other rule applies)</li></ul>
<p>Note that only "instantiated" references are used - <code>dependencyManagement</code> and <code>pluginManagement</code> elements do not cause a change to the reactor sort order.</p></section><section>
-<h3><a name="Command_Line_Options"></a>Command Line Options</h3>
+<h3>Command Line Options</h3>
<p>No special configuration is required to take advantage of the reactor, however it is possible to customize its behavior.</p>
<p>The following command line switches are available:</p>
<ul>
@@ -186,7 +186,7 @@ Karl Heinz Marbaise" />
<li><code>--fail-at-end</code> - if a particular module build fails, continue the rest of the reactor and report all failed modules at the end instead</li>
<li><code>--non-recursive</code> - do not use a reactor build, even if the current project declares modules and just build the project in the current directory</li></ul>
<p>Refer to the Maven command line interface reference for more information on these switches.</p></section></section><section>
-<h2><a name="More_information"></a>More information</h2>
+<h2>More information</h2>
<ul>
<li><a class="externalLink" href="http://books.sonatype.com/mvnex-book/reference/multimodule.html"> Chapter 6. A Multi-module Project (Maven by Example)</a></li></ul></section></section>
</main>
Modified: maven/website/content/guides/mini/guide-multiple-repositories.html
==============================================================================
--- maven/website/content/guides/mini/guide-multiple-repositories.html (original)
+++ maven/website/content/guides/mini/guide-multiple-repositories.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-multiple-repositories.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-multiple-repositories.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Jason van Zyl" />
<meta name="date" content="2005-10-12" />
<title>Maven – Guide to using Multiple Repositories</title>
@@ -153,7 +153,7 @@
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Setting_up_Multiple_Repositories"></a>Setting up Multiple Repositories</h1>
+<h1>Setting up Multiple Repositories</h1>
<p>There are two different ways that you can specify the use of multiple repositories. The first way is to specify in a POM which repositories you want to use. That is supported both inside and outside of build profiles:</p>
<div class="source"><pre class="prettyprint linenums">
<project>
@@ -207,7 +207,7 @@ mvn -Pmyprofile ...
</pre></div>
<p>In fact the <code>-P</code> option will take a CSV list of profiles to activate if you wish to activate multiple profiles simultaneously.</p>
<p><b>Note</b>: The settings descriptor documentation can be found on the <a href="../../maven-settings/settings.html">Maven Local Settings Model Website</a>.</p><section>
-<h2><a name="Repository_Order"></a>Repository Order</h2>
+<h2>Repository Order</h2>
<p>Remote repository URLs are queried in the following order for artifacts until one returns a valid result:</p>
<ol style="list-style-type: decimal">
<li>effective settings:
Modified: maven/website/content/guides/mini/guide-naming-conventions.html
==============================================================================
--- maven/website/content/guides/mini/guide-naming-conventions.html (original)
+++ maven/website/content/guides/mini/guide-naming-conventions.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-naming-conventions.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-naming-conventions.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Carlos Sanchez" />
<meta name="date" content="2005-11-01" />
<title>Maven – Guide to Naming Conventions</title>
@@ -146,7 +146,7 @@
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Guide_to_naming_conventions_on_groupId.2C_artifactId.2C_and_version"></a>Guide to naming conventions on groupId, artifactId, and version</h1>
+<h1>Guide to naming conventions on groupId, artifactId, and version</h1>
<ul>
<li><b>groupId</b> uniquely identifies your project across all projects. A group ID should follow <a class="externalLink" href="https://docs.oracle.com/javase/specs/jls/se6/html/packages.html#7.7">Java's package name rules</a>. This means it starts with a reversed domain name you control. For example,
<p><code>org.apache.maven</code>, <code>org.apache.commons</code></p>
Modified: maven/website/content/guides/mini/guide-new-committers.html
==============================================================================
--- maven/website/content/guides/mini/guide-new-committers.html (original)
+++ maven/website/content/guides/mini/guide-new-committers.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-new-committers.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-new-committers.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Jason van Zyl" />
<meta name="date" content="2005-11-20" />
<title>Maven – Guide for new committers</title>
@@ -124,7 +124,7 @@
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Guide_for_new_committers"></a>Guide for new committers</h1>
+<h1>Guide for new committers</h1>
<p>First thing is to sort out some administrative tasks. Before your account is created and commit access granted you must complete and fax back to Apache the <a class="externalLink" href="http://www.apache.org/licenses/#clas">Committer's License Agreement</a>.</p>
<p>While this process is sorting itself out it is recommended that you peruse the various guides provided by Apache. All the guides are located in the <a class="externalLink" href="http://www.apache.org/dev/">Development Infrastructure Information</a>.</p>
<p>Of particular interest is the <a class="externalLink" href="http://www.apache.org/dev/committers.html">Committer's FAQ</a> and the <a class="externalLink" href="http://www.apache.org/dev/new-committers-guide.html">New Committer's Guide</a>.</p>
Modified: maven/website/content/guides/mini/guide-proxies.html
==============================================================================
--- maven/website/content/guides/mini/guide-proxies.html (original)
+++ maven/website/content/guides/mini/guide-proxies.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-proxies.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-proxies.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Jason van Zyl" />
<meta name="date" content="2005-10-12" />
<title>Maven – Guide to using proxies</title>
@@ -153,7 +153,7 @@
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Configuring_a_proxy"></a>Configuring a proxy</h1>
+<h1>Configuring a proxy</h1>
<p>You can configure a proxy to use for some or all of your HTTP requests with Maven. The username and password are only required if your proxy requires basic authentication (note that later releases may support storing your passwords in a secured keystore - in the mean time, please ensure your settings.xml file (usually ${user.home}/.m2/settings.xml) is secured with permissions appropriate for your operating system).</p>
<p>The <code>nonProxyHosts</code> setting accepts wild cards, and each host not to proxy is separated by the | character. This matches the JDK configuration equivalent.</p>
<div class="source"><pre class="prettyprint linenums">
@@ -177,7 +177,7 @@
</settings>
</pre></div>
<p>Please note that currently NTLM proxies are not supported as they have not been tested. You may be able to use the relevant system properties on JDK 1.4+ to make this work.</p><section>
-<h2><a name="Resources"></a>Resources</h2>
+<h2>Resources</h2>
<ol style="list-style-type: decimal">
<li><a href="../../maven-settings/settings.html">Settings descriptor documentation</a></li>
<li><a href="./guide-configuring-maven.html">Configuring Maven</a></li></ol></section></section>
Modified: maven/website/content/guides/mini/guide-releasing.html
==============================================================================
--- maven/website/content/guides/mini/guide-releasing.html (original)
+++ maven/website/content/guides/mini/guide-releasing.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-releasing.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-releasing.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Jason van Zyl
Trent Rosenbaum
Vincent Massol
@@ -159,14 +159,14 @@ Karl Heinz Marbaise" />
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Releasing"></a>Releasing</h1><section>
-<h2><a name="Introduction"></a>Introduction</h2>
+<h1>Releasing</h1><section>
+<h2>Introduction</h2>
<p>The main aim of the maven-release plugin is to provide a standard mechanism to release project artifacts outside the immediate development team. The plugin provides basic functionality to create a release and to update the project's SCM accordingly.</p>
<p>To create a release the maven-release plugin is executed through maven in 2 stages:</p>
<ol style="list-style-type: decimal">
<li>Preparing the release.</li>
<li>Performing the release.</li></ol></section><section>
-<h2><a name="Preparing_the_release"></a>Preparing the release</h2>
+<h2>Preparing the release</h2>
<p>The plugin will record release information into a new revision of the project's <i>pom.xml</i> file as well as applying SCM versioning to the project's resources.</p>
<p>The <code>release:prepare</code> goal will:</p>
<ol style="list-style-type: decimal">
@@ -260,7 +260,7 @@ Karl Heinz Marbaise" />
<li><b>A New development version</b>.
<p>This value is the placed in the next revision of the <i>pom.xml</i> file used for continuing development. If the current release represented version 1.0 then an appropriate value could be 2.0-SNAPSHOT. The SNAPSHOT designator is required to prepare and perform future releases. This value is then committed in the next development revision of the <i>pom.xml</i> file.</p></li></ul>
<p>After maven has been supplied with the required information the maven-release plugin will interact with the project's SCM and define a relese to be extracted and deployed. At the same time the project's development trunk is updated allowing developers to continue with further modifications that will be included within future releases.</p></section><section>
-<h2><a name="Performing_the_release"></a>Performing the release</h2>
+<h2>Performing the release</h2>
<p>The plugin will extract file revisions associated with the current release. Maven will compile, test and package the versioned project source code into an artifact. The final deliverable will then be released into an appropriate maven repository.</p>
<p>The <code>release:perform</code> goal will:</p>
<ol style="list-style-type: decimal">
@@ -319,10 +319,10 @@ checkpoint.check-in-development-version=
<p>The source code revisions used to build the current release of the project.</p></li>
<li><i>artifact id</i>-<i>version</i>.pom
<p>The contents of the <i>pom.xml</i> file used to create the current release of the project.</p></li></ul></section><section>
-<h2><a name="Troubleshooting"></a>Troubleshooting</h2><section>
-<h3><a name="I_get_a_.22The_authenticity_of_host_.27host.27_can.27t_be_established..22_error_and_the_build_hangs"></a>I get a "The authenticity of host '<i>host</i>' can't be established." error and the build hangs</h3>
+<h2>Troubleshooting</h2><section>
+<h3>I get a "The authenticity of host '<i>host</i>' can't be established." error and the build hangs</h3>
<p>This is because your <code>~user/.ssh/known_hosts</code> file doesn't have the host listed. You'd normally get a prompt to add the host to the known host list but Maven doesn't propagate that prompt. The solution is to add the host the <code>known_hosts</code> file before executing Maven. On Windows, this can be done by installing an OpenSSH client (for example <a class="externalLink" href="http://sshwindows.sourceforge.net/download/">SSHWindows</a>), running <code>ssh <host</code>> and accepting to add the host.</p></section><section>
-<h3><a name="The_site_deploy_goal_hangs"></a>The site deploy goal hangs</h3>
+<h3>The site deploy goal hangs</h3>
<p>First, this means that you have successfully deployed the artifacts to the remote repo and that it's only the site deployment that is now an issue. Stop your build, cd to <b>target/checkout</b>> and run the build again by executing <code>mvn site:deploy</code>. You should see a prompt asking you to enter a password. This happens if your key is not in the authorized keys on the server.</p></section></section></section>
</main>
</div>
Modified: maven/website/content/guides/mini/guide-relocation.html
==============================================================================
--- maven/website/content/guides/mini/guide-relocation.html (original)
+++ maven/website/content/guides/mini/guide-relocation.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-relocation.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-relocation.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Dennis Lundberg" />
<meta name="date" content="2006-07-08" />
<title>Maven – Guide to relocation</title>
@@ -153,13 +153,13 @@
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Guide_to_relocation"></a>Guide to relocation</h1>
+<h1>Guide to relocation</h1>
<p>Sometimes it is necessary to relocate artifacts in the repository. One example of that is when a project moves from one groupId to a different groupId.</p>
<p>Making changes to the repository can have far reaching consequences. So it is best to get it right the first time, hence this guide.</p>
<p><b>2020 rework in progress</b>, see <a class="externalLink" href="https://lists.apache.org/thread.html/r5e940260cfe5234f540c20fdb7bb7dacbb63b911a4b902c75f4f0cd2%40%3Cdev.maven.apache.org%3E">discussion on dev mailing list</a>, still need analysis of issues, definition of improvements, and of course implementation...</p><section>
-<h2><a name="How_to_relocate_a_Maven_2_artifact_to_a_different_groupId"></a>How to relocate a Maven 2 artifact to a different groupId</h2>
+<h2>How to relocate a Maven 2 artifact to a different groupId</h2>
<p>The goal of the example below is for the <code>foo</code> project to relocate its groupId from <code>bar</code> to <code>org.bar</code>.</p><section>
-<h3><a name="Working_on_past_versions"></a>Working on past versions</h3>
+<h3>Working on past versions</h3>
<ol style="list-style-type: decimal">
<li>Copy all <code>foo</code>-related files from <code>/bar/foo/</code> in your Maven 2 repository to a temporary location.</li>
<li>Change the groupId to <code>org.bar</code> in all <code>foo</code>-related POM files in the temporary location.</li>
@@ -182,18 +182,18 @@
<li>If your project uses MD5 or SHA1 checksums you must now create new checksums for the pom files in <code>/bar/foo/</code> in your Maven 2 repository. If the POM file needs to be signed, do that as well.</li>
<li>If your project syncs with Central, you should now initiate that sync. This might happen automatically depending on your projects sync policy.</li></ol>
<p>Your <code>foo</code>-artifacts are now available to Maven users with both the old and the new groupId. Projects using the old groupId will automatically be redirected to the new groupId and a warning telling the user to update their dependencies will be issued.</p></section><section>
-<h3><a name="Releasing_the_next_version"></a>Releasing the next version</h3>
+<h3>Releasing the next version</h3>
<p>When the next release of <code>foo</code> is made, you should publish two Maven 2 POM files: first you should publish <code>foo</code>'s POM with the new groupId <code>org.bar</code>.</p>
<p>Because data in the repository is not supposed to change, Maven doesn't download POM files that it has already downloaded. Therefore you will also need to publish a relocation POM file with the old groupId <code>bar</code> for the new version: this should be a minimal relocation POM (as described in step 4 above), but for the new version of <code>foo</code>.</p>
<p>For the release after that, you only need to publish a Maven POM with a groupId of <code>org.bar</code>, since users of the previous version have been informed of the changed groupId.</p></section></section><section>
-<h2><a name="Examples"></a>Examples</h2><section>
-<h3><a name="Apache_Ant"></a>Apache Ant</h3>
+<h2>Examples</h2><section>
+<h3>Apache Ant</h3>
<ol style="list-style-type: decimal">
<li>has published its releases until 1.6.5 to Maven 1-compliant <code>ant:ant</code> coordinates (see <a class="externalLink" href="https://repo.maven.apache.org/maven2/ant/ant/">repository content</a>),</li>
<li>starting with 1.7.0, moved to reverse-DNS compliant Maven 2+ <code>org.apache.ant:ant</code> coordinates, (see <a class="externalLink" href="https://repo.maven.apache.org/maven2/org/apache/ant/ant/">repository content</a>),</li>
<li>published one <code>ant:ant:1.7.0</code> relocation POM in old groupId to advertise about the move (see <a class="externalLink" href="https://repo.maven.apache.org/maven2/ant/ant/1.7.0/">repository content</a>).</li></ol>
<p>Notice that past <code>ant:ant</code> versions POMs (until 1.6.5) have not been modified to advertise about the move: Central POM content is not expected to be changed once published (because initial content has been downloaded many times and is not expected to be re-loaded later).</p></section><section>
-<h3><a name="Apache_POI"></a>Apache POI</h3>
+<h3>Apache POI</h3>
<ol style="list-style-type: decimal">
<li>has published its releases until 3.0-alpha-3 to Maven 1-compliant <code>poi:poi</code> coordinates (see <a class="externalLink" href="https://repo.maven.apache.org/maven2/poi/poi/">repository content</a>),</li>
<li>starting with 3.0-FINAL, moved to reverse-DNS compliant Maven 2+ <code>org.apache.poi:poi</code> coordinates, (see <a class="externalLink" href="https://repo.maven.apache.org/maven2/org/apache/poi/poi/">repository content</a>),</li>
Modified: maven/website/content/guides/mini/guide-repository-ssl.html
==============================================================================
--- maven/website/content/guides/mini/guide-repository-ssl.html (original)
+++ maven/website/content/guides/mini/guide-repository-ssl.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-repository-ssl.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-repository-ssl.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Arnaud Bailly" />
<meta name="date" content="2005-11-11" />
<title>Maven – Remote repository access through authenticated HTTPS</title>
@@ -153,9 +153,9 @@
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Guide_to_Remote_repository_access_through_authenticated_HTTPS"></a>Guide to Remote repository access through authenticated HTTPS</h1>
+<h1>Guide to Remote repository access through authenticated HTTPS</h1>
<p>This document describes how to configure Maven to access a remote repository that sits behind an HTTPS server which requires client authentication with certificates.</p><section>
-<h2><a name="The_problem"></a>The problem</h2>
+<h2>The problem</h2>
<p>There is a maven repository at <code>https://my.server.com/maven</code>. This server only serves clients authenticated through SSL protocol by a valid certificate signed by an approved certificate authority's certificate which we call the <code>CACert</code>. In the simplest case where the server is used internally by an identified community of users (e.g. corporate intranet), the server's certificate is the certificate authority as the server is used only internally.</p>
<p>So we assume that we have access to the trusted certificate in X.509 format stored in a file named:</p>
<div>
@@ -169,12 +169,12 @@
<p>The remote repository is referenced either through the <code>pom.xml</code> file:</p>
<div>
<pre>maven.repo.remote=https://my.server.com/maven,http://www.ibiblio.org/maven</pre></div></section><section>
-<h2><a name="The_solution"></a>The solution</h2>
+<h2>The solution</h2>
<p>For maven to use this repository, we should take the following steps:</p>
<ol style="list-style-type: decimal">
<li>Create a store to hold the server's certificate usings Oracle's <a class="externalLink" href="https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html"> keytool</a>,</li>
<li>Define properties to be used by HttpClient for finding keys and certificate</li></ol><section>
-<h3><a name="Storing_certificate"></a>Storing certificate</h3>
+<h3>Storing certificate</h3>
<p>The following command line imports the certififcate authority's certificate into a JKS formatted key store named <code>trust.jks</code>, the <i>trust store</i>.</p>
<div>
<pre>$> keytool -v -alias mavensrv -import \
@@ -193,7 +193,7 @@ Certificate was added to keystore
[Storing trust.jks]
$></pre></div>
<p>Note that it should be possible to import a full chain of certificates with only one root certificate being trusted but the author did not test it.</p></section><section>
-<h3><a name="Setting_properties"></a>Setting properties</h3>
+<h3>Setting properties</h3>
<p>The following properties must be set at start of maven to be accessible when HttpClient starts up.</p>
<dl>
<dt>javax.net.ssl.trustStore</dt>
@@ -216,7 +216,7 @@ $></pre></div>
-Djavax.net.ssl.keyStore=/home/directory/mycertificate.p12 \
-Djavax.net.ssl.keyStoreType=pkcs12 \
-Djavax.net.ssl.keyStorePassword=XXXXXX"</pre></div></section></section><section>
-<h2><a name="Links"></a>Links</h2>
+<h2>Links</h2>
<p>The following links may be useful in understanding SSL infrastructure management in Java:</p>
<ul>
<li><a class="externalLink" href="http://hc.apache.org/httpclient-3.x/sslguide.html"> HttpClient</a>'s SSL guide</li></ul></section></section>
Modified: maven/website/content/guides/mini/guide-reproducible-builds.html
==============================================================================
--- maven/website/content/guides/mini/guide-reproducible-builds.html (original)
+++ maven/website/content/guides/mini/guide-reproducible-builds.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-reproducible-builds.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-reproducible-builds.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Hervé Boutemy" />
<meta name="date" content="2019-11-03" />
<title>Maven – Guide to Configuring for Reproducible Builds</title>
@@ -155,11 +155,11 @@
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Configuring_for_Reproducible_Builds"></a>Configuring for Reproducible Builds</h1><section>
-<h2><a name="What_are_Reproducible_Builds.3F"></a>What are Reproducible Builds?</h2>
+<h1>Configuring for Reproducible Builds</h1><section>
+<h2>What are Reproducible Builds?</h2>
<p><a class="externalLink" href="https://reproducible-builds.org/">Reproducible builds</a> are a set of software development practices that create an independently-verifiable path from source to binary code. A build is <b>reproducible</b> if given the same source code, build environment and build instructions, any party can recreate <b>bit-by-bit</b> identical copies of all specified artifacts.</p>
<p><a class="externalLink" href="https://github.com/jvm-repo-rebuild/reproducible-central">Reproducible Central</a> lists projects releases that have been checked as reproducible by rebuilding independently from the reference build published in Central Repository.</p></section><section>
-<h2><a name="How_do_I_configure_my_Maven_build.3F"></a>How do I configure my Maven build?</h2>
+<h2>How do I configure my Maven build?</h2>
<p>There is no Maven version prerequisite. Everything happens at plugin level:</p>
<ol style="list-style-type: decimal">
<li>Upgrade your plugins to reproducible versions: to easily detect <a href="/plugins/maven-artifact-plugin/plugin-issues.html">required upgrades</a>, run
@@ -170,7 +170,7 @@
<project.build.outputTimestamp>2023-01-01T00:00:00Z</project.build.outputTimestamp>
</properties></pre></div></li></ol>
<p>You have the basics configured. The output should be mostly reproducible now.</p></section><section>
-<h2><a name="How_to_test_my_Maven_build_reproducibility.3F"></a>How to test my Maven build reproducibility?</h2>
+<h2>How to test my Maven build reproducibility?</h2>
<p>Using <a href="/plugins/maven-artifact-plugin/compare-mojo.html"><code>maven-artifact-plugin</code>'s <code>compare</code> goal</a>, you can check that the second build of your project produce the same output than an initial build:</p>
<ol style="list-style-type: decimal">
<li>build and <code>install</code> your project (don't hesitate to customize arguments to better match your project):
@@ -179,20 +179,20 @@
<li>rebuild (<code>verify</code> only, without installing) and check against the previous install:
<div>
<pre>mvn clean verify artifact:compare</pre></div></li></ol></section><section>
-<h2><a name="How_to_fix_my_Maven_build_reproducibility.3F"></a>How to fix my Maven build reproducibility?</h2>
+<h2>How to fix my Maven build reproducibility?</h2>
<p>If something is still not reproducible after initial setup and <a href="/plugins/maven-artifact-plugin/plugin-issues.html">automatic check from <code>artifact:check-buildplan</code></a>:</p>
<ol style="list-style-type: decimal">
<li>Use <a class="externalLink" href="https://diffoscope.org/">diffoscope</a> to find the unstable output between builds. The <code>artifact:buildinfo</code> goal proposes a command with path to files: just copy/paste to launch.</li>
<li>Find the plugin that generated this output.</li>
<li>Check if a reproducible version of the plugin is available. If not, please open an issue to help plugin maintainers improving Reproducible Builds support at every plugin level.</li></ol></section><section>
-<h2><a name="More_Details"></a>More Details</h2>
+<h2>More Details</h2>
<p>Reproducible Builds for Maven:</p>
<ul>
<li>Require <b>no version ranges</b> in dependencies,</li>
<li>Generally give <b>different results on Windows and Unix</b> because of different newlines. (carriage return linefeed on Windows, linefeed on Unixes)</li>
<li>Generally depend on the <b>major version of the JDK</b> used to compile. (Even with source/target defined, each major JDK version changes the generated bytecode)</li></ul>
<p>For detailed explanations, see <a class="externalLink" href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318">Maven "Reproducible/Verifiable Builds" Wiki page</a>.</p></section><section>
-<h2><a name="FAQ"></a>FAQ</h2>
+<h2>FAQ</h2>
<ul>
<li>Q. Can the <code>project.build.outputTimestamp</code> property in <code>pom.xml</code> be updated automatically at release time?
<p>A. Yes.</p>
@@ -205,79 +205,79 @@
<ul>
<li>Q. Which additional plugins need to be updated for Reproducible Builds?
<p>A. Here is a simplified list:</p>
-<table border="1" class="table table-striped">
+<table class="bodyTable bodyTableBorder">
<tr class="a">
-<td align="left"><b>plugin</b></td>
-<td align="left"><b>minimum version</b></td>
-<td align="left"><b>comments</b></td></tr>
+<td style="text-align: left;"><b>plugin</b></td>
+<td style="text-align: left;"><b>minimum version</b></td>
+<td style="text-align: left;"><b>comments</b></td></tr>
<tr class="b">
-<td align="left"><a href="/plugins/maven-assembly-plugin/">maven-assembly-plugin</a></td>
-<td align="left">3.2.0</td>
-<td align="left"></td></tr>
+<td style="text-align: left;"><a href="/plugins/maven-assembly-plugin/">maven-assembly-plugin</a></td>
+<td style="text-align: left;">3.2.0</td>
+<td style="text-align: left;"></td></tr>
<tr class="a">
-<td align="left"><a href="/plugins/maven-jar-plugin/">maven-jar-plugin</a></td>
-<td align="left">3.2.0</td>
-<td align="left"></td></tr>
+<td style="text-align: left;"><a href="/plugins/maven-jar-plugin/">maven-jar-plugin</a></td>
+<td style="text-align: left;">3.2.0</td>
+<td style="text-align: left;"></td></tr>
<tr class="b">
-<td align="left"><a href="/plugins/maven-ejb-plugin/">maven-ejb-plugin</a></td>
-<td align="left">3.1.0</td>
-<td align="left"></td></tr>
+<td style="text-align: left;"><a href="/plugins/maven-ejb-plugin/">maven-ejb-plugin</a></td>
+<td style="text-align: left;">3.1.0</td>
+<td style="text-align: left;"></td></tr>
<tr class="a">
-<td align="left"><a href="/plugins/maven-javadoc-plugin/">maven-javadoc-plugin</a></td>
-<td align="left">3.2.0</td>
-<td align="left">requires also <code><notimestamp>true</notimestamp></code> configuration in <code>pluginManagement</code> (for automatic use both from plugins and reports)</td></tr>
+<td style="text-align: left;"><a href="/plugins/maven-javadoc-plugin/">maven-javadoc-plugin</a></td>
+<td style="text-align: left;">3.2.0</td>
+<td style="text-align: left;">requires also <code><notimestamp>true</notimestamp></code> configuration in <code>pluginManagement</code> (for automatic use both from plugins and reports)</td></tr>
<tr class="b">
-<td align="left"><a href="/plugin-tools/maven-plugin-plugin/">maven-plugin-plugin</a></td>
-<td align="left">3.5.1</td>
-<td align="left"></td></tr>
+<td style="text-align: left;"><a href="/plugin-tools/maven-plugin-plugin/">maven-plugin-plugin</a></td>
+<td style="text-align: left;">3.5.1</td>
+<td style="text-align: left;"></td></tr>
<tr class="a">
-<td align="left"><a href="/plugins/maven-remote-resources-plugin/">maven-remote-resources-plugin</a></td>
-<td align="left">1.7.0</td>
-<td align="left"></td></tr>
+<td style="text-align: left;"><a href="/plugins/maven-remote-resources-plugin/">maven-remote-resources-plugin</a></td>
+<td style="text-align: left;">1.7.0</td>
+<td style="text-align: left;"></td></tr>
<tr class="b">
-<td align="left"><a href="/plugins/maven-shade-plugin/">maven-shade-plugin</a></td>
-<td align="left">3.2.3</td>
-<td align="left"></td></tr>
+<td style="text-align: left;"><a href="/plugins/maven-shade-plugin/">maven-shade-plugin</a></td>
+<td style="text-align: left;">3.2.3</td>
+<td style="text-align: left;"></td></tr>
<tr class="a">
-<td align="left"><a href="/plugins/maven-site-plugin/">maven-site-plugin</a></td>
-<td align="left">3.9.0</td>
-<td align="left"></td></tr>
+<td style="text-align: left;"><a href="/plugins/maven-site-plugin/">maven-site-plugin</a></td>
+<td style="text-align: left;">3.9.0</td>
+<td style="text-align: left;"></td></tr>
<tr class="b">
-<td align="left"><a href="/plugins/maven-source-plugin/">maven-source-plugin</a></td>
-<td align="left">3.2.1</td>
-<td align="left"></td></tr>
+<td style="text-align: left;"><a href="/plugins/maven-source-plugin/">maven-source-plugin</a></td>
+<td style="text-align: left;">3.2.1</td>
+<td style="text-align: left;"></td></tr>
<tr class="a">
-<td align="left"><a href="/plugins/maven-war-plugin/">maven-war-plugin</a></td>
-<td align="left">3.3.1</td>
-<td align="left"></td></tr>
+<td style="text-align: left;"><a href="/plugins/maven-war-plugin/">maven-war-plugin</a></td>
+<td style="text-align: left;">3.3.1</td>
+<td style="text-align: left;"></td></tr>
<tr class="b">
-<td align="left"><a href="/plugins/maven-ear-plugin/">maven-ear-plugin</a></td>
-<td align="left">3.1.0</td>
-<td align="left"></td></tr>
+<td style="text-align: left;"><a href="/plugins/maven-ear-plugin/">maven-ear-plugin</a></td>
+<td style="text-align: left;">3.1.0</td>
+<td style="text-align: left;"></td></tr>
<tr class="a">
-<td align="left"><a class="externalLink" href="https://codehaus-plexus.github.io/plexus-containers/plexus-component-metadata/">plexus-component-metadata</a></td>
-<td align="left">2.1.0</td>
-<td align="left"></td></tr>
+<td style="text-align: left;"><a class="externalLink" href="https://codehaus-plexus.github.io/plexus-containers/plexus-component-metadata/">plexus-component-metadata</a></td>
+<td style="text-align: left;">2.1.0</td>
+<td style="text-align: left;"></td></tr>
<tr class="b">
-<td align="left"><a class="externalLink" href="https://github.com/bndtools/bnd/tree/master/maven-plugins/bnd-maven-plugin">bnd-maven-plugin</a></td>
-<td align="left"></td>
-<td align="left">see <a class="externalLink" href="https://github.com/bndtools/bnd/tree/master/maven-plugins/bnd-maven-plugin#reproducible-builds">documentation</a></td></tr>
+<td style="text-align: left;"><a class="externalLink" href="https://github.com/bndtools/bnd/tree/master/maven-plugins/bnd-maven-plugin">bnd-maven-plugin</a></td>
+<td style="text-align: left;"></td>
+<td style="text-align: left;">see <a class="externalLink" href="https://github.com/bndtools/bnd/tree/master/maven-plugins/bnd-maven-plugin#reproducible-builds">documentation</a></td></tr>
<tr class="a">
-<td align="left">Apache Felix <a class="externalLink" href="https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html">maven-bundle-plugin</a></td>
-<td align="left">5.1.3</td>
-<td align="left"></td></tr>
+<td style="text-align: left;">Apache Felix <a class="externalLink" href="https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html">maven-bundle-plugin</a></td>
+<td style="text-align: left;">5.1.3</td>
+<td style="text-align: left;"></td></tr>
<tr class="b">
-<td align="left">Eclipse <a class="externalLink" href="https://www.eclipse.org/sisu/docs/api/org.eclipse.sisu.mojos/">Sisu Maven Plugin</a></td>
-<td align="left">0.3.4</td>
-<td align="left"></td></tr>
+<td style="text-align: left;">Eclipse <a class="externalLink" href="https://www.eclipse.org/sisu/docs/api/org.eclipse.sisu.mojos/">Sisu Maven Plugin</a></td>
+<td style="text-align: left;">0.3.4</td>
+<td style="text-align: left;"></td></tr>
<tr class="a">
-<td align="left"><a class="externalLink" href="https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/">springboot-maven-plugin</a></td>
-<td align="left"></td>
-<td align="left">not reproducible</td></tr>
+<td style="text-align: left;"><a class="externalLink" href="https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/">springboot-maven-plugin</a></td>
+<td style="text-align: left;"></td>
+<td style="text-align: left;">not reproducible</td></tr>
<tr class="b">
-<td align="left">MojoHaus <a class="externalLink" href="https://www.mojohaus.org/properties-maven-plugin/">properties-maven-plugin</a></td>
-<td align="left">1.1.0</td>
-<td align="left"></td></tr></table>
+<td style="text-align: left;">MojoHaus <a class="externalLink" href="https://www.mojohaus.org/properties-maven-plugin/">properties-maven-plugin</a></td>
+<td style="text-align: left;">1.1.0</td>
+<td style="text-align: left;"></td></tr></table>
<p>For more details, see <a class="externalLink" href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318#Reproducible/VerifiableBuilds-Whataretheissuestosolve?">Maven "Reproducible/Verifiable Builds" Wiki page</a></p></li></ul></section></section>
</main>
</div>
Modified: maven/website/content/guides/mini/guide-site.html
==============================================================================
--- maven/website/content/guides/mini/guide-site.html (original)
+++ maven/website/content/guides/mini/guide-site.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-site.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-site.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Brett Porter
Jason van Zyl" />
<meta name="date" content="2015-07-18" />
@@ -143,8 +143,8 @@ Jason van Zyl" />
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Creating_a_site"></a>Creating a site</h1><section>
-<h2><a name="Creating_Content"></a>Creating Content</h2>
+<h1>Creating a site</h1><section>
+<h2>Creating Content</h2>
<p>The first step to creating your site is to create some content. In Maven, the site content is separated by format, as there are several available.</p>
<div>
<pre>+- src/
@@ -173,17 +173,17 @@ Jason van Zyl" />
<p>Other formats are available, but at this point these 4 are the best tested.</p>
<p>There are also several possible output formats, but as of Maven Site Plugin, only XHTML is available.</p>
<p>Note that all of the above is optional - just one index file is required in one of the input trees. Each of the paths will be merged together to form the root directory of the site.</p></section><section>
-<h2><a name="Customizing_the_Look_.26_Feel"></a>Customizing the Look & Feel</h2>
+<h2>Customizing the Look & Feel</h2>
<p>If you want to tune the way your site looks, you can use a custom <b>skin</b> to provide your own CSS styles. If that is still not enough, you can even tweak the output templates that Maven uses to generate the site documentation.</p>
<p>You can visit the <a href="/skins/">Skins index</a> to have a look at some of the skins that you can use to change the look of your site.</p></section><section>
-<h2><a name="Generating_the_Site"></a>Generating the Site</h2>
+<h2>Generating the Site</h2>
<p>Generating the site is very simple, and fast!</p>
<div>
<pre>mvn site</pre></div>
<p>By default, the resulting site will be in <code>target/site/...</code></p>
<p>For more information on the Maven Site Plugin, see the <a href="../../plugins/maven-site-plugin/"> maven-site-plugin reference</a>.</p></section><section>
-<h2><a name="Deploying_the_Site"></a>Deploying the Site</h2><section>
-<h3><a name="Classical_Website_deployment"></a>Classical Website deployment</h3>
+<h2>Deploying the Site</h2><section>
+<h3>Classical Website deployment</h3>
<p>To be able to deploy the site with a classical network protocol (ftp, scp, webdav), you must first declare a location to distribute to in your <code>pom.xml</code>, similar to the repository for deployment:</p>
<div class="source"><pre class="prettyprint linenums"><project>
...
@@ -201,7 +201,7 @@ Jason van Zyl" />
<p>Once distribution location is configured, deploying the site is done by using the <code>site-deploy</code> phase of the site lifecycle.</p>
<div>
<pre>mvn site-deploy</pre></div></section><section>
-<h3><a name="GitHub_Pages.2C_Apache_svnpubsub.2Fgitpubsub_Deployment"></a>GitHub Pages, Apache svnpubsub/gitpubsub Deployment</h3>
+<h3>GitHub Pages, Apache svnpubsub/gitpubsub Deployment</h3>
<p>When site publication is done with a SCM commit, like with <a class="externalLink" href="https://pages.github.com/">GitHub Pages</a> or <a class="externalLink" href="https://infra.apache.org/project-site.html#tools">Apache svnpubsub/gitpubsub</a>, deploying the site will be done with <a href="/plugins/maven-scm-publish-plugin/">Maven SCM Publish Plugin</a>. </p>
<p>For example with a project hosted on GitHub and using GitHub Pages for its site publication:</p>
<div class="source"><pre class="prettyprint linenums"> <plugin>
@@ -217,7 +217,7 @@ Jason van Zyl" />
<ol style="list-style-type: decimal">
<li>staging the content by using the <code>site</code> phase of the site lifecycle followed by <code>site:stage</code>: <code>mvn site site:stage</code></li>
<li>publishing the staged site to the SCM: <code>mvn scm-publish:publish-scm</code></li></ol></section></section><section>
-<h2><a name="Creating_a_Site_Descriptor"></a>Creating a Site Descriptor</h2>
+<h2>Creating a Site Descriptor</h2>
<p>The <code>site.xml</code> file is used to describe the structure of the site. A sample is given below:</p>
<div class="source"><pre class="prettyprint linenums"><?xml version="1.0" encoding="ISO-8859-1"?>
<project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -255,7 +255,7 @@ Jason van Zyl" />
</project></pre></div>
<p><b>Note:</b> The <code><menu ref="reports"/></code> element above. When building the site, this is replaced by a menu with links to all the reports that you have configured.</p>
<p>More information about the site descriptor is available at the <a href="/plugins/maven-site-plugin/examples/sitedescriptor.html">dedicated page of Maven Site Plugin</a>.</p></section><section>
-<h2><a name="Adding_Extra_Resources"></a>Adding Extra Resources</h2>
+<h2>Adding Extra Resources</h2>
<p>You can add any arbitrary resource to your site by including them in a <code>resources</code> directory as shown below. Additional CSS files will be picked up when they are placed in the <code>css</code> directory within the <code>resources</code> directory.</p>
<div>
<pre>+- src/
@@ -268,7 +268,7 @@ Jason van Zyl" />
+- pic1.jpg</pre></div>
<p>The file <code>site.css</code> will be added to the default XHTML output, so it can be used to adjust the default Maven stylesheets if desired.</p>
<p>The file <code>pic1.jpg</code> will be available via a relative reference to the <code>images</code> directory from any page in your site.</p></section><section>
-<h2><a name="Configuring_Reports"></a>Configuring Reports</h2>
+<h2>Configuring Reports</h2>
<p>Maven has several reports that you can add to your web site to display the current state of the project. These reports take the form of plugins, just like those used to build the project.</p>
<p>There are many standard reports that are available by gleaning information from the POM. Currently what is provided by default are:</p>
<ul>
@@ -297,7 +297,7 @@ Jason van Zyl" />
<p>If you have included the appropriate <code><menu ref="reports"/></code> tag in your <code>site.xml</code> descriptor, then when you regenerate the site those items will appear in the menu.</p>
<p>Many other plugins provide reporting goals: look for "R" (Reporting) value in the "Type" column of the <a href="/plugins/"> list of plugins</a>. When plugins are both Build and Reporting plugins, defining explicitely the version in the reporting section is usually not necessary since reporting will use the version from <code>build/plugins</code> or <code>build/pluginManagement</code>. Since Maven Site Plugin 3.4, reporting plugin also get configuration from <code>build/pluginManagement</code>.</p>
<p><b>Note:</b> Many report plugins provide a parameter called <code>outputDirectory</code> or similar to specify the destination for their report outputs. This parameter is only relevant if the report plugin is run standalone, i.e. by invocation directly from the command line. In contrast, when reports are generated as part of the site, the configuration of the Maven Site Plugin will determine the effective output directory to ensure that all reports end up in a central location.</p></section><section>
-<h2><a name="Internationalization"></a>Internationalization</h2>
+<h2>Internationalization</h2>
<p>Internationalization in Maven is very simple, as long as the reports you are using have that particular locale defined. For an overview of supported languages and instructions on how to add further languages, please see the related article <a href="../../plugins/maven-site-plugin/i18n.html"> Internationalization</a> from the Maven Site Plugin.</p>
<p>To enable multiple locales, add a configuration similar to the following to your POM:</p>
<div class="source"><pre class="prettyprint linenums"><project>
Modified: maven/website/content/guides/mini/guide-snippet-macro.html
==============================================================================
--- maven/website/content/guides/mini/guide-snippet-macro.html (original)
+++ maven/website/content/guides/mini/guide-snippet-macro.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-snippet-macro.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-snippet-macro.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Wendy Smoak" />
<meta name="date" content="2014-08-20" />
<title>Maven – Guide to the Snippet Macro</title>
@@ -142,22 +142,22 @@
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Guide_to_the_Snippet_Macro"></a>Guide to the Snippet Macro</h1>
+<h1>Guide to the Snippet Macro</h1>
<p>When generating your project website with Maven, you have the option of dynamically including <i>snippet</i>s of source code in your pages.</p>
<p>A <i>snippet</i> is a section of a source code file that is surrounded by specially formatted comments.</p>
<p>This functionality is inspired by the <a class="externalLink" href="http://www.atlassian.com/software/confluence/">Confluence</a> snippet macro, and is provided by the Maven Doxia project by way of the Maven Site Plugin.</p>
<p>To include snippets of source code in your documentation, first add comments in the source document surrounding the lines you want to include, and then refer to the snippet by its id in the documentation file. Each snippet must be assigned an id, and the id must be unique within the source document. The id parameter is not required if you want to include the entire file.</p>
<p>Following are examples of snippets in various source documents, as well as the corresponding macros in the APT documentation format.</p>
<p>See the Doxia <a href="/doxia/macros/index.html#Snippet_Macro">Macros Guide</a> for more information and examples.</p><section>
-<h2><a name="Snippets_in_Sources"></a>Snippets in Sources</h2><section>
-<h3><a name="Java"></a>Java</h3>
+<h2>Snippets in Sources</h2><section>
+<h3>Java</h3>
<div class="source"><pre class="prettyprint linenums"> // START SNIPPET: snip-id
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
// END SNIPPET: snip-id</pre></div></section><section>
-<h3><a name="XML"></a>XML</h3>
+<h3>XML</h3>
<div class="source"><pre class="prettyprint linenums"> <!-- START SNIPPET: snip-id -->
<navigation-rule>
<from-view-id>/logon.jsp</from-view-id>
@@ -167,15 +167,15 @@
</navigation-case>
</navigation-rule>
<!-- END SNIPPET: snip-id --></pre></div></section><section>
-<h3><a name="JSP"></a>JSP</h3>
+<h3>JSP</h3>
<div class="source"><pre class="prettyprint linenums"> <%-- START SNIPPET: snip-id --%>
<ul>
<li><a href="newPerson!input.action">Create</a> a new person</li>
<li><a href="listPeople.action">List</a> all people</li>
</ul>
<%-- END SNIPPET: snip-id --%></pre></div></section></section><section>
-<h2><a name="Snippets_in_Documentation"></a>Snippets in Documentation</h2><section>
-<h3><a name="APT"></a>APT</h3>
+<h2>Snippets in Documentation</h2><section>
+<h3>APT</h3>
<div class="source"><pre class="prettyprint linenums"> %{snippet|id=snip-id|url=http://svn.example.com/path/to/Sample.java}
%{snippet|id=snip-id|url=file:///path/to/Sample.java}</pre></div>
Modified: maven/website/content/guides/mini/guide-using-ant.html
==============================================================================
--- maven/website/content/guides/mini/guide-using-ant.html (original)
+++ maven/website/content/guides/mini/guide-using-ant.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-using-ant.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-using-ant.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Jason van Zyl" />
<meta name="date" content="2005-10-12" />
<title>Maven – Guide to using Ant with Maven</title>
@@ -155,7 +155,7 @@
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Guide_to_using_Ant_with_Maven"></a>Guide to using Ant with Maven</h1>
+<h1>Guide to using Ant with Maven</h1>
<p>The example above illustrates how to bind an ant script to a lifecycle phase. You can add a script to each lifecycle phase, by duplicating the <i>execution/</i> section and specifying a new phase.</p>
<div class="source"><pre class="prettyprint linenums">
<project>
Modified: maven/website/content/guides/mini/guide-using-extensions.html
==============================================================================
--- maven/website/content/guides/mini/guide-using-extensions.html (original)
+++ maven/website/content/guides/mini/guide-using-extensions.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-using-extensions.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-using-extensions.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Jason van Zyl
Konrad Windszus" />
<meta name="date" content="2022-11-16" />
@@ -156,18 +156,18 @@ Konrad Windszus" />
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Using_Extensions"></a>Using Extensions</h1>
+<h1>Using Extensions</h1>
<p>Extensions are a way to add classes to either the <a href="./guide-maven-classloading.html#Core_Classloader">Core Classloader</a> (Core Extensions) or the <a href="./guide-maven-classloading.html#Project_Classloaders">Project Classloader</a> (Build Extensions). This is necessary for adjusting Maven in a way that affects more than just one plug-in.</p>
<p>The mechanism allows extensions to either replace default <a class="externalLink" href="https://www.eclipse.org/sisu/">Sisu components</a> with custom ones or add new components which are used at run time. In addition one could also expose additional packages from the Core Classloader.</p>
<p>Extensions are typically used to enable <a href="../../wagon/wagon-providers/">Wagon providers</a>, used for the transport of artifact between repositories, and plug-ins which <a href="../../examples/maven-3-lifecycle-extensions.html">provide lifecycle enhancements</a>.</p><section>
-<h2><a name="Loading_Extensions"></a>Loading Extensions</h2>
+<h2>Loading Extensions</h2>
<p>There are different means of loading extensions depending on the type. There are <i>core extensions</i> which are loaded <b>early</b> and build extensions which are loaded <b>late</b>. Some extensions require early loading as they fundamentally change Maven behaviour. An extension's documentation should indicate whether it provides a core or a build extension.</p><section>
-<h3><a name="Core_Extension"></a>Core Extension</h3>
+<h3>Core Extension</h3>
<ul>
<li>Registered via extension jar in <code>${maven.home}/lib/ext</code></li>
<li>Registered via CLI argument <code>mvn -Dmaven.ext.class.path=extension.jar</code></li>
<li>Registered via <a href="../../configure.html#mvn-extensions-xml-file"><code>.mvn/extensions.xml</code> file</a></li></ul></section><section>
-<h3><a name="Build_Extension"></a>Build Extension</h3>
+<h3>Build Extension</h3>
<ul>
<li>Registered via <a href="../../pom.html#Plugins"><code>project->build->plugins->plugin</code></a> with element <code>extensions</code> being set to <code>true</code>. This is useful for regular plug-ins carrying some extensions.
<p>Example:</p>
Modified: maven/website/content/guides/mini/guide-using-modello.html
==============================================================================
--- maven/website/content/guides/mini/guide-using-modello.html (original)
+++ maven/website/content/guides/mini/guide-using-modello.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-using-modello.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-using-modello.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Jason van Zyl
Hervé Boutemy" />
<meta name="date" content="2009-03-01" />
@@ -156,7 +156,7 @@ Hervé Boutemy" />
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Guide_to_using_Modello"></a>Guide to using Modello</h1>
+<h1>Guide to using Modello</h1>
<p><a class="externalLink" href="https://codehaus-plexus.github.io/modello/">Modello</a> is a tool for generating resources from a simple model. From a <a class="externalLink" href="https://codehaus-plexus.github.io/modello/modello.html">simple model</a> you can generate things like:</p>
<ul>
<li>Java sources</li>
Modified: maven/website/content/guides/mini/guide-using-one-source-directory.html
==============================================================================
--- maven/website/content/guides/mini/guide-using-one-source-directory.html (original)
+++ maven/website/content/guides/mini/guide-using-one-source-directory.html Wed Feb 8 20:32:12 2023
@@ -2,14 +2,14 @@
<!--
- | Generated by Apache Maven Doxia Site Renderer 2.0.0-M3 from content/apt/guides/mini/guide-using-one-source-directory.apt at 2023-02-08
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0-M4 from content/apt/guides/mini/guide-using-one-source-directory.apt at 2023-02-08
| Rendered using Apache Maven Fluido Skin 1.11.1
-->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M3" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0-M4" />
<meta name="author" content="Brett Porter" />
<meta name="date" content="2005-12-05" />
<title>Maven – Guide to Using Maven when You Can't Use the Conventions</title>
@@ -124,26 +124,26 @@
</header>
<main id="bodyColumn" class="span10" >
<section>
-<h1><a name="Using_Maven_When_You_Can.27t_Use_the_Conventions"></a>Using Maven When You Can't Use the Conventions</h1>
+<h1>Using Maven When You Can't Use the Conventions</h1>
<p>There is a common misconception that Maven can't build a project that doesn't conform to certain directory structures or build practices. This often isn't the case. However, it is true that some Maven features or plugins (especially by third parties) may not work or work completely.</p>
<p>This guide will help you set up Maven on your project when the directive from on high is to not change the existing layout, and detail some of the feature that you might miss when doing so.</p>
<p>Use this as a last resort. There are good reasons why the defaults are the way they are, and we strongly recommend you use them if you can. It encourages consistency and means one less thing you ever need to worry about when starting a new project. There are more interesting things to do than change your layout for the sake of it. Hopefully having used any of these techniques you find that Maven proves itself capable, you will reconsider restructuring to address these issues.></p><section>
-<h2><a name="Using_Multiple_Source_Directories"></a>Using Multiple Source Directories</h2>
+<h2>Using Multiple Source Directories</h2>
<p>This occurs when you are producing a single JAR (or other artifact), and have several source directories with classes you want to include.</p><section>
-<h3><a name="Why_isn.27t_this_recommended.3F"></a>Why isn't this recommended?</h3>
+<h3>Why isn't this recommended?</h3>
<p>...</p></section><section>
-<h3><a name="How_do_I_do_this.3F"></a>How do I do this?</h3>
+<h3>How do I do this?</h3>
<p>...</p></section><section>
-<h3><a name="What_are_the_limitations.3F"></a>What are the limitations?</h3>
+<h3>What are the limitations?</h3>
<p>There should be no limitations in this approach. Maven natively supports multiple source directories for the purposes of generated sources.</p></section></section><section>
-<h2><a name="Producing_Multiple_Unique_JARs_from_a_Single_Source_Directory"></a>Producing Multiple Unique JARs from a Single Source Directory</h2>
+<h2>Producing Multiple Unique JARs from a Single Source Directory</h2>
<p>As many people that complain about not being able to spread out their sources into multiple source directories seem to complain about not wanting to spread anything out, producing several unique artifacts from a single directory using includes and excludes.</p><section>
-<h3><a name="Why_isn.27t_this_recommended.3F"></a>Why isn't this recommended?</h3>
+<h3>Why isn't this recommended?</h3>
<p>This practice can be confusing and risky.</p>
<ul>
<li>You may end up building two JARs that include the same classes - this indicates that the common functionality should have been abstracted into a separate dependency.</li>
<li>You may end up introducing a dependency between the two JARs that you didn't realise, and often a circular dependency. This indicates that the classes are in the wrong JAR, or perhaps that everything should just be a single JAR.</li></ul></section><section>
-<h3><a name="How_do_I_do_this.3F"></a>How do I do this?</h3>
+<h3>How do I do this?</h3>
<p>You still should adhere to producing one artifact per POM, but this requires having multiple POMs, and hence multiple subdirectories. The positive to this is that these introduced directories won't change the layout of existing code, and will establish a future layout should you decide to separate.</p>
<p>Here is an example of setting it up when there is a project with two JARs produced: <code>core</code> and <code>module</code>.</p>
<p>You might like to review the <a href="../getting-started/"> Getting Started Guide</a></p>
@@ -214,9 +214,9 @@
+- pom.xml
+- target/
+- my-module-1.0-SNAPSHOT.jar</pre></div></section><section>
-<h3><a name="What_are_the_limitations.3F"></a>What are the limitations?</h3>
+<h3>What are the limitations?</h3>
<p>There is no universal inclusion/exclusion specification, so each plugin needs to be configured individually, and some might not have that capability. In particular, expect that site reports may include all sources, for example.</p></section></section><section>
-<h2><a name="Producing_Multiple_JARs_from_a_single_POM"></a>Producing Multiple JARs from a single POM</h2>
+<h2>Producing Multiple JARs from a single POM</h2>
<p>Source directories aside, sometimes people desire to produce multiple JARs from a single POM. Depending on your use case, Maven can support this.</p>
<ul>
<li>If you are looking to produce JARs that are different (i.e., they have their own dependencies and metadata), Maven doesn't support this. This usually is only needed when sharing a source directory for intrinsically different things, so the use case above applies instead.</li>