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 bu...@apache.org on 2014/07/11 07:10:39 UTC
svn commit: r915746 [7/13] - in /websites/staging/maven/trunk/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/ d...
Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-repositories.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/introduction/introduction-to-repositories.html (original)
+++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-repositories.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Introduction to Repositories</title>
+ <title>Maven – Introduction to Repositories</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -14,7 +14,7 @@
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Jason van Zyl
Brian Fox" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -44,7 +44,7 @@ Brian Fox" />
Introduction to Repositories
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -242,15 +242,15 @@ Brian Fox" />
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Introduction to Repositories<a name="Introduction_to_Repositories"></a></h2>
+<h2><a name="Introduction_to_Repositories"></a>Introduction to Repositories</h2>
<div class="section">
-<h3>Artifact Repositories<a name="Artifact_Repositories"></a></h3>
+<h3><a name="Artifact_Repositories"></a>Artifact Repositories</h3>
<p>A repository in Maven is used to hold build artifacts and dependencies of varying types.</p>
<p>There are strictly only two types of repositories: local and remote. The local repository refers to a copy on your own installation that is a cache of the remote downloads, and also contains the temporary build artifacts that you have not yet released.</p>
<p>Remote repositories refer to any other type of repository, accessed by a variety of protocols such as <tt>file://</tt> and <tt>http://</tt>. These repositories might be a truly remote repository set up by a third party to provide their artifacts for downloading (for example, <a class="externalLink" href="http://repo.maven.apache.org/maven2/">repo.maven.apache.org</a> and <a class="externalLink" href="http://uk.maven.org/maven2/">uk.maven.org</a> house Maven's central repository). Other "remote" repositories may be internal repositories set up on a file or HTTP server within your company, used to share private artifacts between development teams and for releases.</p>
<p>The local and remote repositories are structured the same way so that scripts can easily be run on either side, or they can be synced for offline used. In general use, the layout of the repositories is completely transparent to the Maven user, however.</p></div>
<div class="section">
-<h3>Why not Store JARs in CVS?<a name="Why_not_Store_JARs_in_CVS"></a></h3>
+<h3><a name="Why_not_Store_JARs_in_CVS"></a>Why not Store JARs in CVS?</h3>
<p>It is not recommended that you store your JARs in CVS. Maven tries to promote the notion of a user local repository where JARs, or any project artifacts, can be stored and used for any number of builds. Many projects have dependencies such as XML parsers and standard utilities that are often replicated in typical builds. With Maven these standard utilities can be stored in your local repository and shared by any number of builds.</p>
<p>This has the following advantages:</p>
<ul>
@@ -258,20 +258,20 @@ Brian Fox" />
<li><b>It makes checking out a project quicker</b> - initial checkout, and to a small degree updating, a project will be faster if there are no large binary files in CVS. While they may need to be downloaded again afterwards anyway, this only happens once and may not be necessary for some common JARs already in place.</li>
<li><b>No need for versioning</b> - CVS and other source control systems are designed for versioning files, but external dependencies typically don't change, or if they do their filename changes anyway to indicate the new version. Storing these in CVS doesn't have any added benefit over keeping them in a local artifact cache.</li></ul></div>
<div class="section">
-<h3>Using Repositories<a name="Using_Repositories"></a></h3>
+<h3><a name="Using_Repositories"></a>Using Repositories</h3>
<p>In general, you should not need to do anything with the local repository on a regular basis, except clean it out if you are short on disk space (or erase it completely if you are willing to download everything again).</p>
<p>For the remote repositories, they are used for both downloading and uploading (if you have the permission to do so).</p>
<div class="section">
-<h4>Downloading from a Remote Repository<a name="Downloading_from_a_Remote_Repository"></a></h4>
+<h4><a name="Downloading_from_a_Remote_Repository"></a>Downloading from a Remote Repository</h4>
<p>Downloading in Maven is triggered by a project declaring a dependency that is not present in the local repository (or for a <tt>SNAPSHOT</tt>, when the remote repository contains one that is newer). By default, Maven will download from the <a class="externalLink" href="http://repo.maven.apache.org/maven2/">central</a> repository.</p>
<p>To override this, you need to specify a <tt>mirror</tt> as shown in <a href="../mini/guide-mirror-settings.html">Using Mirrors for Repositories</a></p>
<p>You can set this in your <tt>settings.xml</tt> file to globally use a certain mirror, however note that it is common for a project to customise the repository in their <tt>pom.xml</tt> and that your setting will take precedence. If you find that dependencies are not being found, check you have not overridden the remote repository.</p>
<p>For more information on dependencies, see <a href="./introduction-to-dependency-mechanism.html">Dependency Mechanism</a>.</p></div>
<div class="section">
-<h4>Using Mirrors for the Central Repository<a name="Using_Mirrors_for_the_Central_Repository"></a></h4>
+<h4><a name="Using_Mirrors_for_the_Central_Repository"></a>Using Mirrors for the Central Repository</h4>
<p>There are several official Central repositories geographically distributed. You can make changes to your <tt>settings.xml</tt> file to use one or more mirrors. Instructions for this can be found in the guide <a href="../mini/guide-mirror-settings.html">Using Mirrors for Repositories</a>.</p></div></div>
<div class="section">
-<h3>Building Offline<a name="Building_Offline"></a></h3>
+<h3><a name="Building_Offline"></a>Building Offline</h3>
<p>If you are temporarily disconnected from the internet and you need to build your projects offline you can use the offline switch on the CLI:</p>
<div class="source">
<pre>
@@ -279,22 +279,22 @@ Brian Fox" />
</pre></div>
<p>Note that many plugins will honour the offline setting and not perform any operations that would connect to the internet. Some examples are resolving Javadoc links and link checking the site.</p></div>
<div class="section">
-<h3>Uploading to a Remote Repository<a name="Uploading_to_a_Remote_Repository"></a></h3>
+<h3><a name="Uploading_to_a_Remote_Repository"></a>Uploading to a Remote Repository</h3>
<p>While this is possible for any type of remote repository, you must have the permission to do so. To have someone upload to the central Maven repository, see <a href="../../repository/index.html">Repository Center</a>.</p></div></div>
<div class="section">
-<h2>Internal Repositories<a name="Internal_Repositories"></a></h2>
+<h2><a name="Internal_Repositories"></a>Internal Repositories</h2>
<p>When using Maven, particularly in a corporate environment, connecting to the internet to download dependencies is not acceptable for security, speed or bandwidth reasons. For that reason, it is desirable to set up an internal repository to house a copy of artifacts, and to publish private artifacts to.</p>
<p>Such an internal repository can be downloaded from using HTTP or the file system (using a <tt>file://</tt> URL), and uploaded to using SCP, FTP, or a file copy.</p>
<p>Note that as far as Maven is concerned, there is nothing special about this repository: it is another <b>remote repository</b> that contains artifacts to download to a user's local cache, and is a publish destination for artifact releases.</p>
<p>Additionally, you may want to share the repository server with your generated project sites. For more information on creating and deploying sites, see <a href="../mini/guide-site.html">Creating a Site</a>.</p>
<div class="section">
-<h3>Setting up the Internal Repository<a name="Setting_up_the_Internal_Repository"></a></h3>
+<h3><a name="Setting_up_the_Internal_Repository"></a>Setting up the Internal Repository</h3>
<p>To set up an internal repository just requires that you have a place to put it, and then start copying required artifacts there using the same layout as in a remote repository such as <a class="externalLink" href="http://repo.maven.apache.org/maven2/">repo.maven.apache.org</a>.</p>
<p>It is <i>not</i> recommended that you scrape or <tt>rsync://</tt> a full copy of central as there is a large amount of data there and doing so will get you banned. You can use a program such as those described on the <a href="../../repository-management.html">Repository Management</a> page to run your internal repository's server, to download from the internet as required and then hold the artifacts in your internal repository for faster downloading later.</p>
<p>The other options available are to manually download and vet releases, then copy them to the internal repository, or to have Maven download them for a user, and manually upload the vetted artifacts to the internal repository which is used for releases. This step is the only one available for artifacts where the license forbids their distribution automatically, such as several J2EE JARs provided by Sun. Refer to the <a href="../mini/guide-coping-with-sun-jars.html">Guide to coping with SUN JARs</a> document for more information.</p>
<p>It should be noted that Maven intends to include enhanced support for such features in the future, including click through licenses on downloading, and verification of signatures.</p></div>
<div class="section">
-<h3>Using the Internal Repository<a name="Using_the_Internal_Repository"></a></h3>
+<h3><a name="Using_the_Internal_Repository"></a>Using the Internal Repository</h3>
<p>Using the internal repository is quite simple. Simply make a change to add a <tt>repositories</tt> element:</p>
<div class="source">
<pre>
@@ -311,7 +311,7 @@ Brian Fox" />
</pre></div>
<p>If your internal repository requires authentication, the <tt>id</tt> element can be used in your <a href="../../settings.html#Servers">settings</a> file to specify login information.</p></div>
<div class="section">
-<h3>Deploying to the Internal Repository<a name="Deploying_to_the_Internal_Repository"></a></h3>
+<h3><a name="Deploying_to_the_Internal_Repository"></a>Deploying to the Internal Repository</h3>
<p>One of the most important reasons to have one or more internal repositories is to be able to publish your own private releases to share.</p>
<p>To publish to the repository, you will need to have access via one of SCP, SFTP, FTP, WebDAV, or the filesystem. Connectivity is accomplished with the various <a class="externalLink" href="http://maven.apache.org/wagon/wagon-providers/index.html">wagons</a>. Some wagons may need to be added as <a class="externalLink" href="http://maven.apache.org/ref/current/maven-model/maven.html#class_extension">extension</a> to your build.</p><!-- For example, to set up an SCP transfer. --><!-- show the scp example. --></div></div>
</div>
Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-the-lifecycle.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/introduction/introduction-to-the-lifecycle.html (original)
+++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-the-lifecycle.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Introduction to the Build Lifecycle</title>
+ <title>Maven – Introduction to the Build Lifecycle</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Brett Porter" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -43,7 +43,7 @@
Introduction to the Build Lifecycle
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -241,9 +241,9 @@
<div id="bodyColumn">
<div id="contentBox">
<!-- Copyright 2006 The Apache Software Foundation. --><!-- --><!-- Licensed under the Apache License, Version 2.0 (the "License"); --><!-- you may not use this file except in compliance with the License. --><!-- You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-format.html --><div class="section">
-<h2>Introduction to the Build Lifecycle<a name="Introduction_to_the_Build_Lifecycle"></a></h2>
+<h2><a name="Introduction_to_the_Build_Lifecycle"></a>Introduction to the Build Lifecycle</h2>
<div class="section">
-<h3>Table Of Contents<a name="Table_Of_Contents"></a></h3>
+<h3><a name="Table_Of_Contents"></a>Table Of Contents</h3>
<ul>
<li><a href="#Build_Lifecycle_Basics">Build Lifecycle Basics</a></li>
<li><a href="#Setting_Up_Your_Project_to_Use_the_Build_Lifecycle">Setting Up Your Project to Use the Build Lifecycle</a>
@@ -480,13 +480,13 @@
<h3><a name="Built-in_Lifecycle_Bindings">Built-in Lifecycle Bindings</a></h3>
<p>Some phases have goals bound to them by default. And for the default lifecycle, these bindings depend on the packaging value. Here are some of the goal-to-build-phase bindings.</p>
<div class="section">
-<h4>Clean Lifecycle Bindings<a name="Clean_Lifecycle_Bindings"></a></h4>
+<h4><a name="Clean_Lifecycle_Bindings"></a>Clean Lifecycle Bindings</h4>
<table border="1" class="bodyTable">
<tr class="a">
<td align="left"><tt>clean</tt></td>
<td align="left"><tt>clean:clean</tt></td></tr></table></div>
<div class="section">
-<h4>Default Lifecycle Bindings - Packaging <tt>ejb</tt> / <tt>ejb3</tt> / <tt>jar</tt> / <tt>par</tt> / <tt>rar</tt> / <tt>war</tt><a name="Default_Lifecycle_Bindings_-_Packaging_ejb__ejb3__jar__par__rar__war"></a></h4>
+<h4><a name="Default_Lifecycle_Bindings_-_Packaging_ejb__ejb3__jar__par__rar__war"></a>Default Lifecycle Bindings - Packaging <tt>ejb</tt> / <tt>ejb3</tt> / <tt>jar</tt> / <tt>par</tt> / <tt>rar</tt> / <tt>war</tt></h4>
<table border="1" class="bodyTable">
<tr class="a">
<td align="left"><tt>process-resources</tt></td>
@@ -513,7 +513,7 @@
<td align="left"><tt>deploy</tt></td>
<td align="left"><tt>deploy:deploy</tt></td></tr></table></div>
<div class="section">
-<h4>Default Lifecycle Bindings - Packaging <tt>ear</tt><a name="Default_Lifecycle_Bindings_-_Packaging_ear"></a></h4>
+<h4><a name="Default_Lifecycle_Bindings_-_Packaging_ear"></a>Default Lifecycle Bindings - Packaging <tt>ear</tt></h4>
<table border="1" class="bodyTable">
<tr class="a">
<td align="left"><tt>generate-resources</tt></td>
@@ -531,7 +531,7 @@
<td align="left"><tt>deploy</tt></td>
<td align="left"><tt>deploy:deploy</tt></td></tr></table></div>
<div class="section">
-<h4>Default Lifecycle Bindings - Packaging <tt>maven-plugin</tt><a name="Default_Lifecycle_Bindings_-_Packaging_maven-plugin"></a></h4>
+<h4><a name="Default_Lifecycle_Bindings_-_Packaging_maven-plugin"></a>Default Lifecycle Bindings - Packaging <tt>maven-plugin</tt></h4>
<table border="1" class="bodyTable">
<tr class="a">
<td align="left"><tt>generate-resources</tt></td>
@@ -561,7 +561,7 @@
<td align="left"><tt>deploy</tt></td>
<td align="left"><tt>deploy:deploy</tt></td></tr></table></div>
<div class="section">
-<h4>Default Lifecycle Bindings - Packaging <tt>pom</tt><a name="Default_Lifecycle_Bindings_-_Packaging_pom"></a></h4>
+<h4><a name="Default_Lifecycle_Bindings_-_Packaging_pom"></a>Default Lifecycle Bindings - Packaging <tt>pom</tt></h4>
<table border="1" class="bodyTable">
<tr class="a">
<td align="left"><tt>package</tt></td>
@@ -573,7 +573,7 @@
<td align="left"><tt>deploy</tt></td>
<td align="left"><tt>deploy:deploy</tt></td></tr></table></div>
<div class="section">
-<h4>Site Lifecycle Bindings<a name="Site_Lifecycle_Bindings"></a></h4>
+<h4><a name="Site_Lifecycle_Bindings"></a>Site Lifecycle Bindings</h4>
<table border="1" class="bodyTable">
<tr class="a">
<td align="left"><tt>site</tt></td>
@@ -582,7 +582,7 @@
<td align="left"><tt>site-deploy</tt></td>
<td align="left"><tt>site:deploy</tt></td></tr></table></div>
<div class="section">
-<h4>References<a name="References"></a></h4>
+<h4><a name="References"></a>References</h4>
<p>The full Maven lifecycle is defined by the file <tt>components.xml</tt> in the module <tt>maven-core</tt> and viewable from SVN in the branch for <a class="externalLink" href="http://svn.apache.org/repos/asf/maven/maven-2/tags/maven-2.2.1/maven-core/src/main/resources/META-INF/plexus/components.xml">Maven 2.2.1</a> and Git for <a class="externalLink" href="https://git-wip-us.apache.org/repos/asf?p=maven.git;a=blob;f=maven-core/src/main/resources/META-INF/plexus/components.xml">Maven 3.x</a>.</p>
<p>In Maven 2.x, default lifecycle bindings were included in <tt>components.xml</tt>, but in Maven 3.x, they are defined in a separate <tt><a class="externalLink" href="https://git-wip-us.apache.org/repos/asf?p=maven.git;a=blob;f=maven-core/src/main/resources/META-INF/plexus/default-bindings.xml">default-bindings.xml</a></tt> descriptor.</p>
<p>See <a href="/ref/current/maven-core/lifecycles.html">Lifecycles Reference</a> and <a href="/ref/current/maven-core/default-bindings.html">Plugin Bindings for default Lifecycle Reference</a> for latest documentation taken directly from source code.</p>
Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-the-pom.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/introduction/introduction-to-the-pom.html (original)
+++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-the-pom.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Introduction to the POM</title>
+ <title>Maven – Introduction to the POM</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -16,7 +16,7 @@
Franz Allan Valencia See
Brett Porter" />
<meta name="Date-Creation-yyyymmdd" content="20090204" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -46,7 +46,7 @@ Brett Porter" />
Introduction to the POM
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -244,7 +244,7 @@ Brett Porter" />
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Introduction to the POM<a name="Introduction_to_the_POM"></a></h2>
+<h2><a name="Introduction_to_the_POM"></a>Introduction to the POM</h2>
<ul>
<li><a href="./introduction-to-the-pom.html#What_is_a_POM">What is a POM</a>?</li>
<li><a href="./introduction-to-the-pom.html#Super_POM">Super POM</a></li>
@@ -611,7 +611,7 @@ Brett Porter" />
<div class="section">
<h4><a name="Example_1">Example 1</a></h4>
<div class="section">
-<h5>The Scenario<a name="The_Scenario"></a></h5>
+<h5><a name="The_Scenario"></a>The Scenario</h5>
<p>As an example, let us reuse our previous artifact, com.mycompany.app:my-app:1. And let us introduce another artifact, com.mycompany.app:my-module:1.</p>
<div class="source">
<pre><project>
@@ -628,7 +628,7 @@ Brett Porter" />
`-- pom.xml</pre></div>
<p><b>Note:</b> <tt>my-module/pom.xml</tt> is the POM of com.mycompany.app:my-module:1 while <tt>pom.xml</tt> is the POM of com.mycompany.app:my-app:1</p></div>
<div class="section">
-<h5>The Solution<a name="The_Solution"></a></h5>
+<h5><a name="The_Solution"></a>The Solution</h5>
<p>Now, if we were to turn com.mycompany.app:my-app:1 into a parent artifact of com.mycompany.app:my-module:1,we will have to modify com.mycompany.app:my-module:1's POM to the following configuration:</p>
<p><b>com.mycompany.app:my-module:1's POM</b></p>
<div class="source">
@@ -660,7 +660,7 @@ Brett Porter" />
<div class="section">
<h4><a name="Example_2">Example 2</a></h4>
<div class="section">
-<h5>The Scenario<a name="The_Scenario"></a></h5>
+<h5><a name="The_Scenario"></a>The Scenario</h5>
<p>However, that would work if the parent project was already installed in our local repository or was in that specific directory structure (parent <tt>pom.xml</tt> is one directory higher than that of the module's <tt>pom.xml</tt>).</p>
<p>But what if the parent is not yet installed and if the directory structure is</p>
<div class="source">
@@ -670,7 +670,7 @@ Brett Porter" />
`-- parent
`-- pom.xml</pre></div></div>
<div class="section">
-<h5>The Solution<a name="The_Solution"></a></h5>
+<h5><a name="The_Solution"></a>The Solution</h5>
<p>To address this directory structure (or any other directory structure), we would have to add the <tt><relativePath></tt> element to our parent section.</p>
<div class="source">
<pre><project>
@@ -694,7 +694,7 @@ Brett Porter" />
<div class="section">
<h4><a name="Example_3">Example 3</a></h4>
<div class="section">
-<h5>The Scenario<a name="The_Scenario"></a></h5>
+<h5><a name="The_Scenario"></a>The Scenario</h5>
<p>Given the previous original artifact POMs, and directory structure,</p>
<p><b>com.mycompany.app:my-app:1's POM</b></p>
<div class="source">
@@ -719,7 +719,7 @@ Brett Porter" />
| `-- pom.xml
`-- pom.xml</pre></div></div>
<div class="section">
-<h5>The Solution<a name="The_Solution"></a></h5>
+<h5><a name="The_Solution"></a>The Solution</h5>
<p>If we are to aggregate my-module into my-app, we would only have to modify my-app.</p>
<div class="source">
<pre><project>
@@ -739,7 +739,7 @@ Brett Porter" />
<div class="section">
<h4><a name="Example_4">Example 4</a></h4>
<div class="section">
-<h5>The Scenario<a name="The_Scenario"></a></h5>
+<h5><a name="The_Scenario"></a>The Scenario</h5>
<p>But what if we change the directory structure to the following:</p>
<div class="source">
<pre>.
@@ -749,7 +749,7 @@ Brett Porter" />
`-- pom.xml</pre></div>
<p>How would the parent pom specify its modules?</p></div>
<div class="section">
-<h5>The Solution<a name="The_Solution"></a></h5>
+<h5><a name="The_Solution"></a>The Solution</h5>
<p>The answer? - the same way as Example 3, by specifying the path to the module.</p>
<div class="source">
<pre><project>
@@ -776,7 +776,7 @@ Brett Porter" />
<div class="section">
<h4><a name="Example_5">Example 5</a></h4>
<div class="section">
-<h5>The Scenario<a name="The_Scenario"></a></h5>
+<h5><a name="The_Scenario"></a>The Scenario</h5>
<p>Given the previous original artifact POMs again,</p>
<p><b>com.mycompany.app:my-app:1's POM</b></p>
<div class="source">
@@ -802,7 +802,7 @@ Brett Porter" />
`-- parent
`-- pom.xml</pre></div></div>
<div class="section">
-<h5>The Solution<a name="The_Solution"></a></h5>
+<h5><a name="The_Solution"></a>The Solution</h5>
<p>To do both project inheritance and aggregation, you only have to apply all three rules.</p>
<p><b>com.mycompany.app:my-app:1's POM</b></p>
<div class="source">
@@ -832,7 +832,7 @@ Brett Porter" />
<p><b>NOTE:</b> Profile inheritance the same inheritance strategy as used for the POM itself.</p>
<p><a href="./introduction-to-the-pom.html">[top]</a></p></div></div></div>
<div class="section">
-<h3><a name="Project_Interpolation">Project Interpolation</a> and Variables<a name="Project_Interpolation_and_Variables"></a></h3>
+<h3><a name="Project_Interpolation_and_Variables"></a><a name="Project_Interpolation">Project Interpolation</a> and Variables</h3>
<p>One of the practices that Maven encourages is <i>don't repeat yourself</i>. However, there are circumstances where you will need to use the same value in several different locations. To assist in ensuring the value is only specified once, Maven allows you to use both your own and pre-defined variables in the POM.</p>
<p>For example, to access the <tt>project.version</tt> variable, you would reference it like so:</p>
<div class="source">
@@ -841,11 +841,11 @@ Brett Porter" />
<div class="section">
<h4><a name="Available_Variables">Available Variables</a></h4>
<div class="section">
-<h5>Project Model Variables<a name="Project_Model_Variables"></a></h5>
+<h5><a name="Project_Model_Variables"></a>Project Model Variables</h5>
<p>Any field of the model that is a single value element can be referenced as a variable. For example, <tt>${project.groupId}</tt>, <tt>${project.version}</tt>, <tt>${project.build.sourceDirectory}</tt> and so on. Refer to the POM reference to see a full list of properties.</p>
<p>These variables are all referenced by the prefix "<tt>project.</tt>". You may also see references with <tt>pom.</tt> as the prefix, or the prefix omitted entirely - these forms are now deprecated and should not be used.</p></div>
<div class="section">
-<h5>Special Variables<a name="Special_Variables"></a></h5>
+<h5><a name="Special_Variables"></a>Special Variables</h5>
<table border="1" class="bodyTable">
<tr class="a">
<td align="left"><tt>project.basedir</tt></td>
@@ -867,7 +867,7 @@ Brett Porter" />
</project></pre></div>
<p>The format pattern has to comply with the rules given in the API documentation for <a class="externalLink" href="http://java.sun.com/javase/6/docs/api/java/text/SimpleDateFormat.html">SimpleDateFormat</a>. If the property is not present, the format defaults to the value already given in the example.</p></div>
<div class="section">
-<h5>Properties<a name="Properties"></a></h5>
+<h5><a name="Properties"></a>Properties</h5>
<p>You are also able to reference any properties defined in the project as a variable. Consider the following example:</p>
<div class="source">
<pre><project>
Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-the-standard-directory-layout.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/introduction/introduction-to-the-standard-directory-layout.html (original)
+++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-the-standard-directory-layout.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Introduction to the Standard Directory Layout</title>
+ <title>Maven – Introduction to the Standard Directory Layout</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -14,7 +14,7 @@
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Jason van Zyl" />
<meta name="Date-Creation-yyyymmdd" content="20140309" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -44,7 +44,7 @@
Introduction to the Standard Directory Layout
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -242,7 +242,7 @@
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Introduction to the Standard Directory Layout<a name="Introduction_to_the_Standard_Directory_Layout"></a></h2>
+<h2><a name="Introduction_to_the_Standard_Directory_Layout"></a>Introduction to the Standard Directory Layout</h2>
<p>Having a common directory layout would allow for users familiar with one Maven project to immediately feel at home in another Maven project. The advantages are analogous to adopting a site-wide look-and-feel.</p>
<p>The next section documents the directory layout expected by Maven and the directory layout created by Maven. Please try to conform to this structure as much as possible; however, if you can't these settings can be overridden via the project descriptor.</p>
<table border="1" class="bodyTable">
Modified: websites/staging/maven/trunk/content/guides/mini/guide-3rd-party-jars-local.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-3rd-party-jars-local.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-3rd-party-jars-local.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Guide to installing 3rd party JARs</title>
+ <title>Maven – Guide to installing 3rd party JARs</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -14,7 +14,7 @@
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Jason van Zyl
Robert Scholte" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -44,7 +44,7 @@ Robert Scholte" />
Guide to installing 3rd party JARs
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -242,7 +242,7 @@ Robert Scholte" />
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Guide to installing 3rd party JARs<a name="Guide_to_installing_3rd_party_JARs"></a></h2>
+<h2><a name="Guide_to_installing_3rd_party_JARs"></a>Guide to installing 3rd party JARs</h2>
<p>Although rarely, but sometimes you will have 3rd party JARs that you need to put in your local repository for use in your builds, since they don't exist in any public repository like <a class="externalLink" href="http://search.maven.org">Maven Central</a>. The JARs must be placed in the local repository in the correct place in order for it to be correctly picked up by Apache Maven. To make this easier, and less error prone, we have provide a goal in the <a class="externalLink" href="http://maven.apache.org/plugins/maven-install-plugin/">maven-install-plugin</a> which should make this relatively painless. To install a JAR in the local repository use the following command:</p>
<div class="source">
<pre>
Modified: websites/staging/maven/trunk/content/guides/mini/guide-3rd-party-jars-remote.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-3rd-party-jars-remote.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-3rd-party-jars-remote.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Guide to deploying 3rd party JARs to remote repository</title>
+ <title>Maven – Guide to deploying 3rd party JARs to remote repository</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Allan Ramirez" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -43,7 +43,7 @@
Guide to deploying 3rd party JARs to remote repository
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -241,7 +241,7 @@
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Guide to deploying 3rd party JARs to remote repository<a name="Guide_to_deploying_3rd_party_JARs_to_remote_repository"></a></h2>
+<h2><a name="Guide_to_deploying_3rd_party_JARs_to_remote_repository"></a>Guide to deploying 3rd party JARs to remote repository</h2>
<p>Same concept of the <a href="./guide-3rd-party-jars-local.html">install:install-file</a> goal of the maven-install-plugin where the 3rd party JAR is installed in the local repository. But this time instead to local repository the JAR will be install both in the local and remote repository.</p>
<p>To deploy a 3rd party JAR use the deploy:deploy-file goal under maven-deploy-plugin.</p>
<p>First, the wagon-provider(wagon-ftp, wagon-file, etc..) must be placed to your %M2_HOME%/lib.</p>
@@ -255,12 +255,12 @@
-DrepositoryId=<id-to-map-on-server-section-of-settings.xml> \
-Durl=<url-of-the-repository-to-deploy></pre></div>
<div class="section">
-<h3>Deploying a 3rd party JAR with a generic POM<a name="Deploying_a_3rd_party_JAR_with_a_generic_POM"></a></h3>
+<h3><a name="Deploying_a_3rd_party_JAR_with_a_generic_POM"></a>Deploying a 3rd party JAR with a generic POM</h3>
<p>By default, deploy:deploy-file generates a generic POM(.pom) to be deploy together with the 3rd party JAR. To disable this feature we should set the <tt>generatePOM</tt> argument to false.</p>
<div class="source">
<pre>-DgeneratePom=false</pre></div></div>
<div class="section">
-<h3>Deploying a 3rd party JAR with a customized POM<a name="Deploying_a_3rd_party_JAR_with_a_customized_POM"></a></h3>
+<h3><a name="Deploying_a_3rd_party_JAR_with_a_customized_POM"></a>Deploying a 3rd party JAR with a customized POM</h3>
<p>If a POM is already existing for the 3rd Party JAR and you want to deploy it together with the JAR we should use the <tt>pomFile</tt> argument of the deploy-file goal. See sample below.</p>
<div class="source">
<pre>mvn deploy:deploy-file -DpomFile=<path-to-pom> \
@@ -269,7 +269,7 @@
-Durl=<url-of-the-repository-to-deploy></pre></div>
<p>Note that <tt>groupId</tt>, <tt>artifactId</tt>, <tt>version</tt> and <tt>packaging</tt> arguments are not included here because deploy-file goal will get these information from the given POM.</p></div>
<div class="section">
-<h3>Deploying Source Jars<a name="Deploying_Source_Jars"></a></h3>
+<h3><a name="Deploying_Source_Jars"></a>Deploying Source Jars</h3>
<p>To deploy a 3rd party source jar, packaging should be set to <tt>java-source</tt>, and generatePom should be set to <tt>false</tt>.</p></div></div>
</div>
</div>
Modified: websites/staging/maven/trunk/content/guides/mini/guide-archive-configuration.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-archive-configuration.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-archive-configuration.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Guide to Configuring Archive Plugins</title>
+ <title>Maven – Guide to Configuring Archive Plugins</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Brett Porter" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -43,7 +43,7 @@
Guide to Configuring Archive Plugins
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -241,10 +241,10 @@
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Guide to Configuring Archive Plugins<a name="Guide_to_Configuring_Archive_Plugins"></a></h2>
+<h2><a name="Guide_to_Configuring_Archive_Plugins"></a>Guide to Configuring Archive Plugins</h2>
<p>Many Java archive generating plugins accept the <tt>archive</tt> configuration element to customize the generation of the archive. In the standard Maven Plugins, this includes the <tt>jar</tt>, <tt>war</tt>, <tt>ejb</tt>, <tt>ear</tt> and <tt>assembly</tt> plugins.</p>
<div class="section">
-<h3>Disabling Maven Meta Information<a name="Disabling_Maven_Meta_Information"></a></h3>
+<h3><a name="Disabling_Maven_Meta_Information"></a>Disabling Maven Meta Information</h3>
<p>By default, Maven generated archives include the <tt>META-INF/maven</tt> directory, which contains the <tt>pom.xml</tt> file used to build the archive, and a <tt>pom.properties</tt> file that includes some basic properties in a small, easier to read format.</p>
<p>To disable the generation of these files, include the following configuration for your plugin (in this example, the WAR plugin is used):</p>
<div class="source">
@@ -268,7 +268,7 @@
</project>
</pre></div><!-- other things: index, compress --></div>
<div class="section">
-<h3>Configuring the Manifest<a name="Configuring_the_Manifest"></a></h3>
+<h3><a name="Configuring_the_Manifest"></a>Configuring the Manifest</h3>
<p>The archive configuration also accepts manifest configuration. See <a href="./guide-manifest.html">Guide to Working with Manifests</a> for more information.</p></div></div>
</div>
</div>
Modified: websites/staging/maven/trunk/content/guides/mini/guide-assemblies.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-assemblies.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-assemblies.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Guide to Creating Assemblies</title>
+ <title>Maven – Guide to Creating Assemblies</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Jason van Zyl" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -43,7 +43,7 @@
Guide to Creating Assemblies
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -241,7 +241,7 @@
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Guide to creating assemblies<a name="Guide_to_creating_assemblies"></a></h2>
+<h2><a name="Guide_to_creating_assemblies"></a>Guide to creating assemblies</h2>
<p>The assembly mechanism in Maven provides an easy way to create distributions using a assembly descriptor and dependency information found in you POM. In order to use the assembly plug-in you need to configure the assembly plug-in in your POM and it might look like the following:</p>
<div class="source">
<pre><project>
@@ -270,7 +270,7 @@
</project></pre></div>
<p>You'll notice that the assembly descriptor is located in <tt>${project.basedir}/src/assembly</tt> which is the <a href="../introduction/introduction-to-the-standard-directory-layout.html">standard</a> location for assembly descriptors.</p>
<div class="section">
-<h3>Creating a binary assembly<a name="Creating_a_binary_assembly"></a></h3>
+<h3><a name="Creating_a_binary_assembly"></a>Creating a binary assembly</h3>
<p>This is the most typical usage of the assembly plugin where you are creating a distribution for standard use.</p>
<div class="source">
<pre><assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
Modified: websites/staging/maven/trunk/content/guides/mini/guide-attached-tests.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-attached-tests.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-attached-tests.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Guide to using attached tests</title>
+ <title>Maven – Guide to using attached tests</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Jason van Zyl" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -43,7 +43,7 @@
Guide to using attached tests
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -241,7 +241,7 @@
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Guide to using attached tests<a name="Guide_to_using_attached_tests"></a></h2>
+<h2><a name="Guide_to_using_attached_tests"></a>Guide to using attached tests</h2>
<p>Many times you may want to reuse the tests that you have created for a project in another. For example if you have written <tt>foo-core</tt> and it contains test code in the <tt>${basedir}/src/test/java</tt> it would be useful to package up those compiled tests in a JAR and deploy them for general reuse. To do this you would configure the <tt>maven-jar-plugin</tt> as follows:</p>
<div class="source">
<pre>
@@ -265,21 +265,21 @@
</project>
</pre></div>
<div class="section">
-<h3>Installing the attached test JAR<a name="Installing_the_attached_test_JAR"></a></h3>
+<h3><a name="Installing_the_attached_test_JAR"></a>Installing the attached test JAR</h3>
<p>In order to install the attached test JAR you simply use the standard <tt>install</tt> phase by executing the following command:</p>
<div class="source">
<pre>
mvn install
</pre></div></div>
<div class="section">
-<h3>Deploying the attached test JAR<a name="Deploying_the_attached_test_JAR"></a></h3>
+<h3><a name="Deploying_the_attached_test_JAR"></a>Deploying the attached test JAR</h3>
<p>In order to deploy the attached test JAR you simply use the standard <tt>deploy</tt> phase by executing the following command:</p>
<div class="source">
<pre>
mvn deploy
</pre></div></div>
<div class="section">
-<h3>Using the attached test JAR<a name="Using_the_attached_test_JAR"></a></h3>
+<h3><a name="Using_the_attached_test_JAR"></a>Using the attached test JAR</h3>
<p>In order to use the attached test JAR that was created above you simply specify a dependency on the main artifact with a specified type of <tt>test-jar</tt>:</p>
<div class="source">
<pre>
Modified: websites/staging/maven/trunk/content/guides/mini/guide-bash-m2-completion.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-bash-m2-completion.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-bash-m2-completion.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Guide to Maven 2.x auto completion using BASH</title>
+ <title>Maven – Guide to Maven 2.x auto completion using BASH</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -14,7 +14,7 @@
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Trygve Laugstol
Jason van Zyl" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -44,7 +44,7 @@ Jason van Zyl" />
Guide to Maven 2.x auto completion using BASH
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -242,7 +242,7 @@ Jason van Zyl" />
<div id="bodyColumn">
<div id="contentBox">
<!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section">
-<h2>Guide to Maven 2.x auto completion using BASH<a name="Guide_to_Maven_2.x_auto_completion_using_BASH"></a></h2>
+<h2><a name="Guide_to_Maven_2.x_auto_completion_using_BASH"></a>Guide to Maven 2.x auto completion using BASH</h2>
<p>First you must go to the following site to install the BASH programmable auto completion setup if your distro doesn't have it by default. I don't think many do so you'll need to go to the <a class="externalLink" href="http://www.caliban.org/bash/index.shtml#completion">Programmable Completion Website</a>.</p>
<p>Once you've setup your system for auto completion you need to take the following:</p>
<div class="source">
Modified: websites/staging/maven/trunk/content/guides/mini/guide-building-for-different-environments.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-building-for-different-environments.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-building-for-different-environments.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Building For Different Environments with Maven 2</title>
+ <title>Maven – Building For Different Environments with Maven 2</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="01-Jan-2006" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -43,7 +43,7 @@
Building For Different Environments with Maven 2
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -241,7 +241,7 @@
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Building For Different Environments with Maven 2<a name="Building_For_Different_Environments_with_Maven_2"></a></h2>
+<h2><a name="Building_For_Different_Environments_with_Maven_2"></a>Building For Different Environments with Maven 2</h2>
<p>Building the same artifact for different environments has always been an annoyance. You have multiple environments, for instance test and production servers or, maybe a set of servers that run the same application with different configurations. In this guide I'll explain how you can use profiles to build and package artifacts configured for specific environments. See <a href="../introduction/introduction-to-profiles.html">Introduction to Build Profiles</a> for a more in-depth explanation of the profile concept.</p>
<p>Note:</p>
<ul>
@@ -320,14 +320,14 @@ src/
<li>It configures the JAR plugin to create an "attached" JAR with the "test" classifier.
<p>To activate this profile execute <tt>mvn -Ptest install</tt> and Maven will execute the steps in the profile in addition to the normal steps. From this build you will get two artifacts, "foo-1.0.jar" and "foo-1.0-test.jar". These two jars will identical. </p></li></ol></li></ul></div>
<div class="section">
-<h2>Caveats<a name="Caveats"></a></h2>
+<h2><a name="Caveats"></a>Caveats</h2>
<ul>
<li>Currently Maven 2 doesn't allow a project build to only produce attached artifacts. (i.e. it has to produce a "main" artifact as well) This results in two equal JARs being packaged and installed. The JAR plugin probably should also get improved support for this use case to that two different output directories will be used as the basis for building the JAR.</li>
<li>The usage of the delete task might seem a bit odd but is required to make sure that the copy task actually will copy the file. The copy task will look at the timestamps of the source and destination files, only when copying the files it won't know that the actually source file might be different than the last time it was executed.</li>
<li>After the build the test configuration will be in target/classes and won't be overridden because the resources plugin uses the same timestamp checking, so you should always do a clean after executing Maven with a profile.</li>
<li>For the reasons given above it's imperative that you only build an artifact for a single environment in a single execution at a time and that you execute "mvn clean" whenever you change the profile switches. If not, you might get artifacts with a mixed set of configuration files.</li></ul></div>
<div class="section">
-<h2>Resources<a name="Resources"></a></h2>
+<h2><a name="Resources"></a>Resources</h2>
<ol style="list-style-type: decimal">
<li><a href="../introduction/introduction-to-profiles.html">Introduction to Build Profiles</a></li>
<li><a href="../introduction/introduction-to-the-standard-directory-layout.html">Standard Directory Layout</a></li></ol></div>
Modified: websites/staging/maven/trunk/content/guides/mini/guide-building-jdk14-on-jdk15.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-building-jdk14-on-jdk15.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-building-jdk14-on-jdk15.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Guide to Building JDK 1.4 Projects Using JDK 1.5</title>
+ <title>Maven – Guide to Building JDK 1.4 Projects Using JDK 1.5</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -14,7 +14,7 @@
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="John Casey" />
<meta name="Date-Creation-yyyymmdd" content="20090802" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -44,7 +44,7 @@
Guide to Building JDK 1.4 Projects Using JDK 1.5
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -242,15 +242,15 @@
<div id="bodyColumn">
<div id="contentBox">
<!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section">
-<h2>Guide to Building JDK 1.4 Projects Using JDK 1.5<a name="Guide_to_Building_JDK_1.4_Projects_Using_JDK_1.5"></a></h2>
+<h2><a name="Guide_to_Building_JDK_1.4_Projects_Using_JDK_1.5"></a>Guide to Building JDK 1.4 Projects Using JDK 1.5</h2>
<p>Since Maven 2.2.0 requires Java 1.5 to execute, users who still require their projects to run on Java 1.4 or older will need to make some adjustments.</p>
<p>Ideally, you could solve this problem by using JDK 1.4 to compile and test your project, by providing the appropriate <a href="./guide-using-toolchains.html">toolchains</a> configuration. However, the current release of the <a href="/plugins/maven-compiler-plugin">compiler plugin</a> (2.0.2) isn't toolchains-capable yet, so constructing a bullet-proof build using Maven 2.2.0 to target a Java platform older than 1.5 requires some more exotic configuration.</p>
<div class="section">
-<h3>First Step: <tt>Source</tt> and <tt>Target</tt> Configurations<a name="First_Step:_Source_and_Target_Configurations"></a></h3>
+<h3><a name="First_Step:_Source_and_Target_Configurations"></a>First Step: <tt>Source</tt> and <tt>Target</tt> Configurations</h3>
<p>The first step to supporting JDKs older than 1.5 in your build is already done for you: setting the <tt>source</tt> and <tt>target</tt> API versions in the configuration for the compiler plugin. Since JDK 1.5+ can still generate class files that are compliant with older JDKs, using this default compiler-plugin setting will render project artifacts that are technically compatible with JVMs older than 1.5.</p>
<p>This is great, until someone sneaks a <tt>String.contains( "foo" )</tt> into the codebase. If that happens, your project will still build successfully, and generate 1.4-compatible binaries. But try to execute your code in a 1.4 JVM, and you'll understand why the compiler configuration alone isn't enough. To construct a build process targeting JVM 1.4 when the build tool requires JVM 1.5+, while still ensuring the result of that build is safe to run on the 1.4 JVM, we need to use a tool that can verify the compatibility of our project code against a given Java API specification version.</p></div>
<div class="section">
-<h3>Enter the Animal Sniffer<a name="Enter_the_Animal_Sniffer"></a></h3>
+<h3><a name="Enter_the_Animal_Sniffer"></a>Enter the Animal Sniffer</h3>
<p>Fortunately, there is a project at dev.java.net called <a class="externalLink" href="https://animal-sniffer.dev.java.net/signature-checker.html">Animal Sniffer</a> that does exactly what we need. This project can verify the compatibility of a codebase against a whole range of Java APIs. Even better, it provides a Maven 2.x plugin to give users an easy way to integrate these checks into their build. To verify that your codebase complies with JDK 1.4 API, you simply tell the animal sniffer plugin to use:</p>
<div class="source">
<pre><signature>
@@ -259,7 +259,7 @@
<version>1.0</version>
</signature></pre></div></div>
<div class="section">
-<h3>Sample Configuration<a name="Sample_Configuration"></a></h3>
+<h3><a name="Sample_Configuration"></a>Sample Configuration</h3>
<p>Putting it all together, the following example shows how you can be certain your project will run on the 1.4 JVM:</p>
<div class="source">
<pre><build>
Modified: websites/staging/maven/trunk/content/guides/mini/guide-central-repository-upload.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-central-repository-upload.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-central-repository-upload.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Guide to uploading artifacts to the Central Repository</title>
+ <title>Maven – Guide to uploading artifacts to the Central Repository</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -14,7 +14,7 @@
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Jason van Zyl
Brian Fox" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -44,7 +44,7 @@ Brian Fox" />
Guide to uploading artifacts to the Central Repository
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -242,7 +242,7 @@ Brian Fox" />
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Guide to uploading artifacts to the Central Repository<a name="Guide_to_uploading_artifacts_to_the_Central_Repository"></a></h2>
+<h2><a name="Guide_to_uploading_artifacts_to_the_Central_Repository"></a>Guide to uploading artifacts to the Central Repository</h2>
<p>In order for users of Maven to utilize artifacts produced by your project, you must deploy them to a remote repository. Many open source projects want to allow users of their projects who build with Maven to have transparent access to their project's artifacts. In order to allow for this, a project must have their artifacts deployed to the Central Repository.</p></div>
<div class="section">
<h2><a name="Requirements">Requirements</a></h2>
@@ -252,11 +252,11 @@ Brian Fox" />
<h2><a name="Choosing_your_coordinates">Choosing your coordinates</a></h2>
<p>Picking the appropriate coordinates for your project is important. See the guidelines <a class="externalLink" href="https://docs.sonatype.org/display/Repository/Choosing+your+Coordinates">here</a>.</p>
<div class="section">
-<h3>Explanation<a name="Explanation"></a></h3>
+<h3><a name="Explanation"></a>Explanation</h3>
<p>Some folks have asked why do we require all this information in the POM for deployed artifacts so here's a small explanation. The POM being deployed with the artifact is part of the process to make transitive dependencies a reality in Maven. The logic for getting transitive dependencies working is really not that hard, the problem is getting the data. The other applications that are made possible by having all the POMs available for artifacts are vast, so by placing them into the repository as part of the process we open up the doors to new ideas that involve unified access to project POMs.</p>
<p>We also ask for license now because it is possible that your project's license may change in the course of its life time and we are trying create tools to help normal people sort out licensing issues. For example, knowing all the licenses for a particular graph of artifacts, we could have some strategies that would identify potential licensing problems.</p></div>
<div class="section">
-<h3>A basic sample:<a name="A_basic_sample:"></a></h3>
+<h3><a name="A_basic_sample:"></a>A basic sample:</h3>
<div class="source">
<pre>
<project>
@@ -299,11 +299,11 @@ Brian Fox" />
</project>
</pre></div></div>
<div class="section">
-<h3>PGP Signature<a name="PGP_Signature"></a></h3>
+<h3><a name="PGP_Signature"></a>PGP Signature</h3>
<p>When people download artifacts from Central Maven repository, they might want to validate that these artifacts have valid PGP signatures that can be verified against a public key server. If there is no signatures, then users have no guarantee that they are downloading the original artifact.</p>
<p>To improve the quality of the Central Maven repository, we require you to provide PGP signatures for all your artifacts (all files except checksums), and distribute your public key to a key server like <a class="externalLink" href="http://pgp.mit.edu">http://pgp.mit.edu</a>. Read <a class="externalLink" href="https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven">How to Generate PGP Signatures with Maven</a> for more information.</p></div>
<div class="section">
-<h3>FAQ and common mistakes<a name="FAQ_and_common_mistakes"></a></h3>
+<h3><a name="FAQ_and_common_mistakes"></a>FAQ and common mistakes</h3>
<ul>
<li>I have other <tt>repositories</tt> or <tt>pluginRepositories</tt> listed in my POM, is that a problem?
<p>At present, this won't preclude your project from being included, but we do strongly encourage making sure all your dependencies are included in Central. If you rely on sketchy repositories that have junk in them or disappear, it just creates havok for downstream users. Try to keep your dependencies among reliable repos like Central, Jboss, etc.</p></li>
Modified: websites/staging/maven/trunk/content/guides/mini/guide-configuring-maven.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-configuring-maven.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-configuring-maven.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Guide to Configuring Maven</title>
+ <title>Maven – Guide to Configuring Maven</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Brett Porter" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -43,7 +43,7 @@
Guide to Configuring Maven
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -241,7 +241,7 @@
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Configuring Maven<a name="Configuring_Maven"></a></h2>
+<h2><a name="Configuring_Maven"></a>Configuring Maven</h2>
<p>Maven configuration occurs at 3 levels:</p>
<ul>
<li><i>Project</i> - most static configuration occurs in <tt>pom.xml</tt></li>
@@ -252,7 +252,7 @@
<p>For this, you should have your projects inherit from a company-wide parent <tt>pom.xml</tt>.</p><!-- TODO: versioning doc that discusses this -->
<p>You can specify your user configuration in <tt>${user.home}/.m2/settings.xml</tt>. A <a href="../../maven-settings/settings.html">full reference</a> to the configuration file is available. This section will show how to make some common configurations. Note that the file is not required - defaults will be used if it is not found.</p>
<div class="section">
-<h3>Configuring your Local Repository<a name="Configuring_your_Local_Repository"></a></h3>
+<h3><a name="Configuring_your_Local_Repository"></a>Configuring your Local Repository</h3>
<p>The location of your local repository can be changed in your user configuration. The default value is <tt>${user.home}/.m2/repository/</tt>.</p>
<div>
<pre><settings>
@@ -262,11 +262,11 @@
</settings></pre></div>
<p><b>Note:</b> The local repository must be an absolute path.</p></div>
<div class="section">
-<h3>Configuring a Proxy<a name="Configuring_a_Proxy"></a></h3>
+<h3><a name="Configuring_a_Proxy"></a>Configuring a Proxy</h3>
<p>Proxy configuration can also be specified in the settings file.</p>
<p>For more information, see the <a href="./guide-proxies.html"> Guide to using a Proxy</a>.</p></div>
<div class="section">
-<h3>Configuring Parallel Artifact Resolution<a name="Configuring_Parallel_Artifact_Resolution"></a></h3>
+<h3><a name="Configuring_Parallel_Artifact_Resolution"></a>Configuring Parallel Artifact Resolution</h3>
<p>By default, Maven 2.1.0+ will download up to 5 artifacts (from different groups) at once. To change the size of the thread pool, start Maven using <tt>-Dmaven.artifact.threads</tt>. For example, to only download single artifacts at a time:</p>
<div>
<pre>mvn -Dmaven.artifact.threads=1 clean install</pre></div>
@@ -274,7 +274,7 @@
<div>
<pre>export MAVEN_OPTS=-Dmaven.artifact.threads=3</pre></div></div>
<div class="section">
-<h3>Security and Deployment Settings<a name="Security_and_Deployment_Settings"></a></h3>
+<h3><a name="Security_and_Deployment_Settings"></a>Security and Deployment Settings</h3>
<p>Repositories to deploy to are defined in a project in the <tt><distributionManagement></tt> section. However, you cannot put your username, password, or other security settings in that project. For that reason, you should add a server definition to your own settings with an <tt>id</tt> that matches that of the deployment repository in the project.</p>
<p>In addition, some repositories may require authorization to download from, so the corresponding settings can be specified in a <tt>server</tt> element in the same way.</p>
<p>Which settings are required will depend on the type of repository you are deploying to. As of the first release, only SCP deployments and file deployments are supported by default, so only the following SCP configuration is needed:</p>
@@ -297,10 +297,10 @@
</settings></pre></div>
<p>To encrypt passwords in these sections, refer to <a href="./guide-encryption.html"> Encryption Settings</a>.</p></div>
<div class="section">
-<h3>Using Mirrors for Repositories<a name="Using_Mirrors_for_Repositories"></a></h3>
+<h3><a name="Using_Mirrors_for_Repositories"></a>Using Mirrors for Repositories</h3>
<p>Repositories can be declared inside a project, 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. Refer to <a href="./guide-mirror-settings.html"> Guide to Mirror Settings</a> for more details.</p></div>
<div class="section">
-<h3>Profiles<a name="Profiles"></a></h3>
+<h3><a name="Profiles"></a>Profiles</h3>
<p>Repository configuration can also be put into a profile. You can have multiple profiles, with one set to active so that you can easily switch environments. Read more about profiles in <a href="../introduction/introduction-to-profiles.html">Introduction to Build Profiles</a>.</p></div></div>
</div>
</div>
Modified: websites/staging/maven/trunk/content/guides/mini/guide-configuring-plugins.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-configuring-plugins.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-configuring-plugins.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Guide to Configuring Plug-ins</title>
+ <title>Maven – Guide to Configuring Plug-ins</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -15,7 +15,7 @@
<meta name="author" content="Jason van Zyl
Vincent Siveton" />
<meta name="Date-Creation-yyyymmdd" content="20090826" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -45,7 +45,7 @@ Vincent Siveton" />
Guide to Configuring Plug-ins
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -243,7 +243,7 @@ Vincent Siveton" />
<div id="bodyColumn">
<div id="contentBox">
<!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-
format.html --><div class="section">
-<h2>Guide to Configuring Plug-ins<a name="Guide_to_Configuring_Plug-ins"></a></h2>
+<h2><a name="Guide_to_Configuring_Plug-ins"></a>Guide to Configuring Plug-ins</h2>
<ol style="list-style-type: decimal">
<li><a href="#Generic_Configuration">Generic Configuration</a>
<ol style="list-style-type: decimal">
@@ -268,7 +268,7 @@ Vincent Siveton" />
<li><a href="#Using_the_reportSets_Tag">Using the <tt><reportSets></tt> Tag</a></li>
<li><a href="#Using_the_inherited_Tag_In_Reporting_Plugins">Using the <tt><inherited></tt> Tag In Reporting Plugins</a></li></ol></li></ol>
<div class="section">
-<h3>Introduction<a name="Introduction"></a></h3>
+<h3><a name="Introduction"></a>Introduction</h3>
<p>In Maven, there are the build and the reporting plugins:</p>
<ul>
<li><b>Build plugins</b> will be executed during the build and then, they should be configured in the <tt><build/></tt> element.</li>
Modified: websites/staging/maven/trunk/content/guides/mini/guide-coping-with-sun-jars.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-coping-with-sun-jars.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-coping-with-sun-jars.html Fri Jul 11 05:10:35 2014
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at 2014-07-01
+ | Generated by Apache Maven Doxia at 2014-07-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven - Guide to Coping with Sun JARs</title>
+ <title>Maven – Guide to Coping with Sun JARs</title>
<style type="text/css" media="all">
@import url("../../css/maven-base.css");
@import url("../../css/maven-theme.css");
@@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
<meta name="author" content="Jason van Zyl" />
- <meta name="Date-Revision-yyyymmdd" content="20140701" />
+ <meta name="Date-Revision-yyyymmdd" content="20140711" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -43,7 +43,7 @@
Guide to Coping with Sun JARs
</div>
<div class="xright">
- Last Published: 2014-07-01
+ Last Published: 2014-07-11
</div>
<div class="clear">
<hr/>
@@ -241,7 +241,7 @@
<div id="bodyColumn">
<div id="contentBox">
<div class="section">
-<h2>Coping with Sun JARs<a name="Coping_with_Sun_JARs"></a></h2>
+<h2><a name="Coping_with_Sun_JARs"></a>Coping with Sun JARs</h2>
<p>Often users are confronted with the need to build against JARs provide by Sun like the <a class="externalLink" href="http://java.sun.com/products/javamail/">JavaMail</a> JAR, or the <a class="externalLink" href="http://java.sun.com/products/javabeans/jaf/downloads/index.html">Activation</a> JAR and users have found these JARs not present in central repository resulting in a broken build. Unfortunately most of these artifacts fall under Sun's Binary License which disallows us from distributing them from Ibiblio.</p>
<p>Another problem is that Sun's appears not to have any sort of convention for naming their own JARs so we have taken steps in suggesting some common names for Sun's artifacts. You can find a list of our suggestions here:</p>
<table border="1" class="bodyTable">