You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2013/01/25 23:52:24 UTC

svn commit: r847993 [2/6] - in /websites/production/maven/ant-tasks: ./ css/ examples/ images/ images/logos/

Added: websites/production/maven/ant-tasks/distribution-management.html
==============================================================================
--- websites/production/maven/ant-tasks/distribution-management.html (added)
+++ websites/production/maven/ant-tasks/distribution-management.html Fri Jan 25 22:52:23 2013
@@ -0,0 +1,260 @@
+<!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 Jan 25, 2013
+ | Rendered using Apache Maven Stylus Skin 1.5
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Maven Ant Tasks - Project Distribution Management</title>
+    <style type="text/css" media="all">
+      @import url("./css/maven-base.css");
+      @import url("./css/maven-theme.css");
+      @import url("./css/site.css");
+    </style>
+    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+        <meta name="Date-Revision-yyyymmdd" content="20130125" />
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+                                                    
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+                                                        
+<script type="text/javascript">_uacct = "UA-140879-1";
+        urchinTracker();</script>
+                              </head>
+  <body class="composite">
+    <div id="banner">
+                                      <a href="../" id="bannerLeft">
+                                                <img src="../images/apache-maven-project-2.png" alt="" />
+                </a>
+                        <span id="bannerRight">
+                                                <img src="../images/maven-logo-2.gif" alt="" />
+                </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+            
+                                   <div class="xleft">
+                          <a href="http://www.apache.org/" class="externalLink">Apache</a>
+        &gt;
+                  <a href="../index.html">Maven</a>
+        &gt;
+                      <a href="./">Maven Ant Tasks</a>
+        &gt;
+        Project Distribution Management
+        </div>
+            <div class="xright">        
+                                    Last Published: 2013-01-25
+              &nbsp;| Version: 2.1.4-SNAPSHOT
+            </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+             
+                                                   <h5>Overview</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="index.html">Introduction</a>
+            </li>
+                  <li class="none">
+                  <a href="download.html">Download</a>
+            </li>
+                  <li class="none">
+                  <a href="installation.html">Installation</a>
+            </li>
+                  <li class="none">
+                  <a href="usage.html">Usage</a>
+            </li>
+                  <li class="none">
+                  <a href="release-notes.html">Release Notes</a>
+            </li>
+                  <li class="none">
+                  <a href="faq.html">FAQ</a>
+            </li>
+          </ul>
+                       <h5>Examples</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="examples/dependencies.html">dependencies</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/install-deploy.html">install, deploy</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/pom.html">pom</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/write-pom.html">writepom</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/mvn.html">mvn</a>
+            </li>
+          </ul>
+                       <h5>Reference</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="reference.html#dependencies">dependencies</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#install">install, deploy</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#install-provider">install-provider</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#localRepository">localRepository</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#remoteRepository">remoteRepository</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#pom">pom</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#writepom">writepom</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#versionMapper">versionMapper</a>
+            </li>
+          </ul>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                                                                                                                                                                                                                        <li class="expanded">
+                  <a href="project-info.html">Project Information</a>
+                    <ul>
+                      <li class="none">
+                  <a href="index.html">About</a>
+            </li>
+                      <li class="none">
+                  <a href="team-list.html">Project Team</a>
+            </li>
+                      <li class="none">
+                  <a href="dependency-info.html">Dependency Information</a>
+            </li>
+                      <li class="none">
+                  <a href="dependency-management.html">Dependency Management</a>
+            </li>
+                      <li class="none">
+                  <a href="plugins.html">Project Plugins</a>
+            </li>
+                      <li class="none">
+                  <a href="integration.html">Continuous Integration</a>
+            </li>
+                      <li class="none">
+                  <a href="issue-tracking.html">Issue Tracking</a>
+            </li>
+                      <li class="none">
+                  <a href="source-repository.html">Source Repository</a>
+            </li>
+                      <li class="none">
+                  <a href="license.html">Project License</a>
+            </li>
+                      <li class="none">
+                  <a href="plugin-management.html">Plugin Management</a>
+            </li>
+                      <li class="none">
+            <strong>Distribution Management</strong>
+          </li>
+                      <li class="none">
+                  <a href="project-summary.html">Project Summary</a>
+            </li>
+                      <li class="none">
+                  <a href="mail-lists.html">Mailing Lists</a>
+            </li>
+                      <li class="none">
+                  <a href="dependencies.html">Dependencies</a>
+            </li>
+              </ul>
+        </li>
+          </ul>
+                       <h5>Maven Projects</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="index.html">Ant Tasks</a>
+            </li>
+                  <li class="none">
+                  <a href="../archetype/index.html">Archetype</a>
+            </li>
+                  <li class="none">
+                  <a href="../doxia/index.html">Doxia</a>
+            </li>
+                  <li class="none">
+                  <a href="../jxr/index.html">JXR</a>
+            </li>
+                  <li class="none">
+                  <a href="../maven-1.x/index.html">Maven 1.x</a>
+            </li>
+                  <li class="none">
+                  <a href="../index.html">Maven 2 & 3</a>
+            </li>
+                  <li class="none">
+                  <a href="../pom/index.html">Parent POMs</a>
+            </li>
+                  <li class="none">
+                  <a href="../plugins/index.html">Plugins</a>
+            </li>
+                  <li class="none">
+                  <a href="../plugin-tools/index.html">Plugin Tools</a>
+            </li>
+                  <li class="none">
+                  <a href="../scm/index.html">SCM</a>
+            </li>
+                  <li class="none">
+                  <a href="../shared/index.html">Shared Components</a>
+            </li>
+                  <li class="none">
+                  <a href="../skins/index.html">Skins</a>
+            </li>
+                  <li class="none">
+                  <a href="../surefire/index.html">Surefire</a>
+            </li>
+                  <li class="none">
+                  <a href="../wagon/index.html">Wagon</a>
+            </li>
+          </ul>
+                       <h5>ASF</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a>
+            </li>
+          </ul>
+                                 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+          <img alt="Built by Maven" src="./images/logos/maven-feather.png"/>
+        </a>
+                       
+                               </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        <div class="section"><h2>Overview<a name="Overview"></a></h2><a name="Overview"></a><p>The following is the distribution management information used by this project.</p><div class="section"><h3>Repository - apache.releases.https<a name="Repository_-_apache.releases.https"></a></h3><a name="Repository_-_apache.releases.https"></a><a class="externalLink" href="https://repository.apache.org/service/local/staging/deploy/maven2">https://repository.apache.org/service/local/staging/deploy/maven2</a></div><div class="section"><h3>Snapshot Repository - apache.snapshots.https<a name="Snapshot_Repository_-_apache.snapshots.https"></a></h3><a name="Snapshot_Repository_-_apache.snapshots.https"></a><a class="externalLink" href="https://repository.apache.org/content/repositories/snapshots">https://repository.apache.org/content/repositories/snapshots</a></div><div class="section"><h3>Site - apache.website<a name="Site_-_apache.website"></a></h3><a name="Site_-_apache.website"></a><
 p>scp://people.apache.org/www/maven.apache.org/ant-tasks/</p></div></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">
+        &#169;            2002-2013
+              The Apache Software Foundation
+            
+                          - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
+        Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
+      </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/ant-tasks/distribution-management.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/ant-tasks/distribution-management.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/ant-tasks/download.html
==============================================================================
--- websites/production/maven/ant-tasks/download.html (added)
+++ websites/production/maven/ant-tasks/download.html Fri Jan 25 22:52:23 2013
@@ -0,0 +1,218 @@
+<!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 Jan 25, 2013
+ | Rendered using Apache Maven Stylus Skin 1.5
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Maven Ant Tasks - Download Maven Ant Tasks</title>
+    <style type="text/css" media="all">
+      @import url("./css/maven-base.css");
+      @import url("./css/maven-theme.css");
+      @import url("./css/site.css");
+    </style>
+    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+        <meta name="author" content="Paul Gier" />
+        <meta name="Date-Creation-yyyymmdd" content="20121117" />
+    <meta name="Date-Revision-yyyymmdd" content="20130125" />
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+                                                    
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+                                                        
+<script type="text/javascript">_uacct = "UA-140879-1";
+        urchinTracker();</script>
+                              </head>
+  <body class="composite">
+    <div id="banner">
+                                      <a href="../" id="bannerLeft">
+                                                <img src="../images/apache-maven-project-2.png" alt="" />
+                </a>
+                        <span id="bannerRight">
+                                                <img src="../images/maven-logo-2.gif" alt="" />
+                </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+            
+                                   <div class="xleft">
+                          <a href="http://www.apache.org/" class="externalLink">Apache</a>
+        &gt;
+                  <a href="../index.html">Maven</a>
+        &gt;
+                      <a href="./">Maven Ant Tasks</a>
+        &gt;
+        Download Maven Ant Tasks
+        </div>
+            <div class="xright">        
+                                    Last Published: 2013-01-25
+              &nbsp;| Version: 2.1.4-SNAPSHOT
+            </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+             
+                                                   <h5>Overview</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="index.html">Introduction</a>
+            </li>
+                  <li class="none">
+            <strong>Download</strong>
+          </li>
+                  <li class="none">
+                  <a href="installation.html">Installation</a>
+            </li>
+                  <li class="none">
+                  <a href="usage.html">Usage</a>
+            </li>
+                  <li class="none">
+                  <a href="release-notes.html">Release Notes</a>
+            </li>
+                  <li class="none">
+                  <a href="faq.html">FAQ</a>
+            </li>
+          </ul>
+                       <h5>Examples</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="examples/dependencies.html">dependencies</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/install-deploy.html">install, deploy</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/pom.html">pom</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/write-pom.html">writepom</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/mvn.html">mvn</a>
+            </li>
+          </ul>
+                       <h5>Reference</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="reference.html#dependencies">dependencies</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#install">install, deploy</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#install-provider">install-provider</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#localRepository">localRepository</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#remoteRepository">remoteRepository</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#pom">pom</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#writepom">writepom</a>
+            </li>
+                  <li class="none">
+                  <a href="reference.html#versionMapper">versionMapper</a>
+            </li>
+          </ul>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                                                                                                                                                                                                              <li class="collapsed">
+                  <a href="project-info.html">Project Information</a>
+                  </li>
+          </ul>
+                       <h5>Maven Projects</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="index.html">Ant Tasks</a>
+            </li>
+                  <li class="none">
+                  <a href="../archetype/index.html">Archetype</a>
+            </li>
+                  <li class="none">
+                  <a href="../doxia/index.html">Doxia</a>
+            </li>
+                  <li class="none">
+                  <a href="../jxr/index.html">JXR</a>
+            </li>
+                  <li class="none">
+                  <a href="../maven-1.x/index.html">Maven 1.x</a>
+            </li>
+                  <li class="none">
+                  <a href="../index.html">Maven 2 & 3</a>
+            </li>
+                  <li class="none">
+                  <a href="../pom/index.html">Parent POMs</a>
+            </li>
+                  <li class="none">
+                  <a href="../plugins/index.html">Plugins</a>
+            </li>
+                  <li class="none">
+                  <a href="../plugin-tools/index.html">Plugin Tools</a>
+            </li>
+                  <li class="none">
+                  <a href="../scm/index.html">SCM</a>
+            </li>
+                  <li class="none">
+                  <a href="../shared/index.html">Shared Components</a>
+            </li>
+                  <li class="none">
+                  <a href="../skins/index.html">Skins</a>
+            </li>
+                  <li class="none">
+                  <a href="../surefire/index.html">Surefire</a>
+            </li>
+                  <li class="none">
+                  <a href="../wagon/index.html">Wagon</a>
+            </li>
+          </ul>
+                       <h5>ASF</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a>
+            </li>
+          </ul>
+                                 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+          <img alt="Built by Maven" src="./images/logos/maven-feather.png"/>
+        </a>
+                       
+                               </div>
+    </div>
+    <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/referen
 ces/apt-format.html --><div class="section"><h2>Download the Maven Ant Tasks<a name="Download_the_Maven_Ant_Tasks"></a></h2><p>The Maven Ant Tasks are distributed as a jar file to be included in the Ant classpath. The complete sources can be downloaded as a zip file.</p><p>After selecting the file to download, you will be prompted for a mirror. If the file is not found on your selected mirror, please be patient, as it may take 24 hours to reach all mirrors.</p><p>The Maven Ant Tasks are distributed under the <a class="externalLink" href="http://maven.apache.org/license.html"> Apache License, version 2.0</a>.</p><table border="1" class="bodyTable"><tr class="a"><td align="left"></td><td align="left">Mirrors</td><td align="left">Checksum</td><td align="left">Signature</td></tr><tr class="b"><td align="left">Binaries (jar)</td><td align="left"><a class="externalLink" href="http://www.apache.org/dyn/closer.cgi/maven/ant-tasks/2.1.4-SNAPSHOT/binaries/maven-ant-tasks-2.1.4-SNAPSHO
 T.jar"> maven-ant-tasks-2.1.4-SNAPSHOT.jar</a></td><td align="left"><a class="externalLink" href="http://www.apache.org/dist/maven/ant-tasks/2.1.4-SNAPSHOT/binaries/maven-ant-tasks-2.1.4-SNAPSHOT.jar.md5"> maven-ant-tasks-2.1.4-SNAPSHOT.jar.md5</a></td><td align="left"><a class="externalLink" href="http://www.apache.org/dist/maven/ant-tasks/2.1.4-SNAPSHOT/binaries/maven-ant-tasks-2.1.4-SNAPSHOT.jar.asc"> maven-ant-tasks-2.1.4-SNAPSHOT.jar.asc</a></td></tr><tr class="a"><td align="left">Sources (zip)</td><td align="left"><a class="externalLink" href="http://www.apache.org/dyn/closer.cgi/maven/ant-tasks/2.1.4-SNAPSHOT/source/maven-ant-tasks-2.1.4-SNAPSHOT-src.zip"> maven-ant-tasks-2.1.4-SNAPSHOT-src.zip</a></td><td align="left"><a class="externalLink" href="http://www.apache.org/dist/maven/ant-tasks/2.1.4-SNAPSHOT/source/maven-ant-tasks-2.1.4-SNAPSHOT-src.zip.md5"> maven-ant-tasks-2.1.4-SNAPSHOT-src.zip.md5</a></td><td align="left"><a class="externalLink" href="http://www.apac
 he.org/dist/maven/ant-tasks/2.1.4-SNAPSHOT/source/maven-ant-tasks-2.1.4-SNAPSHOT-src.zip.asc"> maven-ant-tasks-2.1.4-SNAPSHOT-src.zip.asc</a></td></tr></table><div class="section"><h3>System <a name="Requirements">Requirements</a><a name="System_Requirements"></a></h3><table border="1" class="bodyTable"><tr class="a"><td align="left"><b>JDK</b></td><td align="left">JDK version 1.5 or above is required (This is due to dependencies on internal Maven libraries.)</td></tr><tr class="b"><td align="left"><b>Ant</b></td><td align="left">Ant version 1.6.x, 1.7.x or 1.8.x is required</td></tr></table></div></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">
+        &#169;            2002-2013
+              The Apache Software Foundation
+            
+                          - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
+        Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
+      </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/ant-tasks/download.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/ant-tasks/download.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/ant-tasks/examples/dependencies.html
==============================================================================
--- websites/production/maven/ant-tasks/examples/dependencies.html (added)
+++ websites/production/maven/ant-tasks/examples/dependencies.html Fri Jan 25 22:52:23 2013
@@ -0,0 +1,267 @@
+<!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 Jan 25, 2013
+ | Rendered using Apache Maven Stylus Skin 1.5
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Maven Ant Tasks - Dependencies</title>
+    <style type="text/css" media="all">
+      @import url("../css/maven-base.css");
+      @import url("../css/maven-theme.css");
+      @import url("../css/site.css");
+    </style>
+    <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
+        <meta name="author" content="Brett Porter
+Hervé Boutemy
+Paul Gier" />
+        <meta name="Date-Creation-yyyymmdd" content="20090507" />
+    <meta name="Date-Revision-yyyymmdd" content="20130125" />
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+                                                    
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+                                                        
+<script type="text/javascript">_uacct = "UA-140879-1";
+        urchinTracker();</script>
+                              </head>
+  <body class="composite">
+    <div id="banner">
+                                      <a href="../../" id="bannerLeft">
+                                                <img src="../../images/apache-maven-project-2.png" alt="" />
+                </a>
+                        <span id="bannerRight">
+                                                <img src="../../images/maven-logo-2.gif" alt="" />
+                </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+            
+                                   <div class="xleft">
+                          <a href="http://www.apache.org/" class="externalLink">Apache</a>
+        &gt;
+                  <a href="../../index.html">Maven</a>
+        &gt;
+                  <a href="../">Maven Ant Tasks</a>
+        &gt;
+        Dependencies
+        </div>
+            <div class="xright">        
+                                    Last Published: 2013-01-25
+              &nbsp;| Version: 2.1.4-SNAPSHOT
+            </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+             
+                                                   <h5>Overview</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../index.html">Introduction</a>
+            </li>
+                  <li class="none">
+                  <a href="../download.html">Download</a>
+            </li>
+                  <li class="none">
+                  <a href="../installation.html">Installation</a>
+            </li>
+                  <li class="none">
+                  <a href="../usage.html">Usage</a>
+            </li>
+                  <li class="none">
+                  <a href="../release-notes.html">Release Notes</a>
+            </li>
+                  <li class="none">
+                  <a href="../faq.html">FAQ</a>
+            </li>
+          </ul>
+                       <h5>Examples</h5>
+                  <ul>
+                  <li class="none">
+            <strong>dependencies</strong>
+          </li>
+                  <li class="none">
+                  <a href="../examples/install-deploy.html">install, deploy</a>
+            </li>
+                  <li class="none">
+                  <a href="../examples/pom.html">pom</a>
+            </li>
+                  <li class="none">
+                  <a href="../examples/write-pom.html">writepom</a>
+            </li>
+                  <li class="none">
+                  <a href="../examples/mvn.html">mvn</a>
+            </li>
+          </ul>
+                       <h5>Reference</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../reference.html#dependencies">dependencies</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#install">install, deploy</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#install-provider">install-provider</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#localRepository">localRepository</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#remoteRepository">remoteRepository</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#pom">pom</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#writepom">writepom</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#versionMapper">versionMapper</a>
+            </li>
+          </ul>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                                                                                                                                                                                                              <li class="collapsed">
+                  <a href="../project-info.html">Project Information</a>
+                  </li>
+          </ul>
+                       <h5>Maven Projects</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../index.html">Ant Tasks</a>
+            </li>
+                  <li class="none">
+                  <a href="../../archetype/index.html">Archetype</a>
+            </li>
+                  <li class="none">
+                  <a href="../../doxia/index.html">Doxia</a>
+            </li>
+                  <li class="none">
+                  <a href="../../jxr/index.html">JXR</a>
+            </li>
+                  <li class="none">
+                  <a href="../../maven-1.x/index.html">Maven 1.x</a>
+            </li>
+                  <li class="none">
+                  <a href="../../index.html">Maven 2 & 3</a>
+            </li>
+                  <li class="none">
+                  <a href="../../pom/index.html">Parent POMs</a>
+            </li>
+                  <li class="none">
+                  <a href="../../plugins/index.html">Plugins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../plugin-tools/index.html">Plugin Tools</a>
+            </li>
+                  <li class="none">
+                  <a href="../../scm/index.html">SCM</a>
+            </li>
+                  <li class="none">
+                  <a href="../../shared/index.html">Shared Components</a>
+            </li>
+                  <li class="none">
+                  <a href="../../skins/index.html">Skins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../surefire/index.html">Surefire</a>
+            </li>
+                  <li class="none">
+                  <a href="../../wagon/index.html">Wagon</a>
+            </li>
+          </ul>
+                       <h5>ASF</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a>
+            </li>
+          </ul>
+                                 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+          <img alt="Built by Maven" src="../images/logos/maven-feather.png"/>
+        </a>
+                       
+                               </div>
+    </div>
+    <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/referen
 ces/apt-format.html --><div class="section"><h2>Basic Example<a name="Basic_Example"></a></h2><p>The following example declares three dependencies and adds them to the <tt>dependency.classpath</tt> pathId.</p><div><pre>&lt;artifact:dependencies pathId=&quot;dependency.classpath&quot;&gt;
+  &lt;dependency groupId=&quot;junit&quot; artifactId=&quot;junit&quot; version=&quot;3.8.2&quot; scope=&quot;test&quot;/&gt;
+  &lt;dependency groupId=&quot;org.codehaus.modello&quot; artifactId=&quot;modello-core&quot; version=&quot;1.0-alpha-2-SNAPSHOT&quot;/&gt;
+  &lt;dependency groupId=&quot;javax.servlet&quot; artifactId=&quot;servlet-api&quot; version=&quot;2.4&quot; scope=&quot;provided&quot;/&gt;
+&lt;/artifact:dependencies&gt;</pre></div><p>The pathId can be used in the Ant build file for example in the <tt>javac</tt> task.</p><div><pre>&lt;javac ...&gt;
+  &lt;classpath refid=&quot;dependency.classpath&quot; /&gt;
+  ...
+&lt;/javac&gt;</pre></div></div><div class="section"><h2>Using FileSets and the Version Mapper<a name="Using_FileSets_and_the_Version_Mapper"></a></h2><p>Another option you can use is <tt>filesetId</tt>, which will give you a fileset reference that can be used to copy files into a particular location. For example, to populate <tt>WEB-INF/lib</tt> with your dependencies you could use the following:</p><div><pre>&lt;artifact:dependencies filesetId=&quot;dependency.fileset&quot; useScope=&quot;runtime&quot;&gt;
+  &lt;!-- Your dependency definitions go here --&gt;
+  ...
+&lt;/artifact:dependencies&gt;
+&lt;copy todir=&quot;${webapp.output}/WEB-INF/lib&quot;&gt;
+  &lt;fileset refid=&quot;dependency.fileset&quot; /&gt;
+  &lt;!-- This mapper strips off all leading directory information --&gt;
+  &lt;mapper type=&quot;flatten&quot; /&gt;
+&lt;/copy&gt;</pre></div><p>Note the <tt>useScope</tt> attribute in this call. This ensures that your web application only includes your compile and runtime dependencies, excluding those that are only for testing or are expected to already be provided by the servlet container.</p><p>You can also specify a <tt>scope</tt> parameter on each dependency. This changes the behavior of transitive dependencies and is useful for building different types of classpaths. To see how it affects the behaviour of the dependencies, see the <a class="externalLink" href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html"> Dependency Mechanism</a> documentation on the Maven 2.0 site.</p><p>Other options are:</p><ul><li><tt>sourcesFilesetId</tt>, which will give you a fileset reference containing sources artifacts, <i>(since 2.0.6)</i></li><li><tt>javadocFilesetId</tt>, which will give you a fileset reference containing javadoc artifacts, <i>(since 2.0.9)</i></
 li><li><a name="versionsId"><tt>versionsId</tt></a>, which can be used to drop version numbers in filenames <i>(since 2.0.7)</i></li></ul><p>For example, to populate <tt>lib</tt> with your dependencies without the version in the filenames, <tt>lib/src</tt> with the corresponding sources and <tt>lib/javadoc</tt> with the corresponding javadocs:</p><div><pre>&lt;artifact:dependencies filesetId=&quot;dependency.fileset&quot;
+        sourcesFilesetId=&quot;sources.dependency.fileset&quot;
+        javadocFilesetId=&quot;javadoc.dependency.fileset&quot;
+        versionsId=&quot;dependency.versions&quot;&gt;
+  &lt;!-- Your dependency definitions go here --&gt;
+  ...
+&lt;/artifact:dependencies&gt;
+&lt;copy todir=&quot;lib&quot;&gt;
+  &lt;fileset refid=&quot;dependency.fileset&quot; /&gt;
+  &lt;mapper classpathref=&quot;maven-ant-tasks.classpath&quot;
+          classname=&quot;org.apache.maven.artifact.ant.VersionMapper&quot;
+          from=&quot;${dependency.versions}&quot; to=&quot;flatten&quot; /&gt;
+&lt;/copy&gt;
+&lt;copy todir=&quot;lib/src&quot;&gt;
+  &lt;fileset refid=&quot;sources.dependency.fileset&quot; /&gt;
+  &lt;mapper classpathref=&quot;maven-ant-tasks.classpath&quot;
+          classname=&quot;org.apache.maven.artifact.ant.VersionMapper&quot;
+          from=&quot;${dependency.versions}&quot; to=&quot;flatten&quot; /&gt;
+&lt;/copy&gt;
+&lt;copy todir=&quot;lib/javadoc&quot;&gt;
+  &lt;fileset refid=&quot;javadoc.dependency.fileset&quot; /&gt;
+  &lt;mapper classpathref=&quot;maven-ant-tasks.classpath&quot;
+          classname=&quot;org.apache.maven.artifact.ant.VersionMapper&quot;
+          from=&quot;${dependency.versions}&quot; to=&quot;flatten&quot; /&gt;
+&lt;/copy&gt;</pre></div><p><b>Note:</b> In the above example you only need to specify <tt>classpathref=&quot;maven-ant-tasks.classpath&quot;</tt> if are using Maven Ant Tasks by <a href="../installation.html#typedef"> declaring a <tt>typedef</tt></a>. It can be omitted if Maven Ant Tasks was <a href="../installation.html#lib"> installed in Ant's <tt>lib</tt> directory</a>.</p></div><div class="section"><h2>Using Properties to Access Dependencies<a name="Using_Properties_to_Access_Dependencies"></a></h2><p><i>(since 2.0.8)</i> For each dependency resolved using either inline declaration or a pom reference, the property <tt>groupId:artifactId:type[:classifier]</tt> is defined pointing to the corresponding file. For example, a resolved dependency on junit can be accessed in the following way:</p><div><pre>&lt;echo message=&quot;JUnit jar file downloaded to ${junit:junit:jar}&quot;/&gt;</pre></div></div><div class="section"><h2>Note about system scope<a name="Note_about_system_
 scope"></a></h2><p>Dependencies that use the <tt>system</tt> scope specify a path on the local system that may be outside of the local maven repository. An Ant fileset only allows a single base directory, so these dependencies will not be included in the generated fileset for resolved dependencies. They will, however, be included in the path object.</p></div><div class="section"><h2>Filtering Dependencies by Scope<a name="Filtering_Dependencies_by_Scope"></a></h2><p>There are two options available for filtering POM dependencies by scope: the <tt>useScope</tt> attribute, and the <tt>scopes</tt> attribute. One or the other of these attributes should be used but not both.</p><p>The <tt>useScope</tt> attribute follows the Maven conventions for scoping behaviour. This means the attribute can be set to one of three possible scopes: compile, runtime, or test. These scopes will behave as follows.</p><ul><li><tt>compile</tt> - Includes scopes <tt>compile</tt>, <tt>system</tt> and <tt
 >provided</tt></li><li><tt>runtime</tt> - Includes scopes <tt>compile</tt> and <tt>runtime</tt></li><li><tt>test</tt> - Includes scopes <tt>system</tt>, <tt>provided</tt>, <tt>compile</tt>, <tt>runtime</tt> and <tt>test</tt></li></ul><p>For example, using the scope <tt>runtime</tt>, any dependencies defined with <tt>compile</tt>, <tt>runtime</tt>, or nothing (defaults to <tt>compile</tt>) in the <tt>scope</tt> field will be included in the resulting fileset.</p><div><pre>    &lt;artifact:dependencies filesetId=&quot;deps.fileset&quot; useScope=&quot;runtime&quot;&gt;
+      &lt;pom file=&quot;mypom.xml&quot;/&gt;
+    &lt;/artifact:dependencies&gt;</pre></div><p><i>(Since 2.0.10)</i> The <tt>scopes</tt> attribute accepts a comma separated list of scopes to include in the filtering. Only dependencies with these specific scopes will be included in the resulting fileset. If no value is specified, all scopes are included. The following example includes only dependencies with a scope of either <tt>provided</tt> or <tt>test</tt>.</p><div><pre>    &lt;artifact:dependencies filesetId=&quot;deps.fileset&quot; scopes=&quot;provided, test&quot;&gt;
+      &lt;pom file=&quot;mypom.xml&quot;/&gt;
+    &lt;/artifact:dependencies&gt;</pre></div></div><div class="section"><h2>Filtering Dependencies by Type<a name="Filtering_Dependencies_by_Type"></a></h2><p>Dependencies can be filtered by type by using the <tt>type</tt> attribute. This can be set to a comma separated list of the types to select. The following example will only include artifacts of the <tt>jar</tt> type.</p><div><pre>    &lt;artifact:dependencies filesetId=&quot;deps.fileset&quot; type=&quot;jar&quot;&gt;
+      &lt;pom file=&quot;mypom.xml&quot;/&gt;
+    &lt;/artifact:dependencies&gt;</pre></div><p>By default, all artifact types will be included when building the list of dependencies.</p></div><div class="section"><h2>Generating an Ant build with the dependency properties and references<a name="Generating_an_Ant_build_with_the_dependency_properties_and_references"></a></h2><p><i>(Since 2.1.0)</i> For a project with a large dependency tree, the resolution process can take some time. In these cases, the dependencies task provides an option to generate an Ant build file (called build-dependencies.xml by default) that contains properties and references generated by the dependency resolution. This file can be used as a cache to quickly load the paths to the dependency artifacts. Or it can be used directly in other ant build files via the <b>import</b> task.</p><p>There are two parameters to the dependencies task related to this feature <b>cacheDependencyRefs</b> and <b>dependencyRefsBuildFile</b>. The first is a boolean param
 eter to say whether the build file should be generated. By default the file will be created as &quot;./target/build-dependencies.xml&quot;. The second parameter allows the default file name to be changed.</p><p>For example, to turn on the dependency cache, the following configuration could be used.</p><div><pre>    &lt;artifact:dependencies cacheDependencyRefs=&quot;true&quot;&gt;
+      &lt;pom file=&quot;mypom.xml&quot;/&gt;
+    &lt;/artifact:dependencies&gt;</pre></div><p>The first time the build is run, the dependencies will be resolved from the repository, and the task will generate a file called &quot;build-dependencies.xml&quot;. This file contains a list of the properties and fileset references generated during the build. The next time the build is run, the dependency references will simply be loaded from the generate file.</p></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">
+        &#169;            2002-2013
+              The Apache Software Foundation
+            
+                          - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
+        Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
+      </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/ant-tasks/examples/dependencies.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/ant-tasks/examples/dependencies.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/ant-tasks/examples/install-deploy.html
==============================================================================
--- websites/production/maven/ant-tasks/examples/install-deploy.html (added)
+++ websites/production/maven/ant-tasks/examples/install-deploy.html Fri Jan 25 22:52:23 2013
@@ -0,0 +1,246 @@
+<!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 Jan 25, 2013
+ | Rendered using Apache Maven Stylus Skin 1.5
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Maven Ant Tasks - Install and Deploy</title>
+    <style type="text/css" media="all">
+      @import url("../css/maven-base.css");
+      @import url("../css/maven-theme.css");
+      @import url("../css/site.css");
+    </style>
+    <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
+        <meta name="author" content="Brett Porter
+Hervé Boutemy
+Paul Gier" />
+        <meta name="Date-Creation-yyyymmdd" content="20090506" />
+    <meta name="Date-Revision-yyyymmdd" content="20130125" />
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+                                                    
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+                                                        
+<script type="text/javascript">_uacct = "UA-140879-1";
+        urchinTracker();</script>
+                              </head>
+  <body class="composite">
+    <div id="banner">
+                                      <a href="../../" id="bannerLeft">
+                                                <img src="../../images/apache-maven-project-2.png" alt="" />
+                </a>
+                        <span id="bannerRight">
+                                                <img src="../../images/maven-logo-2.gif" alt="" />
+                </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+            
+                                   <div class="xleft">
+                          <a href="http://www.apache.org/" class="externalLink">Apache</a>
+        &gt;
+                  <a href="../../index.html">Maven</a>
+        &gt;
+                  <a href="../">Maven Ant Tasks</a>
+        &gt;
+        Install and Deploy
+        </div>
+            <div class="xright">        
+                                    Last Published: 2013-01-25
+              &nbsp;| Version: 2.1.4-SNAPSHOT
+            </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+             
+                                                   <h5>Overview</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../index.html">Introduction</a>
+            </li>
+                  <li class="none">
+                  <a href="../download.html">Download</a>
+            </li>
+                  <li class="none">
+                  <a href="../installation.html">Installation</a>
+            </li>
+                  <li class="none">
+                  <a href="../usage.html">Usage</a>
+            </li>
+                  <li class="none">
+                  <a href="../release-notes.html">Release Notes</a>
+            </li>
+                  <li class="none">
+                  <a href="../faq.html">FAQ</a>
+            </li>
+          </ul>
+                       <h5>Examples</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../examples/dependencies.html">dependencies</a>
+            </li>
+                  <li class="none">
+            <strong>install, deploy</strong>
+          </li>
+                  <li class="none">
+                  <a href="../examples/pom.html">pom</a>
+            </li>
+                  <li class="none">
+                  <a href="../examples/write-pom.html">writepom</a>
+            </li>
+                  <li class="none">
+                  <a href="../examples/mvn.html">mvn</a>
+            </li>
+          </ul>
+                       <h5>Reference</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../reference.html#dependencies">dependencies</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#install">install, deploy</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#install-provider">install-provider</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#localRepository">localRepository</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#remoteRepository">remoteRepository</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#pom">pom</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#writepom">writepom</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#versionMapper">versionMapper</a>
+            </li>
+          </ul>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                                                                                                                                                                                                              <li class="collapsed">
+                  <a href="../project-info.html">Project Information</a>
+                  </li>
+          </ul>
+                       <h5>Maven Projects</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../index.html">Ant Tasks</a>
+            </li>
+                  <li class="none">
+                  <a href="../../archetype/index.html">Archetype</a>
+            </li>
+                  <li class="none">
+                  <a href="../../doxia/index.html">Doxia</a>
+            </li>
+                  <li class="none">
+                  <a href="../../jxr/index.html">JXR</a>
+            </li>
+                  <li class="none">
+                  <a href="../../maven-1.x/index.html">Maven 1.x</a>
+            </li>
+                  <li class="none">
+                  <a href="../../index.html">Maven 2 & 3</a>
+            </li>
+                  <li class="none">
+                  <a href="../../pom/index.html">Parent POMs</a>
+            </li>
+                  <li class="none">
+                  <a href="../../plugins/index.html">Plugins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../plugin-tools/index.html">Plugin Tools</a>
+            </li>
+                  <li class="none">
+                  <a href="../../scm/index.html">SCM</a>
+            </li>
+                  <li class="none">
+                  <a href="../../shared/index.html">Shared Components</a>
+            </li>
+                  <li class="none">
+                  <a href="../../skins/index.html">Skins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../surefire/index.html">Surefire</a>
+            </li>
+                  <li class="none">
+                  <a href="../../wagon/index.html">Wagon</a>
+            </li>
+          </ul>
+                       <h5>ASF</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a>
+            </li>
+          </ul>
+                                 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+          <img alt="Built by Maven" src="../images/logos/maven-feather.png"/>
+        </a>
+                       
+                               </div>
+    </div>
+    <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/referen
 ces/apt-format.html --><div class="section"><h2>Install and Deploy<a name="Install_and_Deploy"></a></h2><p>If you want to share your built artifacts between projects, you can use two other tasks: <tt>install</tt> for installing them in your local repository for access as dependencies in other scripts, and <tt>deploy</tt> for deploying them to a remote location you have set up to serve as a repository in your organisation.</p><p><b>Note:</b> that the installation and deployment require that you have a Maven 2.0 POM file to deploy along with it. These are required for the transitive dependency mechanism to work effectively, and can be quite simple to create.</p><p>The following example shows basic use of the <tt>install</tt> and <tt>deploy</tt> tasks.</p><div><pre>...
+  &lt;artifact:pom id=&quot;mypom&quot; file=&quot;pom.xml&quot; /&gt;
+
+  &lt;artifact:install file=&quot;target/my-project-1.0.jar&quot;&gt;
+    &lt;pom refid=&quot;mypom&quot;/&gt;
+  &lt;/artifact:install&gt;
+
+  &lt;artifact:deploy file=&quot;target/my-project-1.0.jar&quot;&gt;
+    &lt;remoteRepository url=&quot;file:///www/repository&quot;/&gt;
+    &lt;pom refid=&quot;mypom&quot;/&gt;
+  &lt;/artifact:deploy&gt;
+...</pre></div></div><div class="section"><h2>Attaching Multiple Artifacts<a name="Attaching_Multiple_Artifacts"></a></h2><p>The install and deploy tasks allow you to attach multiple artifact to a single deployment. For example, the sources and javadoc jars can be attached using the nested <b>attach</b> element.</p><div><pre>  &lt;artifact:deploy file=&quot;target/my-project-1.0.jar&quot;&gt;
+    &lt;remoteRepository url=&quot;http://localhost/www/repository&quot;/&gt;
+    &lt;pom refid=&quot;mypom&quot;/&gt;
+    &lt;attach file=&quot;${basedir}/target/my-project-1.0-sources.jar&quot; type=&quot;jar&quot; classifier=&quot;sources&quot;/&gt;
+    &lt;attach file=&quot;${basedir}/target/my-project-1.0-javadoc.jar&quot; type=&quot;jar&quot; classifier=&quot;javadoc&quot;/&gt;
+    &lt;attach file=&quot;${basedir}/target/my-project-1.0-junk.zip&quot; type=&quot;zip&quot; classifier=&quot;junk&quot;/&gt;
+  &lt;/artifact:deploy&gt;</pre></div></div><div class="section"><h2>Deployment Protocols<a name="Deployment_Protocols"></a></h2><p>For deploying using a protocol other than local file system, you need to register a provider to make the other protocols available. For example:</p><div><pre>...
+  &lt;artifact:install-provider artifactId=&quot;wagon-ssh&quot; version=&quot;1.0-beta-2&quot;/&gt;
+
+  &lt;artifact:deploy file=&quot;target/my-project-1.0.jar&quot;&gt;
+    &lt;remoteRepository url=&quot;scp://localhost/www/repository&quot;&gt;
+      &lt;authentication username=&quot;${repository.username}&quot; privateKey=&quot;${user.home}/.ssh/id_dsa&quot;/&gt;
+    &lt;/remoteRepository&gt;
+    &lt;pom refid=&quot;mypom&quot;/&gt;
+  &lt;/artifact:deploy&gt;
+...</pre></div><p><b>Note:</b> that if you use <tt>antcall</tt>, the provider isn't available during the Ant call: you have to register it again if you need it.</p><!-- TODO: Explain more thoroughly when you need to register a provider --><p>Maven Ant Tasks contain <tt>wagon-file</tt> and <tt>wagon-http-lightweight</tt> providers. Some other available providers are:</p><table border="1" class="bodyTable"><tr class="a"><td align="left">Protocol</td><td align="left">Artifact ID</td></tr><tr class="b"><td align="left"><tt>http</tt></td><td align="left"><tt>wagon-http</tt></td></tr><tr class="a"><td align="left"><tt>scp</tt></td><td align="left"><tt>wagon-ssh</tt></td></tr><tr class="b"><td align="left"><tt>scpexe</tt></td><td align="left"><tt>wagon-ssh-external</tt></td></tr><tr class="a"><td align="left"><tt>ftp</tt></td><td align="left"><tt>wagon-ftp</tt></td></tr><tr class="b"><td align="left"><tt>webdav</tt></td><td align="left"><tt>wagon-webdav</tt></td></tr></table><p>Oth
 er providers and the current versions of each can be found at <a class="externalLink" href="http://maven.apache.org/wagon/">http://maven.apache.org/wagon/</a></p></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">
+        &#169;            2002-2013
+              The Apache Software Foundation
+            
+                          - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
+        Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
+      </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/ant-tasks/examples/install-deploy.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/ant-tasks/examples/install-deploy.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/ant-tasks/examples/mvn.html
==============================================================================
--- websites/production/maven/ant-tasks/examples/mvn.html (added)
+++ websites/production/maven/ant-tasks/examples/mvn.html Fri Jan 25 22:52:23 2013
@@ -0,0 +1,250 @@
+<!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 Jan 25, 2013
+ | Rendered using Apache Maven Stylus Skin 1.5
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Maven Ant Tasks - Mvn</title>
+    <style type="text/css" media="all">
+      @import url("../css/maven-base.css");
+      @import url("../css/maven-theme.css");
+      @import url("../css/site.css");
+    </style>
+    <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
+        <meta name="author" content="Paul Gier" />
+        <meta name="Date-Creation-yyyymmdd" content="20090506" />
+    <meta name="Date-Revision-yyyymmdd" content="20130125" />
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+                                                    
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+                                                        
+<script type="text/javascript">_uacct = "UA-140879-1";
+        urchinTracker();</script>
+                              </head>
+  <body class="composite">
+    <div id="banner">
+                                      <a href="../../" id="bannerLeft">
+                                                <img src="../../images/apache-maven-project-2.png" alt="" />
+                </a>
+                        <span id="bannerRight">
+                                                <img src="../../images/maven-logo-2.gif" alt="" />
+                </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+            
+                                   <div class="xleft">
+                          <a href="http://www.apache.org/" class="externalLink">Apache</a>
+        &gt;
+                  <a href="../../index.html">Maven</a>
+        &gt;
+                  <a href="../">Maven Ant Tasks</a>
+        &gt;
+        Mvn
+        </div>
+            <div class="xright">        
+                                    Last Published: 2013-01-25
+              &nbsp;| Version: 2.1.4-SNAPSHOT
+            </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+             
+                                                   <h5>Overview</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../index.html">Introduction</a>
+            </li>
+                  <li class="none">
+                  <a href="../download.html">Download</a>
+            </li>
+                  <li class="none">
+                  <a href="../installation.html">Installation</a>
+            </li>
+                  <li class="none">
+                  <a href="../usage.html">Usage</a>
+            </li>
+                  <li class="none">
+                  <a href="../release-notes.html">Release Notes</a>
+            </li>
+                  <li class="none">
+                  <a href="../faq.html">FAQ</a>
+            </li>
+          </ul>
+                       <h5>Examples</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../examples/dependencies.html">dependencies</a>
+            </li>
+                  <li class="none">
+                  <a href="../examples/install-deploy.html">install, deploy</a>
+            </li>
+                  <li class="none">
+                  <a href="../examples/pom.html">pom</a>
+            </li>
+                  <li class="none">
+                  <a href="../examples/write-pom.html">writepom</a>
+            </li>
+                  <li class="none">
+            <strong>mvn</strong>
+          </li>
+          </ul>
+                       <h5>Reference</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../reference.html#dependencies">dependencies</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#install">install, deploy</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#install-provider">install-provider</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#localRepository">localRepository</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#remoteRepository">remoteRepository</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#pom">pom</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#writepom">writepom</a>
+            </li>
+                  <li class="none">
+                  <a href="../reference.html#versionMapper">versionMapper</a>
+            </li>
+          </ul>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                                                                                                                                                                                                              <li class="collapsed">
+                  <a href="../project-info.html">Project Information</a>
+                  </li>
+          </ul>
+                       <h5>Maven Projects</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../index.html">Ant Tasks</a>
+            </li>
+                  <li class="none">
+                  <a href="../../archetype/index.html">Archetype</a>
+            </li>
+                  <li class="none">
+                  <a href="../../doxia/index.html">Doxia</a>
+            </li>
+                  <li class="none">
+                  <a href="../../jxr/index.html">JXR</a>
+            </li>
+                  <li class="none">
+                  <a href="../../maven-1.x/index.html">Maven 1.x</a>
+            </li>
+                  <li class="none">
+                  <a href="../../index.html">Maven 2 & 3</a>
+            </li>
+                  <li class="none">
+                  <a href="../../pom/index.html">Parent POMs</a>
+            </li>
+                  <li class="none">
+                  <a href="../../plugins/index.html">Plugins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../plugin-tools/index.html">Plugin Tools</a>
+            </li>
+                  <li class="none">
+                  <a href="../../scm/index.html">SCM</a>
+            </li>
+                  <li class="none">
+                  <a href="../../shared/index.html">Shared Components</a>
+            </li>
+                  <li class="none">
+                  <a href="../../skins/index.html">Skins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../surefire/index.html">Surefire</a>
+            </li>
+                  <li class="none">
+                  <a href="../../wagon/index.html">Wagon</a>
+            </li>
+          </ul>
+                       <h5>ASF</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a>
+            </li>
+          </ul>
+                                 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+          <img alt="Built by Maven" src="../images/logos/maven-feather.png"/>
+        </a>
+                       
+                               </div>
+    </div>
+    <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/referen
 ces/apt-format.html --><div class="section"><h2>The Mvn Task<a name="The_Mvn_Task"></a></h2><p><b>Note: This task is available since version 2.0.10 of the Maven Ant Tasks</b></p><p>The Maven Ant Tasks have some limited support for calling a full Maven build from Ant. The <tt>mvn</tt> task is a subclass of the Ant <a class="externalLink" href="http://ant.apache.org/manual/CoreTasks/java.html">java</a> task and supports all of its options such as args, fork, resultproperty, etc.</p><p>If Maven is already installed on the local system, the Maven build can be called using this local installation by specifying the <tt>mavenHome</tt> parameter.</p><div><pre>  &lt;artifact:mvn mavenHome=&quot;/path/to/maven-2.0.x&quot;&gt;
+    &lt;arg value=&quot;install&quot;/&gt;
+  &lt;/artifact:mvn&gt;</pre></div><p>Maven will search for a pom.xml file in the current directory and run the <tt>install</tt> goal.</p><p>If the pom file is not located in the current directory, an alternate path to the pom can be specified.</p><div><pre>  &lt;artifact:mvn pom=&quot;path/to/my-pom.xml&quot; mavenHome=&quot;/path/to/maven-2.0.x&quot;&gt;
+    &lt;arg value=&quot;install&quot;/&gt;
+  &lt;/artifact:mvn&gt;</pre></div></div><div class="section"><h2>Running the Mvn Task without a Maven Installation<a name="Running_the_Mvn_Task_without_a_Maven_Installation"></a></h2><p>If no local Maven installation is available, the mvn task will attempt to resolve (download) the necessary jar files from the central Maven repository and run the Maven build using these jar files.</p><p>When the <tt>mavenHome</tt> attribute is not set, the <tt>mvn</tt> task will attempt to automatically resolve the required jar files.</p><div><pre>  &lt;artifact:mvn pom=&quot;path/to/my-pom.xml&quot;&gt;
+    &lt;arg value=&quot;install&quot;/&gt;
+  &lt;/artifact:mvn&gt;</pre></div><p><b>Note: this will use version 2.2.1 of the core Maven libraries, contained in the Maven Ant Tasks jar</b></p></div><div class="section"><h2>Using the Java Task<a name="Using_the_Java_Task"></a></h2><p>The java task can be used directly without any need for the Maven Ant Tasks. However, this method requires that Maven is already installed on the system. A property called <tt>maven.home</tt> must be set to point to the local Maven installation, then an Ant macro can be defined for calling Maven.</p><div><pre>  &lt;macrodef name=&quot;maven&quot;&gt;
+    &lt;attribute name=&quot;options&quot; default=&quot;&quot; /&gt;
+    &lt;attribute name=&quot;goal&quot; /&gt;
+    &lt;attribute name=&quot;basedir&quot; /&gt;
+    &lt;attribute name=&quot;resultproperty&quot; default=&quot;maven.result&quot; /&gt;
+    &lt;element name=&quot;args&quot; implicit=&quot;true&quot; optional=&quot;true&quot; /&gt;
+    &lt;sequential&gt;
+      &lt;java classname=&quot;org.codehaus.classworlds.Launcher&quot; fork=&quot;true&quot;
+            dir=&quot;@{basedir}&quot; resultproperty=&quot;@{resultproperty}&quot;&gt;
+        &lt;jvmarg value=&quot;-Xmx512m&quot;/&gt;
+        &lt;classpath&gt;
+          &lt;fileset dir=&quot;${maven.home}/boot&quot;&gt;
+            &lt;include name=&quot;*.jar&quot; /&gt;
+          &lt;/fileset&gt;
+          &lt;fileset dir=&quot;${maven.home}/lib&quot;&gt;
+            &lt;include name=&quot;*.jar&quot; /&gt;
+          &lt;/fileset&gt;
+        &lt;/classpath&gt;
+        &lt;sysproperty key=&quot;classworlds.conf&quot; value=&quot;${maven.home}/bin/m2.conf&quot; /&gt;
+        &lt;sysproperty key=&quot;maven.home&quot; value=&quot;${maven.home}&quot; /&gt;
+        &lt;arg line=&quot;--batch-mode @{options} @{goal}&quot; /&gt;
+      &lt;/java&gt;
+    &lt;/sequential&gt;
+  &lt;/macrodef&gt;</pre></div><p>This example defines an Ant macro called <tt>maven</tt>. The macro can then be used in the build like this:</p><div><pre>      &lt;maven basedir=&quot;${basedir}&quot;
+             options=&quot;${maven.opts}&quot;
+             goal=&quot;install&quot;
+             resultproperty=&quot;maven.build.result&quot;/&gt;</pre></div></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">
+        &#169;            2002-2013
+              The Apache Software Foundation
+            
+                          - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
+        Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
+      </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/ant-tasks/examples/mvn.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/ant-tasks/examples/mvn.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision