Modified: websites/staging/maven/trunk/content/guides/development/guide-maven-development.html ============================================================================== --- websites/staging/maven/trunk/content/guides/development/guide-maven-development.html (original) +++ websites/staging/maven/trunk/content/guides/development/guide-maven-development.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -11,7 +11,7 @@ Trygve Laugstol Brett Porter" /> <meta name="Date-Creation-yyyymmdd" content="20150104" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Guide to Developing Maven</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -21,7 +21,14 @@ Brett Porter" /> <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -32,7 +39,7 @@ Brett Porter" /> <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -60,7 +67,7 @@ Brett Porter" /> - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -441,7 +448,7 @@ Brett Porter" /> <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Developing_Maven"></a>Developing Maven</h2> <p>This document describes how to get started into developing Maven itself. There is a separate page describing how to <a href="./guide-building-maven.html">build Maven</a>.</p> <div class="section"> @@ -454,7 +461,7 @@ Brett Porter" /> <h3><a name="Wheres_the_source"></a>Where's the source?</h3> <p>See <a href="/source-repository.html">http://maven.apache.org/source-repository.html</a> for information. The Maven project uses a GIT for some things, and Subversion for others, and this page tracks the situation.</p></div> <div class="section"> -<h3><a name="Dont_forget_tests"></a>Don't forget tests!</h3> +<h3><a name="Dont_forget_tests"></a>Don't forget tests!</h3><!-- TODO move details to guide-building-maven.apt, keep only principles here --> <p>You will find many unit tests in the maven-3 tree. If at all possible, create or modify a unit test to demonstrate the problem, and then validate your fix.</p> <p>If the problem case can't be set up in the unit tests, add an integration test.</p> <p>Before submitting a patch, in any case, you should run all of the integration tests. The tests require an empty local repository.</p>
Modified: websites/staging/maven/trunk/content/guides/development/guide-plugin-documentation.html ============================================================================== --- websites/staging/maven/trunk/content/guides/development/guide-plugin-documentation.html (original) +++ websites/staging/maven/trunk/content/guides/development/guide-plugin-documentation.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Maven Team" /> <meta name="Date-Creation-yyyymmdd" content="20060706" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Guide to the Plugin Documentation Standard</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -19,7 +19,14 @@ <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -30,7 +37,7 @@ <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -58,7 +65,7 @@ - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> Modified: websites/staging/maven/trunk/content/guides/development/guide-testing-development-plugins.html ============================================================================== --- websites/staging/maven/trunk/content/guides/development/guide-testing-development-plugins.html (original) +++ websites/staging/maven/trunk/content/guides/development/guide-testing-development-plugins.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Brett Porter" /> <meta name="Date-Creation-yyyymmdd" content="20090802" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Guide to Testing Development Versions of Plugins</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -19,7 +19,14 @@ <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -30,7 +37,7 @@ <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -58,7 +65,7 @@ - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -439,7 +446,7 @@ <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Guide_to_Testing_Development_Versions_of_Plugins"></a>Guide to Testing Development Versions of Plugins</h2> <div class="section"> <h3><a name="Why_would_I_want_to_do_this"></a>Why would I want to do this?</h3> Modified: websites/staging/maven/trunk/content/guides/development/guide-testing-releases.html ============================================================================== --- websites/staging/maven/trunk/content/guides/development/guide-testing-releases.html (original) +++ websites/staging/maven/trunk/content/guides/development/guide-testing-releases.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Maven Team" /> <meta name="Date-Creation-yyyymmdd" content="20071221" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Guide to Testing Staged Releases</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -19,7 +19,14 @@ <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -30,7 +37,7 @@ <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -58,7 +65,7 @@ - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -439,7 +446,7 @@ <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Guide_to_Testing_Staged_Releases"></a>Guide to Testing Staged Releases</h2> <p>As part of the release process, the artifacts are staged in a temporary repository for testing and evaluation before voting. Such repositories are not available by default, so to use them your project must be configured appropriately.</p> <p>The steps are as follows:</p> Modified: websites/staging/maven/trunk/content/guides/getting-started/index.html ============================================================================== --- websites/staging/maven/trunk/content/guides/getting-started/index.html (original) +++ websites/staging/maven/trunk/content/guides/getting-started/index.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -10,7 +10,7 @@ <meta name="author" content="Jason van Zyl Vincent Siveton" /> <meta name="Date-Creation-yyyymmdd" content="20061101" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Maven Getting Started Guide</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -20,7 +20,14 @@ Vincent Siveton" /> <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -31,7 +38,7 @@ Vincent Siveton" /> <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -59,7 +66,7 @@ Vincent Siveton" /> - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -655,7 +662,7 @@ Results : <p>Now that you can compile your application sources, compile your tests, and execute the tests, you'll want to move on to the next logical step so you'll be asking ...</p></div> <div class="section"> <h3><a name="How_do_I_create_a_JAR_and_install_it_in_my_local_repository">How do I create a JAR and install it in my local repository?</a></h3> -<p>Making a JAR file is straight forward enough and can be accomplished by executing the following command:</p> +<p>Making a JAR file is straight forward enough and can be accomplished by executing the following command:</p><!-- How to skip tests ... jvz --> <div class="source"><pre class="prettyprint linenums">mvn package</pre></div> <p>If you take a look at the POM for your project you will notice the <tt>packaging</tt> element is set to <tt>jar</tt>. This is how Maven knows to produce a JAR file from the above command (we'll talk more about this later). You can now take a look in the <tt>${basedir}/target</tt> directory and you will see the generated JAR file.</p> <p>Now you'll want to install the artifact you've generated (the JAR file) in your local repository (<tt>~/.m2/repository</tt> is the default location). For more information on repositories you can refer to our <a href="../introduction/introduction-to-repositories.html">Introduction to Repositories</a> but let's move on to installing our artifact! To do so execute the following command:</p> @@ -714,7 +721,7 @@ Results : <div class="source"><pre class="prettyprint linenums">mvn idea:idea</pre></div> <p>This can be run over the top of a previous IDEA project - it will update the settings rather than starting fresh.</p> <p>If you are using Eclipse IDE, just call:</p> -<div class="source"><pre class="prettyprint linenums">mvn eclipse:eclipse</pre></div> +<div class="source"><pre class="prettyprint linenums">mvn eclipse:eclipse</pre></div><!-- TODO: need a sidebar notation for notes like this --> <p><b>Note:</b> some familiar goals from Maven 1.0 are still there - such as <tt>jar:jar</tt>, but they might not behave like you'd expect. Presently, <tt>jar:jar</tt> will not recompile sources - it will simply just create a JAR from the <tt>target/classes</tt> directory, under the assumption everything else had already been done.</p></div> <div class="section"> <h3><a name="What_is_a_SNAPSHOT_version">What is a SNAPSHOT version?</a></h3> @@ -986,7 +993,7 @@ command.line.prop=${command.line.prop}</ </dependency> </dependencies> </project></pre></div> -<p>For each external dependency, you'll need to define at least 4 things: groupId, artifactId, version, and scope. The groupId, artifactId, and version are the same as those given in the <tt>pom.xml</tt> for the project that built that dependency. The scope element indicates how your project uses that dependency, and can be values like <tt>compile</tt>, <tt>test</tt>, and <tt>runtime</tt>. For more information on everything you can specify for a dependency, see the <a href="/ref/current/maven-model/maven.html">Project Descriptor Reference</a>.</p> +<p>For each external dependency, you'll need to define at least 4 things: groupId, artifactId, version, and scope. The groupId, artifactId, and version are the same as those given in the <tt>pom.xml</tt> for the project that built that dependency. The scope element indicates how your project uses that dependency, and can be values like <tt>compile</tt>, <tt>test</tt>, and <tt>runtime</tt>. For more information on everything you can specify for a dependency, see the <a href="/ref/current/maven-model/maven.html">Project Descriptor Reference</a>.</p><!-- DJ: Does this link work? I can't find the document. --> <p>For more information about the dependency mechanism as a whole, see <a href="../introduction/introduction-to-dependency-mechanism.html">Introduction to Dependency Mechanism</a>.</p> <p>With this information about a dependency, Maven will be able to reference the dependency when it builds the project. Where does Maven reference the dependency from? Maven looks in your local repository (<tt>~/.m2/repository</tt> is the default location) to find all dependencies. In a <a href="#How_do_I_create_a_JAR_and_install_it_in_my_local_repository">previous section</a>, we installed the artifact from our project (my-app-1.0-SNAPSHOT.jar) into the local repository. Once it's installed there, another project can reference that jar as a dependency simply by adding the dependency information to its pom.xml:</p> <div class="source"><pre class="prettyprint linenums"><project xmlns="http://maven.apache.org/POM/4.0.0" @@ -1057,7 +1064,7 @@ command.line.prop=${command.line.prop}</ </dependency> </dependencies> </project></pre></div> -<p>Now, when we compile the project (<tt>mvn compile</tt>), we'll see Maven download the log4j dependency for us.</p></div> +<p>Now, when we compile the project (<tt>mvn compile</tt>), we'll see Maven download the log4j dependency for us.</p><!-- DJ: Current --></div> <div class="section"> <h3><a name="How_do_I_deploy_my_jar_in_my_remote_repository">How do I deploy my jar in my remote repository?</a></h3> <p>For deploying jars to an external repository, you have to configure the repository url in the pom.xml and the authentication information for connectiong to the repository in the settings.xml.</p> Modified: websites/staging/maven/trunk/content/guides/getting-started/maven-in-five-minutes.html ============================================================================== --- websites/staging/maven/trunk/content/guides/getting-started/maven-in-five-minutes.html (original) +++ websites/staging/maven/trunk/content/guides/getting-started/maven-in-five-minutes.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Eric Redmond" /> <meta name="Date-Creation-yyyymmdd" content="20080101" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Maven in 5 Minutes</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -19,7 +19,14 @@ <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -30,7 +37,7 @@ <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -58,7 +65,7 @@ - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -474,7 +481,7 @@ <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Maven_in_5_Minutes"></a>Maven in 5 Minutes</h2> <div class="section"> <h3><a name="Prerequisites"></a>Prerequisites</h3> Modified: websites/staging/maven/trunk/content/guides/getting-started/windows-prerequisites.html ============================================================================== --- websites/staging/maven/trunk/content/guides/getting-started/windows-prerequisites.html (original) +++ websites/staging/maven/trunk/content/guides/getting-started/windows-prerequisites.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Benson Margulies" /> <meta name="Date-Creation-yyyymmdd" content="20120701" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Maven on Windows</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -19,7 +19,14 @@ <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -30,7 +37,7 @@ <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -58,7 +65,7 @@ - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -439,7 +446,7 @@ <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Maven_on_Windows"></a>Maven on Windows</h2> <p>Maven is a command-line tool for building Java (and other) programs. The Maven project provides a simple ZIP file containing a precompiled version of Maven for your convenience. There is no installer. It's up to you to set up your prerequisites and environment to run Maven on Windows.</p> <div class="section"> Modified: websites/staging/maven/trunk/content/guides/index.html ============================================================================== --- websites/staging/maven/trunk/content/guides/index.html (original) +++ websites/staging/maven/trunk/content/guides/index.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -10,7 +10,7 @@ <meta name="author" content="Jason van Zyl Eric Redmond" /> <meta name="Date-Creation-yyyymmdd" content="20090801" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Maven Documentation</title> <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.min.css" /> @@ -20,7 +20,14 @@ Eric Redmond" /> <script type="text/javascript" src="../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -31,7 +38,7 @@ Eric Redmond" /> <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href=".././" id="bannerRight"> @@ -59,7 +66,7 @@ Eric Redmond" /> - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -438,7 +445,7 @@ Eric Redmond" /> <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Documentation"></a>Documentation</h2> <div class="section"> <h3><a name="Getting_Started_with_Maven"></a>Getting Started with Maven</h3> @@ -483,7 +490,7 @@ Eric Redmond" /> <li><a href="./mini/guide-3rd-party-jars-local.html">Installing 3rd party JARs to Local Repository</a></li> <li><a href="./mini/guide-3rd-party-jars-remote.html">Deploying 3rd party JARs to Remote Repository</a></li> <li><a href="./mini/guide-coping-with-sun-jars.html">Coping with Sun JARs</a></li> -<li><a href="./mini/guide-repository-ssl.html">Remote repository access through authenticated HTTPS</a></li></ul></div></div> +<li><a href="./mini/guide-repository-ssl.html">Remote repository access through authenticated HTTPS</a></li></ul><!-- * {{{./introduction/introduction-to-artifact-resolution.html}Repository Definitions and Artifact Resolution}} --></div></div> <div class="section"> <h3><a name="Guides"></a>Guides</h3> <ul> @@ -508,7 +515,7 @@ Eric Redmond" /> <li><a href="./mini/guide-http-settings.html"> Guide to HTTP Connection Settings</a></li> <li><a href="./mini/guide-wagon-providers.html"> Guide to Selecting Alternative Wagon Providers</a></li> <li><a href="./mini/guide-building-jdk14-on-jdk15.html"> Guide to Building JDK 1.4 Projects Using JDK 1.5</a></li> -<li><a href="./mini/guide-default-execution-ids.html"> Guide to Configuring Default Mojo Executions</a></li></ul> +<li><a href="./mini/guide-default-execution-ids.html"> Guide to Configuring Default Mojo Executions</a></li></ul><!-- ** Testing --><!-- * {{{./mini/guide-attached-tests.html}Reusable Test JARs}} --> <div class="section"> <h4><a name="Maven_Tools_and_IDE_Integration"></a>Maven Tools and IDE Integration</h4> <ul> Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-archetypes.html ============================================================================== --- websites/staging/maven/trunk/content/guides/introduction/introduction-to-archetypes.html (original) +++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-archetypes.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Jason van Zyl" /> <meta name="Date-Creation-yyyymmdd" content="20090826" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Introduction to Archetypes</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -19,7 +19,14 @@ <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -30,7 +37,7 @@ <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -58,7 +65,7 @@ - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -439,7 +446,7 @@ <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Introduction_to_Archetypes"></a>Introduction to Archetypes</h2></div> <div class="section"> <h2><a name="What_is_Archetype"></a>What is Archetype?</h2> Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-dependency-mechanism.html ============================================================================== --- websites/staging/maven/trunk/content/guides/introduction/introduction-to-dependency-mechanism.html (original) +++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-dependency-mechanism.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -10,7 +10,7 @@ <meta name="author" content="Brett Porter Trygve Laugstol" /> <meta name="Date-Creation-yyyymmdd" content="20051012" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Introduction to the Dependency Mechanism</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -20,7 +20,14 @@ Trygve Laugstol" /> <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -31,7 +38,7 @@ Trygve Laugstol" /> <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -59,7 +66,7 @@ Trygve Laugstol" /> - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -440,7 +447,7 @@ Trygve Laugstol" /> <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Introduction_to_the_Dependency_Mechanism"></a>Introduction to the Dependency Mechanism</h2> <p>Dependency management is one of the features of Maven that is best known to users and is one of the areas where Maven excels. There is not much difficulty in managing dependencies for a single a project, but when you start getting into dealing with multi-module projects and applications that consist of tens or hundreds of modules this is where Maven can help you a great deal in maintaining a high degree of control and stability.</p> <p>Learn more about:</p> Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-optional-and-excludes-dependencies.html ============================================================================== --- websites/staging/maven/trunk/content/guides/introduction/introduction-to-optional-and-excludes-dependencies.html (original) +++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-optional-and-excludes-dependencies.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Allan Ramirez" /> <meta name="Date-Creation-yyyymmdd" content="20060123" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Optional Dependencies and Dependency Exclusions</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -19,7 +19,14 @@ <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -30,7 +37,7 @@ <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -58,7 +65,7 @@ - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -439,7 +446,7 @@ <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Introduction"></a>Introduction</h2> <p>This section discusses the functionality of optional dependencies and dependency exclusions. This will help users to understand what are they, how to use them, how they work and when is the best way to use them. It also explains why exclusions are made as per dependency basis not in a POM level.</p> <div class="section"> Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugin-prefix-mapping.html ============================================================================== --- websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugin-prefix-mapping.html (original) +++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugin-prefix-mapping.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="John Casey" /> <meta name="Date-Creation-yyyymmdd" content="20090801" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Introduction to Plugin Prefix Resolution</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -19,7 +19,14 @@ <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -30,7 +37,7 @@ <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -58,7 +65,7 @@ - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -439,7 +446,7 @@ <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Introduction_to_Plugin_Prefix_Resolution"></a>Introduction to Plugin Prefix Resolution</h2> <p>When you execute Maven using a standard lifecycle phase, resolving the plugins that participate in that lifecycle is a relatively simple process. However, when you directly invoke a mojo from the command line, as in the case of <b>clean</b>, Maven must have some way of reliably resolving the <b>clean</b> plugin prefix to the <b>maven-clean-plugin</b>. This provides brevity for command-line invocations, while preserving the descriptiveness of the plugin's real artifactId.</p> <p>To complicate matters even more, not all plugins should be forced to have the same groupId in the repository. Since groupIds are presumed to be controlled by one project, and multiple projects may release plugins for Maven, it follows that plugin-prefix mappings must also accommodate multiple plugin groupIds.</p> Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugins.html ============================================================================== --- websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugins.html (original) +++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugins.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="John Casey" /> <meta name="Date-Creation-yyyymmdd" content="20050624" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Introduction to Maven 2.0 Plugin Development</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -19,7 +19,14 @@ <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -30,7 +37,7 @@ <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -58,7 +65,7 @@ - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -439,7 +446,7 @@ <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Introduction_to_Maven_2.0_Plugin_Development"></a>Introduction to Maven 2.0 Plugin Development</h2> <p>Maven consists of a core engine which provides basic project-processing capabilities and build-process management, and a host of plugins which are used to execute the actual build tasks.</p> <div class="section"> Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-profiles.html ============================================================================== --- websites/staging/maven/trunk/content/guides/introduction/introduction-to-profiles.html (original) +++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-profiles.html Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="John Casey/Allan Ramirez" /> <meta name="Date-Creation-yyyymmdd" content="20080101" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Introduction to build profiles</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -19,7 +19,14 @@ <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -30,7 +37,7 @@ <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -58,7 +65,7 @@ - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -439,7 +446,7 @@ <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Introduction_to_Build_Profiles"></a>Introduction to Build Profiles</h2> <p>Apache Maven 2.0 goes to great lengths to ensure that builds are portable. Among other things, this means allowing build configuration inside the POM, avoiding <b>all</b> filesystem references (in inheritance, dependencies, and other places), and leaning much more heavily on the local repository to store the metadata needed to make this possible.</p> <p>However, sometimes portability is not entirely possible. Under certain conditions, plugins may need to be configured with local filesystem paths. Under other circumstances, a slightly different dependency set will be required, and the project's artifact name may need to be adjusted slightly. And at still other times, you may even need to include a whole plugin in the build lifecycle depending on the detected build environment.</p> 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 Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -10,7 +10,7 @@ <meta name="author" content="Jason van Zyl Brian Fox" /> <meta name="Date-Creation-yyyymmdd" content="20080513" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Introduction to Repositories</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -20,7 +20,14 @@ Brian Fox" /> <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -31,7 +38,7 @@ Brian Fox" /> <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -59,7 +66,7 @@ Brian Fox" /> - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -440,7 +447,7 @@ Brian Fox" /> <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><a name="Introduction_to_Repositories"></a>Introduction to Repositories</h2> <div class="section"> <h3><a name="Artifact_Repositories"></a>Artifact Repositories</h3> @@ -510,7 +517,7 @@ Brian Fox" /> <div class="section"> <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></div></div> +<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> </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 Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Brett Porter" /> <meta name="Date-Creation-yyyymmdd" content="20060616" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Introduction to the Build Lifecycle</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -19,7 +19,14 @@ <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -30,7 +37,7 @@ <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -58,7 +65,7 @@ - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -439,7 +446,7 @@ <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- Copyright 2015 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><a name="Introduction_to_the_Build_Lifecycle"></a>Introduction to the Build Lifecycle</h2> <div class="section"> <h3><a name="Table_Of_Contents"></a>Table Of Contents</h3> @@ -465,23 +472,17 @@ <li><tt>compile</tt> - compile the source code of the project</li> <li><tt>test</tt> - test the compiled source code using a suitable unit testing framework. These tests should not require the code be packaged or deployed</li> <li><tt>package</tt> - take the compiled code and package it in its distributable format, such as a JAR.</li> -<li><tt>integration-test</tt> - process and deploy the package if necessary into an environment where integration tests can be run</li> -<li><tt>verify</tt> - run any checks to verify the package is valid and meets quality criteria</li> +<li><tt>verify</tt> - run any checks on results of integration tests to ensure quality criteria are met</li> <li><tt>install</tt> - install the package into the local repository, for use as a dependency in other projects locally</li> -<li><tt>deploy</tt> - done in an integration or release environment, copies the final package to the remote repository for sharing with other developers and projects.</li></ul> -<p>These lifecycle phases (plus the other lifecycle phases not shown here) are executed sequentially to complete the <tt>default</tt> lifecycle. Given the lifecycle phases above, this means that when the default lifecycle is used, Maven will first validate the project, then will try to compile the sources, run those against the tests, package the binaries (e.g. jar), run integration tests against that package, verify the package, install the verifed package to the local repository, then deploy the installed package in a specified environment.</p> -<p>To do all those, you only need to call the last build phase to be executed, in this case, <tt>deploy</tt>:</p> -<div> -<pre>mvn deploy</pre></div> -<p>That is because if you call a build phase, it will execute not only that build phase, but also every build phase prior to the called build phase. Thus, doing</p> -<div> -<pre>mvn integration-test</pre></div> -<p>will do every life cycle phase before it (<tt>validate</tt>, <tt>compile</tt>, <tt>package</tt>, etc.), before executing <tt>integration-test</tt>.</p> -<p>There are more commands that are part of the lifecycle, which will be discussed in the following sections.</p> -<p>It should also be noted that the same command can be used in a multi-module scenario (i.e. a project with one or more subprojects). For example:</p> -<div> -<pre>mvn clean install</pre></div> -<p>This command will traverse into all of the subprojects and run <tt>clean</tt>, then <tt>install</tt> (including all of the prior steps).</p> +<li><tt>deploy</tt> - done in the build environment, copies the final package to the remote repository for sharing with other developers and projects.</li></ul> +<p>These lifecycle phases (plus the other lifecycle phases not shown here) are executed sequentially to complete the <tt>default</tt> lifecycle. Given the lifecycle phases above, this means that when the default lifecycle is used, Maven will first validate the project, then will try to compile the sources, run those against the tests, package the binaries (e.g. jar), run integration tests against that package, verify the integration tests, install the verified package to the local repository, then deploy the installed package to a remote repository.</p> +<p><i><a href="./introduction-to-the-lifecycle.html">[top]</a>.</i></p></div> +<div class="section"> +<h4><a name="Usual_Command_Line_Calls">Usual Command Line Calls</a></h4> +<p>In a development environment, use the following call to build and install artifacts into the local repository. ------ mvn install ------</p> +<p>This command executes each default life cycle phase in order (<tt>validate</tt>, <tt>compile</tt>, <tt>package</tt>, etc.), before executing <tt>install>>. You only need to call the last build phase to be executed, in this case, <<<install</tt>:</p> +<p>In a build environment, use the following call to cleanly build and deploy artifacts into the shared repository. ------ mvn clean deploy ------</p> +<p>The same command can be used in a multi-module scenario (i.e. a project with one or more subprojects). Maven traverses into every subproject and executes <tt>clean</tt>, then executes <tt>deploy</tt> (including all of the prior build phase steps).</p> <p><i><a href="./introduction-to-the-lifecycle.html">[top]</a>.</i></p></div> <div class="section"> <h4><a name="A_Build_Phase_is_Made_Up_of_Plugin_Goals">A Build Phase is Made Up of Plugin Goals</a></h4> @@ -489,10 +490,16 @@ <p>A plugin goal represents a specific task (finer than a build phase) which contributes to the building and managing of a project. It may be bound to zero or more build phases. A goal not bound to any build phase could be executed outside of the build lifecycle by direct invocation. The order of execution depends on the order in which the goal(s) and the build phase(s) are invoked. For example, consider the command below. The <tt>clean</tt> and <tt>package</tt> arguments are build phases, while the <tt>dependency:copy-dependencies</tt> is a goal (of a plugin).</p> <div> <pre>mvn clean dependency:copy-dependencies package</pre></div> -<p>If this were to be executed, the <tt>clean</tt> phase will be executed first (meaning it will run all preceeding phases of the clean lifecycle, plus the <tt>clean</tt> phase itself), and then the <tt>dependency:copy-dependencies</tt> goal, before finally executing the <tt>package</tt> phase (and all its preceeding build phases of the default lifecycle).</p> +<p>If this were to be executed, the <tt>clean</tt> phase will be executed first (meaning it will run all preceding phases of the clean lifecycle, plus the <tt>clean</tt> phase itself), and then the <tt>dependency:copy-dependencies</tt> goal, before finally executing the <tt>package</tt> phase (and all its preceding build phases of the default lifecycle).</p> <p>Moreover, if a goal is bound to one or more build phases, that goal will be called in all those phases.</p> -<p>Furthermore, a build phase can also have zero or more goals bound to it. If a build phase has no goals bound to it, that build phase will not execute. But if it has one or more goals bound to it, it will execute all those goals</p> -<p>(<i>Note: In Maven 2.0.5 and above, multiple goals bound to a phase are executed in the same order as they are declared in the POM, however multiple instances of the same plugin are not supported. Multiple instances of the same plugin are grouped to execute together and ordered in Maven 2.0.11 and above</i>).</p> +<p>Furthermore, a build phase can also have zero or more goals bound to it. If a build phase has no goals bound to it, that build phase will not execute. But if it has one or more goals bound to it, it will execute all those goals</p><!-- ~ --><!-- ~ Check if the following is true for Maven 3... --> +<p>(<i>Note: In Maven 2.0.5 and above, multiple goals bound to a phase are executed in the same order as they are declared in the POM, however multiple instances of the same plugin are not supported. Multiple instances of the same plugin are grouped to execute together and ordered in Maven 2.0.11 and above</i>).</p><!-- ~ --> +<p><i><a href="./introduction-to-the-lifecycle.html">[top]</a>.</i></p></div> +<div class="section"> +<h4><a name="Some_Phases_Are_Not_Usually_Called_From_the_Command_Line">Some Phases Are Not Usually Called From the Command Line</a></h4> +<p>The phases named with hyphenated-words (<tt>pre-*</tt>, <tt>post-*</tt>, or <tt>process-*</tt>) are not usually directly called from the command line. These phases sequence the build, producing intermediate results that are not useful outside the build. In the case of invoking <tt>integration-test</tt>, the environment may be left in a hanging state.</p> +<p>Code coverage tools such as Jacoco and execution container plugins such as Tomcat, Cargo, and Docker bind goals to the <tt>pre-integration-test</tt> phase to prepare the integration test container environment. These plugins also bind goals to the <tt>post-itegration-test</tt> phase to collect coverage statistics or decommission the integration test container.</p> +<p>Failsafe and code coverage plugins bind goals to <tt>integration-test</tt> and <tt>verify</tt> phases. The net result is test and coverage reports are available after the <tt>verify</tt> phase. If <b>integration-test</b> were to be called from the command line, no reports are generated. Worse is that the integration test container environment is left in a hanging state; the Tomcat webserver or Docker instance is left running, and Maven may not even terminate by itself.</p> <p><i><a href="./introduction-to-the-lifecycle.html">[top]</a>.</i></p></div></div> <div class="section"> <h3><a name="Setting_Up_Your_Project_to_Use_the_Build_Lifecycle">Setting Up Your Project to Use the Build Lifecycle</a></h3> 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 Sun May 1 09:57:41 2016 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2016-04-15 + | Generated by Apache Maven Doxia at 2016-05-01 | Rendered using Apache Maven Fluido Skin 1.4 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -11,7 +11,7 @@ Franz Allan Valencia See Brett Porter" /> <meta name="Date-Creation-yyyymmdd" content="20090204" /> - <meta name="Date-Revision-yyyymmdd" content="20160415" /> + <meta name="Date-Revision-yyyymmdd" content="20160501" /> <meta http-equiv="Content-Language" content="en" /> <title>Maven – Introduction to the POM</title> <link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" /> @@ -21,7 +21,14 @@ Brett Porter" /> <script type="text/javascript" src="../../js/apache-maven-fluido-1.4.min.js"></script> - + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> <body class="topBarDisabled"> @@ -32,7 +39,7 @@ Brett Porter" /> <div id="banner"> <div class="pull-left"> <a href="http://www.apache.org/" id="bannerLeft"> - <img src="../../images/apache-maven-project.png" alt="Apache Maven Site"/> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> </div> <div class="pull-right"> <a href="../.././" id="bannerRight"> @@ -60,7 +67,7 @@ Brett Porter" /> - <li id="publishDate" class="pull-right">Last Published: 2016-04-15</li> + <li id="publishDate" class="pull-right">Last Published: 2016-05-01</li> </ul> </div> @@ -441,7 +448,7 @@ Brett Porter" /> <div id="bodyColumn" class="span10" > - <div class="section"> + <!-- 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><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>