You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by mi...@apache.org on 2021/12/27 14:16:50 UTC

svn commit: r1896452 [10/45] - in /maven/website/components/plugins-archives/maven-deploy-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugins/deploy/ apidocs/org/apache/maven/plugins/deploy/class-use/ apidocs/resources/ css/ examples/ js/ testa...

Modified: maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploy-ftp.html
==============================================================================
--- maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploy-ftp.html (original)
+++ maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploy-ftp.html Mon Dec 27 14:16:49 2021
@@ -1,169 +1,172 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src/site/apt/examples/deploy-ftp.apt at 2019-10-27
- | Rendered using Apache Maven Fluido Skin 1.7
--->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="author" content="Jason van Zyl" />
-    <meta name="Date-Creation-yyyymmdd" content="20051012" />
-    <meta name="Date-Revision-yyyymmdd" content="20191027" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>Apache Maven Deploy Plugin &#x2013; Deployment of artifacts with FTP</title>
-    <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.min.css" />
-    <link rel="stylesheet" href="../css/site.css" />
-    <link rel="stylesheet" href="../css/print.css" media="print" />
-    <script type="text/javascript" src="../js/apache-maven-fluido-1.7.min.js"></script>
-    <!-- Google Analytics -->
-    <script type="text/javascript">
-      var _gaq = _gaq || [];
-      _gaq.push(['_setAccount', 'UA-140879-1']);
-      _gaq.push(['_trackPageview']);
-      (function() {
-        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-      })();
-    </script>
-  </head>
-  <body class="topBarDisabled">
-    <div class="container-fluid">
-      <div id="banner">
-        <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png"  alt=""/></a></div>
-        <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png"  alt=""/></a></div>
-        <div class="clear"><hr/></div>
-      </div>
-
-      <div id="breadcrumbs">
-        <ul class="breadcrumb">
-      <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
-      <li class=""><a href="../../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
-      <li class=""><a href="../../index.html" title="Plugins">Plugins</a><span class="divider">/</span></li>
-      <li class=""><a href="../index.html" title="Apache Maven Deploy Plugin">Apache Maven Deploy Plugin</a><span class="divider">/</span></li>
-    <li class="active ">Deployment of artifacts with FTP <a href="https://github.com/apache/maven-deploy-plugin/tree/HEAD/src/site/apt/examples/deploy-ftp.apt"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
-        <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2019-10-27</li>
-          <li id="projectVersion" class="pull-right">Version: 3.0.0-M2-SNAPSHOT</li>
-        </ul>
-      </div>
-      <div class="row-fluid">
-        <div id="leftColumn" class="span2">
-          <div class="well sidebar-nav">
-    <ul class="nav nav-list">
-      <li class="nav-header">Overview</li>
-    <li><a href="../index.html" title="Introduction"><span class="none"></span>Introduction</a></li>
-    <li><a href="../plugin-info.html" title="Goals"><span class="none"></span>Goals</a></li>
-    <li><a href="../usage.html" title="Usage"><span class="none"></span>Usage</a></li>
-    <li><a href="../faq.html" title="FAQ"><span class="none"></span>FAQ</a></li>
-    <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
-    <li><a href="../download.html" title="Download"><span class="none"></span>Download</a></li>
-      <li class="nav-header">Examples</li>
-    <li><a href="../project-deployment.html" title="Project Deployment"><span class="icon-chevron-down"></span>Project Deployment</a>
-    <ul class="nav nav-list">
-    <li class="active"><a href="#"><span class="none"></span>Deployment with FTP</a></li>
-    <li><a href="../examples/deploy-ssh-external.html" title="Deployment with external SSH"><span class="none"></span>Deployment with external SSH</a></li>
-    <li><a href="../examples/deploy-network-issues.html" title="Deploying With Network Issues"><span class="none"></span>Deploying With Network Issues</a></li>
-    </ul>
-</li>
-    <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-right"></span>File Deployment</a></li>
-      <li class="nav-header">Project Documentation</li>
-    <li><a href="../project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li>
-    <li><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
-      <li class="nav-header">Maven Projects</li>
-    <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
-    <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
-    <li><a href="../../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
-    <li><a href="../../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
-    <li><a href="../../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
-    <li><a href="../../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
-    <li><a href="../../index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
-    <li><a href="../../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
-    <li><a href="../../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
-    <li><a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
-    <li><a href="../../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
-    <li><a href="../../../shared/index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
-    <li><a href="../../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
-    <li><a href="../../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
-    <li><a href="../../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
-      <li class="nav-header">ASF</li>
-    <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
-    <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
-    <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
-    <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
-</ul>
-<form id="search-form" action="https://www.google.com/search" method="get" >
-  <input value="maven.apache.org/plugins/maven-deploy-plugin/" name="sitesearch" type="hidden"/>
-  <input class="search-query" name="q" id="query" type="text" />
-</form>
-<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
-          <hr />
-          <div id="poweredBy">
-    <script type="text/javascript">asyncJs( 'https://apis.google.com/js/plusone.js' )</script>
-    <div class="g-plusone" data-href="https://maven.apache.org/plugins/maven-deploy-plugin/" data-size="tall" ></div>
-            <div class="clear"></div>
-            <div class="clear"></div>
-    <div id="twitter">
-    <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
-    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
-    </div>
-            <div class="clear"></div>
-            <div class="clear"></div>
-<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /></a>
-            </div>
-          </div>
-        </div>
-        <div id="bodyColumn"  class="span10" >
-<div class="section">
-<h2><a name="Deployment_of_artifacts_with_FTP"></a>Deployment of artifacts with FTP</h2>
-<p>In order to deploy artifacts using FTP you must first specify the use of an FTP server in the <b>distributionManagement</b> element of your POM as well as specifying an <tt>extension</tt> in your <tt>build</tt> element which will pull in the FTP artifacts required to deploy with FTP:</p>
-<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
-  ...
-  &lt;distributionManagement&gt;
-    &lt;repository&gt;
-      &lt;id&gt;ftp-repository&lt;/id&gt;
-      &lt;url&gt;ftp://repository.mycompany.com/repository&lt;/url&gt;
-    &lt;/repository&gt;
-  &lt;/distributionManagement&gt;
-
-  &lt;build&gt;
-    &lt;extensions&gt;
-      &lt;!-- Enabling the use of FTP --&gt;
-      &lt;extension&gt;
-        &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
-         &lt;artifactId&gt;wagon-ftp&lt;/artifactId&gt;
-         &lt;version&gt;1.0-beta-6&lt;/version&gt;
-      &lt;/extension&gt;
-    &lt;/extensions&gt;
-  &lt;/build&gt;
-  ...
-&lt;/project&gt;</pre></div>
-<p>Your <tt>settings.xml</tt> would contain a <tt>server</tt> element where the <tt>id</tt> of that element matches <tt>id</tt> of the FTP repository specified in the POM above:</p>
-<div class="source"><pre class="prettyprint linenums">&lt;settings&gt;
-  ...
-  &lt;servers&gt;
-    &lt;server&gt;
-      &lt;id&gt;ftp-repository&lt;/id&gt;
-      &lt;username&gt;user&lt;/username&gt;
-      &lt;password&gt;pass&lt;/password&gt;
-    &lt;/server&gt;
-  &lt;/servers&gt;
-  ...
-&lt;/settings&gt;</pre></div>
-<p>You should, of course, make sure that you can login into the specified FTP server by hand before attempting the deployment with Maven. Once you have verified that everything is setup correctly you can now deploy your artifacts using Maven:</p>
-<div class="source"><pre class="prettyprint linenums">mvn deploy</pre></div></div>
-        </div>
-      </div>
-    </div>
-    <hr/>
-    <footer>
-      <div class="container-fluid">
-        <div class="row-fluid">
-            <p>Copyright &copy;2004&#x2013;2019
-<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.</p>
-        </div>
-      </div>
-    </footer>
-  </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src\site\apt/examples\deploy-ftp.apt at 2021-12-27
+ | Rendered using Apache Maven Fluido Skin 1.7
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="author" content="Jason van Zyl" />
+    <meta name="Date-Creation-yyyymmdd" content="20051012" />
+    <meta name="Date-Revision-yyyymmdd" content="20211227" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Maven Deploy Plugin &#x2013; Deployment of artifacts with FTP</title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.min.css" />
+    <link rel="stylesheet" href="../css/site.css" />
+    <link rel="stylesheet" href="../css/print.css" media="print" />
+    <script type="text/javascript" src="../js/apache-maven-fluido-1.7.min.js"></script>
+    <!-- Google Analytics -->
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-140879-1']);
+      _gaq.push(['_trackPageview']);
+      (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+      })();
+    </script>
+  </head>
+  <body class="topBarDisabled">
+    <div class="container-fluid">
+      <div id="banner">
+        <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png"  alt=""/></a></div>
+        <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png"  alt=""/></a></div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+      <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
+      <li class=""><a href="../../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
+      <li class=""><a href="../../index.html" title="Plugins">Plugins</a><span class="divider">/</span></li>
+      <li class=""><a href="../index.html" title="Apache Maven Deploy Plugin">Apache Maven Deploy Plugin</a><span class="divider">/</span></li>
+    <li class="active ">Deployment of artifacts with FTP <a href="https://github.com/apache/maven-deploy-plugin/tree/maven-deploy-plugin-3.0.0-M2/src\site\apt/examples\deploy-ftp.apt"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
+        <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2021-12-27</li>
+          <li id="projectVersion" class="pull-right">Version: 3.0.0-M2</li>
+        </ul>
+      </div>
+      <div class="row-fluid">
+        <div id="leftColumn" class="span2">
+          <div class="well sidebar-nav">
+    <ul class="nav nav-list">
+      <li class="nav-header">Overview</li>
+    <li><a href="../index.html" title="Introduction"><span class="none"></span>Introduction</a></li>
+    <li><a href="../plugin-info.html" title="Goals"><span class="none"></span>Goals</a></li>
+    <li><a href="../usage.html" title="Usage"><span class="none"></span>Usage</a></li>
+    <li><a href="../faq.html" title="FAQ"><span class="none"></span>FAQ</a></li>
+    <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
+    <li><a href="../download.html" title="Download"><span class="none"></span>Download</a></li>
+      <li class="nav-header">Examples</li>
+    <li><a href="../project-deployment.html" title="Project Deployment"><span class="icon-chevron-down"></span>Project Deployment</a>
+    <ul class="nav nav-list">
+    <li class="active"><a href="#"><span class="none"></span>Deployment with FTP</a></li>
+    <li><a href="../examples/deploy-ssh-external.html" title="Deployment with external SSH"><span class="none"></span>Deployment with external SSH</a></li>
+    <li><a href="../examples/deploy-network-issues.html" title="Deploying With Network Issues"><span class="none"></span>Deploying With Network Issues</a></li>
+    </ul>
+</li>
+    <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-right"></span>File Deployment</a></li>
+      <li class="nav-header">Project Documentation</li>
+    <li><a href="../project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li>
+    <li><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
+      <li class="nav-header">Maven Projects</li>
+    <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
+    <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
+    <li><a href="../../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
+    <li><a href="../../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
+    <li><a href="../../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
+    <li><a href="../../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
+    <li><a href="../../index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
+    <li><a href="../../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
+    <li><a href="../../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
+    <li><a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
+    <li><a href="../../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
+    <li><a href="../../../shared/index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
+    <li><a href="../../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
+    <li><a href="../../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
+    <li><a href="../../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
+      <li class="nav-header">ASF</li>
+    <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
+    <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
+    <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
+    <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
+</ul>
+<form id="search-form" action="https://www.google.com/search" method="get" >
+  <input value="maven.apache.org/plugins/maven-deploy-plugin/" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
+          <hr />
+          <div id="poweredBy">
+    <script type="text/javascript">asyncJs( 'https://apis.google.com/js/plusone.js' )</script>
+    <div class="g-plusone" data-href="https://maven.apache.org/plugins/maven-deploy-plugin/" data-size="tall" ></div>
+            <div class="clear"></div>
+            <div class="clear"></div>
+    <div id="twitter">
+    <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+    </div>
+            <div class="clear"></div>
+            <div class="clear"></div>
+<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /></a>
+            </div>
+          </div>
+        </div>
+        <div id="bodyColumn"  class="span10" >
+<div class="section">
+<h2><a name="Deployment_of_artifacts_with_FTP"></a>Deployment of artifacts with FTP</h2>
+<p>In order to deploy artifacts using FTP you must first specify the use of an FTP server in the <b>distributionManagement</b> element of your POM as well as specifying an <tt>extension</tt> in your <tt>build</tt> element which will pull in the FTP artifacts required to deploy with FTP:</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;distributionManagement&gt;
+    &lt;repository&gt;
+      &lt;id&gt;ftp-repository&lt;/id&gt;
+      &lt;url&gt;ftp://repository.mycompany.com/repository&lt;/url&gt;
+    &lt;/repository&gt;
+  &lt;/distributionManagement&gt;
+
+  &lt;build&gt;
+    &lt;extensions&gt;
+      &lt;!-- Enabling the use of FTP --&gt;
+      &lt;extension&gt;
+        &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
+         &lt;artifactId&gt;wagon-ftp&lt;/artifactId&gt;
+         &lt;version&gt;1.0-beta-6&lt;/version&gt;
+      &lt;/extension&gt;
+    &lt;/extensions&gt;
+  &lt;/build&gt;
+  ...
+&lt;/project&gt;
+</pre></div>
+<p>Your <tt>settings.xml</tt> would contain a <tt>server</tt> element where the <tt>id</tt> of that element matches <tt>id</tt> of the FTP repository specified in the POM above:</p>
+<div class="source"><pre class="prettyprint linenums">&lt;settings&gt;
+  ...
+  &lt;servers&gt;
+    &lt;server&gt;
+      &lt;id&gt;ftp-repository&lt;/id&gt;
+      &lt;username&gt;user&lt;/username&gt;
+      &lt;password&gt;pass&lt;/password&gt;
+    &lt;/server&gt;
+  &lt;/servers&gt;
+  ...
+&lt;/settings&gt;
+</pre></div>
+<p>You should, of course, make sure that you can login into the specified FTP server by hand before attempting the deployment with Maven. Once you have verified that everything is setup correctly you can now deploy your artifacts using Maven:</p>
+<div class="source"><pre class="prettyprint linenums">mvn deploy
+</pre></div></div>
+        </div>
+      </div>
+    </div>
+    <hr/>
+    <footer>
+      <div class="container-fluid">
+        <div class="row-fluid">
+            <p>Copyright &copy;2004&#x2013;2021
+<a href="https://www.apache.org/">The Apache Software Foundation</a>.
+All rights reserved.</p>
+        </div>
+      </div>
+    </footer>
+  </body>
 </html>
\ No newline at end of file

Modified: maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploy-network-issues.html
==============================================================================
--- maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploy-network-issues.html (original)
+++ maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploy-network-issues.html Mon Dec 27 14:16:49 2021
@@ -1,195 +1,200 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src/site/apt/examples/deploy-network-issues.apt at 2019-10-27
- | Rendered using Apache Maven Fluido Skin 1.7
--->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="author" content="Hervé Boutemy" />
-    <meta name="Date-Creation-yyyymmdd" content="20190120" />
-    <meta name="Date-Revision-yyyymmdd" content="20191027" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>Apache Maven Deploy Plugin &#x2013; Deploying With Network Issues</title>
-    <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.min.css" />
-    <link rel="stylesheet" href="../css/site.css" />
-    <link rel="stylesheet" href="../css/print.css" media="print" />
-    <script type="text/javascript" src="../js/apache-maven-fluido-1.7.min.js"></script>
-    <!-- Google Analytics -->
-    <script type="text/javascript">
-      var _gaq = _gaq || [];
-      _gaq.push(['_setAccount', 'UA-140879-1']);
-      _gaq.push(['_trackPageview']);
-      (function() {
-        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-      })();
-    </script>
-  </head>
-  <body class="topBarDisabled">
-    <div class="container-fluid">
-      <div id="banner">
-        <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png"  alt=""/></a></div>
-        <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png"  alt=""/></a></div>
-        <div class="clear"><hr/></div>
-      </div>
-
-      <div id="breadcrumbs">
-        <ul class="breadcrumb">
-      <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
-      <li class=""><a href="../../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
-      <li class=""><a href="../../index.html" title="Plugins">Plugins</a><span class="divider">/</span></li>
-      <li class=""><a href="../index.html" title="Apache Maven Deploy Plugin">Apache Maven Deploy Plugin</a><span class="divider">/</span></li>
-    <li class="active ">Deploying With Network Issues <a href="https://github.com/apache/maven-deploy-plugin/tree/HEAD/src/site/apt/examples/deploy-network-issues.apt"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
-        <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2019-10-27</li>
-          <li id="projectVersion" class="pull-right">Version: 3.0.0-M2-SNAPSHOT</li>
-        </ul>
-      </div>
-      <div class="row-fluid">
-        <div id="leftColumn" class="span2">
-          <div class="well sidebar-nav">
-    <ul class="nav nav-list">
-      <li class="nav-header">Overview</li>
-    <li><a href="../index.html" title="Introduction"><span class="none"></span>Introduction</a></li>
-    <li><a href="../plugin-info.html" title="Goals"><span class="none"></span>Goals</a></li>
-    <li><a href="../usage.html" title="Usage"><span class="none"></span>Usage</a></li>
-    <li><a href="../faq.html" title="FAQ"><span class="none"></span>FAQ</a></li>
-    <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
-    <li><a href="../download.html" title="Download"><span class="none"></span>Download</a></li>
-      <li class="nav-header">Examples</li>
-    <li><a href="../project-deployment.html" title="Project Deployment"><span class="icon-chevron-down"></span>Project Deployment</a>
-    <ul class="nav nav-list">
-    <li><a href="../examples/deploy-ftp.html" title="Deployment with FTP"><span class="none"></span>Deployment with FTP</a></li>
-    <li><a href="../examples/deploy-ssh-external.html" title="Deployment with external SSH"><span class="none"></span>Deployment with external SSH</a></li>
-    <li class="active"><a href="#"><span class="none"></span>Deploying With Network Issues</a></li>
-    </ul>
-</li>
-    <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-right"></span>File Deployment</a></li>
-      <li class="nav-header">Project Documentation</li>
-    <li><a href="../project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li>
-    <li><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
-      <li class="nav-header">Maven Projects</li>
-    <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
-    <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
-    <li><a href="../../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
-    <li><a href="../../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
-    <li><a href="../../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
-    <li><a href="../../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
-    <li><a href="../../index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
-    <li><a href="../../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
-    <li><a href="../../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
-    <li><a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
-    <li><a href="../../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
-    <li><a href="../../../shared/index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
-    <li><a href="../../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
-    <li><a href="../../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
-    <li><a href="../../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
-      <li class="nav-header">ASF</li>
-    <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
-    <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
-    <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
-    <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
-</ul>
-<form id="search-form" action="https://www.google.com/search" method="get" >
-  <input value="maven.apache.org/plugins/maven-deploy-plugin/" name="sitesearch" type="hidden"/>
-  <input class="search-query" name="q" id="query" type="text" />
-</form>
-<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
-          <hr />
-          <div id="poweredBy">
-    <script type="text/javascript">asyncJs( 'https://apis.google.com/js/plusone.js' )</script>
-    <div class="g-plusone" data-href="https://maven.apache.org/plugins/maven-deploy-plugin/" data-size="tall" ></div>
-            <div class="clear"></div>
-            <div class="clear"></div>
-    <div id="twitter">
-    <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
-    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
-    </div>
-            <div class="clear"></div>
-            <div class="clear"></div>
-<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /></a>
-            </div>
-          </div>
-        </div>
-        <div id="bodyColumn"  class="span10" >
-<div class="section">
-<h2><a name="Deploying_With_Network_Issues"></a>Deploying With Network Issues</h2>
-<p>Sometimes, network quality from building machine to the remote repository is not perfect. Of course, improving the network would be the best solution, but it is not always possible.</p>
-<p>There are a few strategies to work around the network issue.</p>
-<div class="section">
-<h3><a name="Configuring_Multiple_Tries"></a>Configuring Multiple Tries</h3>
-<p>Deploy plugin provides <a href="../deploy-mojo.html#retryFailedDeploymentCount"><tt>retryFailedDeploymentCount</tt> parameter</a> to retry deployment multiple times before giving up and returning a failure for the <tt>deploy</tt> goal: </p>
-<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
-  [...]
-  &lt;build&gt;
-    &lt;plugins&gt;
-      &lt;plugin&gt;
-        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
-        &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;
-        &lt;configuration&gt;
-          &lt;retryFailedDeploymentCount&gt;3&lt;/retryFailedDeploymentCount&gt;
-        &lt;configuration&gt;
-      &lt;/plugin&gt;
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  [...]
-&lt;/project&gt;</pre></div></div>
-<div class="section">
-<h3><a name="Deploying_to_a_Local_Staging_Directory"></a>Deploying to a Local Staging Directory</h3>
-<p>When the network is really not consistent, a deeper strategy is to deploy in 2 steps:</p>
-<p>1. <tt>deploy</tt> to a local directory during the build, for example <tt>file:./target/staging-deploy</tt>,</p>
-<p>2. then copy from the local area to the target remote repository, retrying as much as necessary.</p>
-<div class="section">
-<h4><a name="Deploying_to_a_Local_Directory"></a>Deploying to a Local Directory</h4>
-<p>Deploying to a local directory can be done from command line, without changing POM, using <a href="../deploy-mojo.html#altDeploymentRepository"><tt>altDeploymentRepository</tt> parameter</a>:</p>
-<div class="source"><pre class="prettyprint linenums">mvn deploy -DaltDeploymentRepository=local::file:./target/staging-deploy</pre></div>
-<p>or for older 2.x version of maven-deploy-plugin</p>
-<div class="source"><pre class="prettyprint linenums">mvn deploy -DaltDeploymentRepository=local::default::file:./target/staging-deploy</pre></div>
-<p>Of course, you can configure the repository in your <tt>pom.xml</tt> if you want to go from a temporary strategy to the general strategy.</p></div>
-<div class="section">
-<h4><a name="Copying_from_Local_Directory_to_Target_Remote_Repository"></a>Copying from Local Directory to Target Remote Repository</h4>
-<p><tt>wagon-maven-plugin</tt>'s <a class="externalLink" href="https://www.mojohaus.org/wagon-maven-plugin/merge-maven-repos-mojo.html"><tt>merge-maven-repos</tt> goal</a> provides a mechanism to copy from one remote repository to the other, while merging repository metadata.</p>
-<p><tt>wagon-maven-plugin</tt>'s <a class="externalLink" href="https://www.mojohaus.org/wagon-maven-plugin/upload-mojo.html"><tt>upload</tt> goal</a> will do the same without taking care of repository metadata: use it if you have an empty repository as target, like a staging repository provided by a repository manager.</p>
-<p>It can be invoked fully from command line (renaming <tt>-Dwagon.</tt> with <tt>wagon.targetId</tt> when <a class="externalLink" href="https://github.com/mojohaus/wagon-maven-plugin/pull/26">Wagon Maven Plugin 2.0.1 will be released</a>):</p>
-<div class="source"><pre class="prettyprint linenums">mvn org.codehaus.mojo:wagon-maven-plugin:2.0.0:merge-maven-repos \
-  -Dwagon.source=file:./target/staging-deploy \
-  -Dwagon.target=https://... \
-  -Dwagon.=id
-# or once wagon-maven-plugin 2.0.1 is released:
-  -Dwagon.targetId=id</pre></div>
-<p>or more simply with <tt>mvn wagon:merge-maven-repos</tt> with configuration in <tt>pom.xml</tt>:</p>
-<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
-  [...]
-  &lt;build&gt;
-    &lt;plugins&gt;
-      &lt;plugin&gt;
-        &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
-        &lt;artifactId&gt;wagon-maven-plugin&lt;/artifactId&gt;
-        &lt;version&gt;2.0.0&lt;/version&gt;
-        &lt;configuration&gt;
-          &lt;source&gt;file:./target/staging-deploy&lt;/source&gt;
-          &lt;target&gt;${project.distributionManagement.repository.url}&lt;/target&gt;
-          &lt;targetId&gt;${project.distributionManagement.repository.id}&lt;/targetId&gt;
-        &lt;/configuration&gt;
-      &lt;/plugin&gt;
-    &lt;/plugins&gt;
-  &lt;/build&gt;
-  [...]
-&lt;/project&gt;</pre></div></div></div></div>
-        </div>
-      </div>
-    </div>
-    <hr/>
-    <footer>
-      <div class="container-fluid">
-        <div class="row-fluid">
-            <p>Copyright &copy;2004&#x2013;2019
-<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.</p>
-        </div>
-      </div>
-    </footer>
-  </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src\site\apt/examples\deploy-network-issues.apt at 2021-12-27
+ | Rendered using Apache Maven Fluido Skin 1.7
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="author" content="Hervé Boutemy" />
+    <meta name="Date-Creation-yyyymmdd" content="20190120" />
+    <meta name="Date-Revision-yyyymmdd" content="20211227" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Maven Deploy Plugin &#x2013; Deploying With Network Issues</title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.min.css" />
+    <link rel="stylesheet" href="../css/site.css" />
+    <link rel="stylesheet" href="../css/print.css" media="print" />
+    <script type="text/javascript" src="../js/apache-maven-fluido-1.7.min.js"></script>
+    <!-- Google Analytics -->
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-140879-1']);
+      _gaq.push(['_trackPageview']);
+      (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+      })();
+    </script>
+  </head>
+  <body class="topBarDisabled">
+    <div class="container-fluid">
+      <div id="banner">
+        <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png"  alt=""/></a></div>
+        <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png"  alt=""/></a></div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+      <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
+      <li class=""><a href="../../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
+      <li class=""><a href="../../index.html" title="Plugins">Plugins</a><span class="divider">/</span></li>
+      <li class=""><a href="../index.html" title="Apache Maven Deploy Plugin">Apache Maven Deploy Plugin</a><span class="divider">/</span></li>
+    <li class="active ">Deploying With Network Issues <a href="https://github.com/apache/maven-deploy-plugin/tree/maven-deploy-plugin-3.0.0-M2/src\site\apt/examples\deploy-network-issues.apt"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
+        <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2021-12-27</li>
+          <li id="projectVersion" class="pull-right">Version: 3.0.0-M2</li>
+        </ul>
+      </div>
+      <div class="row-fluid">
+        <div id="leftColumn" class="span2">
+          <div class="well sidebar-nav">
+    <ul class="nav nav-list">
+      <li class="nav-header">Overview</li>
+    <li><a href="../index.html" title="Introduction"><span class="none"></span>Introduction</a></li>
+    <li><a href="../plugin-info.html" title="Goals"><span class="none"></span>Goals</a></li>
+    <li><a href="../usage.html" title="Usage"><span class="none"></span>Usage</a></li>
+    <li><a href="../faq.html" title="FAQ"><span class="none"></span>FAQ</a></li>
+    <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
+    <li><a href="../download.html" title="Download"><span class="none"></span>Download</a></li>
+      <li class="nav-header">Examples</li>
+    <li><a href="../project-deployment.html" title="Project Deployment"><span class="icon-chevron-down"></span>Project Deployment</a>
+    <ul class="nav nav-list">
+    <li><a href="../examples/deploy-ftp.html" title="Deployment with FTP"><span class="none"></span>Deployment with FTP</a></li>
+    <li><a href="../examples/deploy-ssh-external.html" title="Deployment with external SSH"><span class="none"></span>Deployment with external SSH</a></li>
+    <li class="active"><a href="#"><span class="none"></span>Deploying With Network Issues</a></li>
+    </ul>
+</li>
+    <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-right"></span>File Deployment</a></li>
+      <li class="nav-header">Project Documentation</li>
+    <li><a href="../project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li>
+    <li><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
+      <li class="nav-header">Maven Projects</li>
+    <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
+    <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
+    <li><a href="../../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
+    <li><a href="../../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
+    <li><a href="../../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
+    <li><a href="../../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
+    <li><a href="../../index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
+    <li><a href="../../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
+    <li><a href="../../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
+    <li><a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
+    <li><a href="../../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
+    <li><a href="../../../shared/index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
+    <li><a href="../../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
+    <li><a href="../../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
+    <li><a href="../../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
+      <li class="nav-header">ASF</li>
+    <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
+    <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
+    <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
+    <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
+</ul>
+<form id="search-form" action="https://www.google.com/search" method="get" >
+  <input value="maven.apache.org/plugins/maven-deploy-plugin/" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
+          <hr />
+          <div id="poweredBy">
+    <script type="text/javascript">asyncJs( 'https://apis.google.com/js/plusone.js' )</script>
+    <div class="g-plusone" data-href="https://maven.apache.org/plugins/maven-deploy-plugin/" data-size="tall" ></div>
+            <div class="clear"></div>
+            <div class="clear"></div>
+    <div id="twitter">
+    <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+    </div>
+            <div class="clear"></div>
+            <div class="clear"></div>
+<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /></a>
+            </div>
+          </div>
+        </div>
+        <div id="bodyColumn"  class="span10" >
+<div class="section">
+<h2><a name="Deploying_With_Network_Issues"></a>Deploying With Network Issues</h2>
+<p>Sometimes, network quality from building machine to the remote repository is not perfect. Of course, improving the network would be the best solution, but it is not always possible.</p>
+<p>There are a few strategies to work around the network issue.</p>
+<div class="section">
+<h3><a name="Configuring_Multiple_Tries"></a>Configuring Multiple Tries</h3>
+<p>Deploy plugin provides <a href="../deploy-mojo.html#retryFailedDeploymentCount"><tt>retryFailedDeploymentCount</tt> parameter</a> to retry deployment multiple times before giving up and returning a failure for the <tt>deploy</tt> goal: </p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  [...]
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;
+        &lt;configuration&gt;
+          &lt;retryFailedDeploymentCount&gt;3&lt;/retryFailedDeploymentCount&gt;
+        &lt;configuration&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  [...]
+&lt;/project&gt;
+</pre></div></div>
+<div class="section">
+<h3><a name="Deploying_to_a_Local_Staging_Directory"></a>Deploying to a Local Staging Directory</h3>
+<p>When the network is really not consistent, a deeper strategy is to deploy in 2 steps:</p>
+<p>1. <tt>deploy</tt> to a local directory during the build, for example <tt>file:./target/staging-deploy</tt>,</p>
+<p>2. then copy from the local area to the target remote repository, retrying as much as necessary.</p>
+<div class="section">
+<h4><a name="Deploying_to_a_Local_Directory"></a>Deploying to a Local Directory</h4>
+<p>Deploying to a local directory can be done from command line, without changing POM, using <a href="../deploy-mojo.html#altDeploymentRepository"><tt>altDeploymentRepository</tt> parameter</a>:</p>
+<div class="source"><pre class="prettyprint linenums">mvn deploy -DaltDeploymentRepository=local::file:./target/staging-deploy
+</pre></div>
+<p>or for older 2.x version of maven-deploy-plugin</p>
+<div class="source"><pre class="prettyprint linenums">mvn deploy -DaltDeploymentRepository=local::default::file:./target/staging-deploy
+</pre></div>
+<p>Of course, you can configure the repository in your <tt>pom.xml</tt> if you want to go from a temporary strategy to the general strategy.</p></div>
+<div class="section">
+<h4><a name="Copying_from_Local_Directory_to_Target_Remote_Repository"></a>Copying from Local Directory to Target Remote Repository</h4>
+<p><tt>wagon-maven-plugin</tt>'s <a class="externalLink" href="https://www.mojohaus.org/wagon-maven-plugin/merge-maven-repos-mojo.html"><tt>merge-maven-repos</tt> goal</a> provides a mechanism to copy from one remote repository to the other, while merging repository metadata.</p>
+<p><tt>wagon-maven-plugin</tt>'s <a class="externalLink" href="https://www.mojohaus.org/wagon-maven-plugin/upload-mojo.html"><tt>upload</tt> goal</a> will do the same without taking care of repository metadata: use it if you have an empty repository as target, like a staging repository provided by a repository manager.</p>
+<p>It can be invoked fully from command line (renaming <tt>-Dwagon.</tt> with <tt>wagon.targetId</tt> when <a class="externalLink" href="https://github.com/mojohaus/wagon-maven-plugin/pull/26">Wagon Maven Plugin 2.0.1 will be released</a>):</p>
+<div class="source"><pre class="prettyprint linenums">mvn org.codehaus.mojo:wagon-maven-plugin:2.0.0:merge-maven-repos \
+  -Dwagon.source=file:./target/staging-deploy \
+  -Dwagon.target=https://... \
+  -Dwagon.=id
+# or once wagon-maven-plugin 2.0.1 is released:
+  -Dwagon.targetId=id
+</pre></div>
+<p>or more simply with <tt>mvn wagon:merge-maven-repos</tt> with configuration in <tt>pom.xml</tt>:</p>
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  [...]
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
+        &lt;artifactId&gt;wagon-maven-plugin&lt;/artifactId&gt;
+        &lt;version&gt;2.0.0&lt;/version&gt;
+        &lt;configuration&gt;
+          &lt;source&gt;file:./target/staging-deploy&lt;/source&gt;
+          &lt;target&gt;${project.distributionManagement.repository.url}&lt;/target&gt;
+          &lt;targetId&gt;${project.distributionManagement.repository.id}&lt;/targetId&gt;
+        &lt;/configuration&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  [...]
+&lt;/project&gt;
+</pre></div></div></div></div>
+        </div>
+      </div>
+    </div>
+    <hr/>
+    <footer>
+      <div class="container-fluid">
+        <div class="row-fluid">
+            <p>Copyright &copy;2004&#x2013;2021
+<a href="https://www.apache.org/">The Apache Software Foundation</a>.
+All rights reserved.</p>
+        </div>
+      </div>
+    </footer>
+  </body>
 </html>
\ No newline at end of file

Modified: maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploy-ssh-external.html
==============================================================================
--- maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploy-ssh-external.html (original)
+++ maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploy-ssh-external.html Mon Dec 27 14:16:49 2021
@@ -1,202 +1,206 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src/site/apt/examples/deploy-ssh-external.apt at 2019-10-27
- | Rendered using Apache Maven Fluido Skin 1.7
--->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="author" content="Jason van Zyl" />
-    <meta name="Date-Creation-yyyymmdd" content="20051012" />
-    <meta name="Date-Revision-yyyymmdd" content="20191027" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>Apache Maven Deploy Plugin &#x2013; Deployment of artifacts in an external SSH command</title>
-    <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.min.css" />
-    <link rel="stylesheet" href="../css/site.css" />
-    <link rel="stylesheet" href="../css/print.css" media="print" />
-    <script type="text/javascript" src="../js/apache-maven-fluido-1.7.min.js"></script>
-    <!-- Google Analytics -->
-    <script type="text/javascript">
-      var _gaq = _gaq || [];
-      _gaq.push(['_setAccount', 'UA-140879-1']);
-      _gaq.push(['_trackPageview']);
-      (function() {
-        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-      })();
-    </script>
-  </head>
-  <body class="topBarDisabled">
-    <div class="container-fluid">
-      <div id="banner">
-        <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png"  alt=""/></a></div>
-        <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png"  alt=""/></a></div>
-        <div class="clear"><hr/></div>
-      </div>
-
-      <div id="breadcrumbs">
-        <ul class="breadcrumb">
-      <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
-      <li class=""><a href="../../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
-      <li class=""><a href="../../index.html" title="Plugins">Plugins</a><span class="divider">/</span></li>
-      <li class=""><a href="../index.html" title="Apache Maven Deploy Plugin">Apache Maven Deploy Plugin</a><span class="divider">/</span></li>
-    <li class="active ">Deployment of artifacts in an external SSH command <a href="https://github.com/apache/maven-deploy-plugin/tree/HEAD/src/site/apt/examples/deploy-ssh-external.apt"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
-        <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2019-10-27</li>
-          <li id="projectVersion" class="pull-right">Version: 3.0.0-M2-SNAPSHOT</li>
-        </ul>
-      </div>
-      <div class="row-fluid">
-        <div id="leftColumn" class="span2">
-          <div class="well sidebar-nav">
-    <ul class="nav nav-list">
-      <li class="nav-header">Overview</li>
-    <li><a href="../index.html" title="Introduction"><span class="none"></span>Introduction</a></li>
-    <li><a href="../plugin-info.html" title="Goals"><span class="none"></span>Goals</a></li>
-    <li><a href="../usage.html" title="Usage"><span class="none"></span>Usage</a></li>
-    <li><a href="../faq.html" title="FAQ"><span class="none"></span>FAQ</a></li>
-    <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
-    <li><a href="../download.html" title="Download"><span class="none"></span>Download</a></li>
-      <li class="nav-header">Examples</li>
-    <li><a href="../project-deployment.html" title="Project Deployment"><span class="icon-chevron-down"></span>Project Deployment</a>
-    <ul class="nav nav-list">
-    <li><a href="../examples/deploy-ftp.html" title="Deployment with FTP"><span class="none"></span>Deployment with FTP</a></li>
-    <li class="active"><a href="#"><span class="none"></span>Deployment with external SSH</a></li>
-    <li><a href="../examples/deploy-network-issues.html" title="Deploying With Network Issues"><span class="none"></span>Deploying With Network Issues</a></li>
-    </ul>
-</li>
-    <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-right"></span>File Deployment</a></li>
-      <li class="nav-header">Project Documentation</li>
-    <li><a href="../project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li>
-    <li><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
-      <li class="nav-header">Maven Projects</li>
-    <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
-    <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
-    <li><a href="../../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
-    <li><a href="../../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
-    <li><a href="../../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
-    <li><a href="../../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
-    <li><a href="../../index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
-    <li><a href="../../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
-    <li><a href="../../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
-    <li><a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
-    <li><a href="../../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
-    <li><a href="../../../shared/index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
-    <li><a href="../../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
-    <li><a href="../../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
-    <li><a href="../../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
-      <li class="nav-header">ASF</li>
-    <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
-    <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
-    <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
-    <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
-</ul>
-<form id="search-form" action="https://www.google.com/search" method="get" >
-  <input value="maven.apache.org/plugins/maven-deploy-plugin/" name="sitesearch" type="hidden"/>
-  <input class="search-query" name="q" id="query" type="text" />
-</form>
-<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
-          <hr />
-          <div id="poweredBy">
-    <script type="text/javascript">asyncJs( 'https://apis.google.com/js/plusone.js' )</script>
-    <div class="g-plusone" data-href="https://maven.apache.org/plugins/maven-deploy-plugin/" data-size="tall" ></div>
-            <div class="clear"></div>
-            <div class="clear"></div>
-    <div id="twitter">
-    <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
-    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
-    </div>
-            <div class="clear"></div>
-            <div class="clear"></div>
-<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /></a>
-            </div>
-          </div>
-        </div>
-        <div id="bodyColumn"  class="span10" >
-<div class="section">
-<h2><a name="Deployment_of_artifacts_in_an_external_SSH_command"></a>Deployment of artifacts in an external SSH command</h2>
-<p>In order to deploy artifacts using SSH you must first specify the use of an SSH server in the <b>distributionManagement</b> element of your POM as well as specifying an <tt>extension</tt> in your <tt>build</tt> element which will pull in the SSH artifacts required to deploy with SSH:</p>
-<div class="source"><pre class="prettyprint linenums">
-&lt;project&gt;
-  ...
-  &lt;distributionManagement&gt;
-    &lt;repository&gt;
-      &lt;id&gt;ssh-repository&lt;/id&gt;
-      &lt;url&gt;scpexe://repository.mycompany.com/repository&lt;/url&gt;
-    &lt;/repository&gt;
-  &lt;/distributionManagement&gt;
-
-  &lt;build&gt;
-    &lt;extensions&gt;
-      &lt;!-- Enabling the use of SSH --&gt;
-      &lt;extension&gt;
-        &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
-         &lt;artifactId&gt;wagon-ssh-external&lt;/artifactId&gt;
-         &lt;version&gt;1.0-beta-6&lt;/version&gt;
-      &lt;/extension&gt;
-    &lt;/extensions&gt;
-  &lt;/build&gt;
-  ..
-&lt;/project&gt;
-</pre></div>
-<p>If you are deploying from Unix or have Cygwin installed you won't need to any additional configuration in your <tt>settings.xml</tt> file as everything will be taken from the environment. But if you are on Windows and are using something like <tt>plink</tt> then you will need something like the following:</p>
-<div class="source"><pre class="prettyprint linenums">
-&lt;settings&gt;
-  ...
-  &lt;servers&gt;
-    &lt;server&gt;
-      &lt;id&gt;ssh-repository&lt;/id&gt;
-      &lt;username&gt;your username in the remote system if different from local&lt;/username&gt;
-      &lt;privateKey&gt;/path/to/your/private/key&lt;/privateKey&gt; &lt;!-- not needed if using pageant --&gt;
-      &lt;configuration&gt;
-        &lt;sshExecutable&gt;plink&lt;/sshExecutable&gt;
-        &lt;scpExecutable&gt;pscp&lt;/scpExecutable&gt;
-        &lt;sshArgs&gt;other arguments you may need&lt;/sshArgs&gt;
-      &lt;/configuration&gt;
-    &lt;/server&gt;
-  &lt;/servers&gt;
-  ...
-&lt;/settings&gt;
-</pre></div>
-<p>You should, of course, make sure that you can login into the specified SSH server by hand before attempting the deployment with Maven. Once you have verified that everything is setup correctly you can now deploy your artifacts using Maven:</p>
-<div class="source"><pre class="prettyprint linenums">mvn deploy</pre></div>
-<p>Sometimes you may have permissions problems deploying and if so you can set the file and directory permissions like so:</p>
-<div class="source"><pre class="prettyprint linenums">
- &lt;settings&gt;
-   ...
-   &lt;servers&gt;
-     &lt;server&gt;
-       &lt;id&gt;ssh-repository&lt;/id&gt;
-       &lt;!--
-        |
-        | Change default file/dir permissions
-        |
-        --&gt;
-       &lt;filePermissions&gt;664&lt;/filePermissions&gt;
-       &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
-       &lt;configuration&gt;
-         &lt;sshExecutable&gt;plink&lt;/sshExecutable&gt;
-         &lt;scpExecutable&gt;pscp&lt;/scpExecutable&gt;
-       &lt;/configuration&gt;
-     &lt;/server&gt;
-   &lt;/servers&gt;
-   ...
- &lt;/settings&gt;
-</pre></div>
-<p><b>NOTE:</b> If you are using Putty it will expect the private key to be in the <tt>PPK</tt> format and not the standard format so make sure you use <tt>puttygen</tt> to convert your openssh format key to <tt>PPK</tt> format or generate another one. Windows users can find the Putty tools on the <a class="externalLink" href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html">PuTTY Download Page</a>.</p></div>
-        </div>
-      </div>
-    </div>
-    <hr/>
-    <footer>
-      <div class="container-fluid">
-        <div class="row-fluid">
-            <p>Copyright &copy;2004&#x2013;2019
-<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.</p>
-        </div>
-      </div>
-    </footer>
-  </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src\site\apt/examples\deploy-ssh-external.apt at 2021-12-27
+ | Rendered using Apache Maven Fluido Skin 1.7
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="author" content="Jason van Zyl" />
+    <meta name="Date-Creation-yyyymmdd" content="20051012" />
+    <meta name="Date-Revision-yyyymmdd" content="20211227" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Maven Deploy Plugin &#x2013; Deployment of artifacts in an external SSH command</title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.min.css" />
+    <link rel="stylesheet" href="../css/site.css" />
+    <link rel="stylesheet" href="../css/print.css" media="print" />
+    <script type="text/javascript" src="../js/apache-maven-fluido-1.7.min.js"></script>
+    <!-- Google Analytics -->
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-140879-1']);
+      _gaq.push(['_trackPageview']);
+      (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+      })();
+    </script>
+  </head>
+  <body class="topBarDisabled">
+    <div class="container-fluid">
+      <div id="banner">
+        <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png"  alt=""/></a></div>
+        <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png"  alt=""/></a></div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+      <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
+      <li class=""><a href="../../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
+      <li class=""><a href="../../index.html" title="Plugins">Plugins</a><span class="divider">/</span></li>
+      <li class=""><a href="../index.html" title="Apache Maven Deploy Plugin">Apache Maven Deploy Plugin</a><span class="divider">/</span></li>
+    <li class="active ">Deployment of artifacts in an external SSH command <a href="https://github.com/apache/maven-deploy-plugin/tree/maven-deploy-plugin-3.0.0-M2/src\site\apt/examples\deploy-ssh-external.apt"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
+        <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2021-12-27</li>
+          <li id="projectVersion" class="pull-right">Version: 3.0.0-M2</li>
+        </ul>
+      </div>
+      <div class="row-fluid">
+        <div id="leftColumn" class="span2">
+          <div class="well sidebar-nav">
+    <ul class="nav nav-list">
+      <li class="nav-header">Overview</li>
+    <li><a href="../index.html" title="Introduction"><span class="none"></span>Introduction</a></li>
+    <li><a href="../plugin-info.html" title="Goals"><span class="none"></span>Goals</a></li>
+    <li><a href="../usage.html" title="Usage"><span class="none"></span>Usage</a></li>
+    <li><a href="../faq.html" title="FAQ"><span class="none"></span>FAQ</a></li>
+    <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
+    <li><a href="../download.html" title="Download"><span class="none"></span>Download</a></li>
+      <li class="nav-header">Examples</li>
+    <li><a href="../project-deployment.html" title="Project Deployment"><span class="icon-chevron-down"></span>Project Deployment</a>
+    <ul class="nav nav-list">
+    <li><a href="../examples/deploy-ftp.html" title="Deployment with FTP"><span class="none"></span>Deployment with FTP</a></li>
+    <li class="active"><a href="#"><span class="none"></span>Deployment with external SSH</a></li>
+    <li><a href="../examples/deploy-network-issues.html" title="Deploying With Network Issues"><span class="none"></span>Deploying With Network Issues</a></li>
+    </ul>
+</li>
+    <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-right"></span>File Deployment</a></li>
+      <li class="nav-header">Project Documentation</li>
+    <li><a href="../project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li>
+    <li><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
+      <li class="nav-header">Maven Projects</li>
+    <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
+    <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
+    <li><a href="../../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
+    <li><a href="../../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
+    <li><a href="../../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
+    <li><a href="../../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
+    <li><a href="../../index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
+    <li><a href="../../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
+    <li><a href="../../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
+    <li><a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
+    <li><a href="../../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
+    <li><a href="../../../shared/index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
+    <li><a href="../../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
+    <li><a href="../../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
+    <li><a href="../../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
+      <li class="nav-header">ASF</li>
+    <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
+    <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
+    <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
+    <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
+</ul>
+<form id="search-form" action="https://www.google.com/search" method="get" >
+  <input value="maven.apache.org/plugins/maven-deploy-plugin/" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
+          <hr />
+          <div id="poweredBy">
+    <script type="text/javascript">asyncJs( 'https://apis.google.com/js/plusone.js' )</script>
+    <div class="g-plusone" data-href="https://maven.apache.org/plugins/maven-deploy-plugin/" data-size="tall" ></div>
+            <div class="clear"></div>
+            <div class="clear"></div>
+    <div id="twitter">
+    <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+    </div>
+            <div class="clear"></div>
+            <div class="clear"></div>
+<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /></a>
+            </div>
+          </div>
+        </div>
+        <div id="bodyColumn"  class="span10" >
+<div class="section">
+<h2><a name="Deployment_of_artifacts_in_an_external_SSH_command"></a>Deployment of artifacts in an external SSH command</h2>
+<p>In order to deploy artifacts using SSH you must first specify the use of an SSH server in the <b>distributionManagement</b> element of your POM as well as specifying an <tt>extension</tt> in your <tt>build</tt> element which will pull in the SSH artifacts required to deploy with SSH:</p>
+<div class="source"><pre class="prettyprint linenums">
+&lt;project&gt;
+  ...
+  &lt;distributionManagement&gt;
+    &lt;repository&gt;
+      &lt;id&gt;ssh-repository&lt;/id&gt;
+      &lt;url&gt;scpexe://repository.mycompany.com/repository&lt;/url&gt;
+    &lt;/repository&gt;
+  &lt;/distributionManagement&gt;
+
+  &lt;build&gt;
+    &lt;extensions&gt;
+      &lt;!-- Enabling the use of SSH --&gt;
+      &lt;extension&gt;
+        &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
+         &lt;artifactId&gt;wagon-ssh-external&lt;/artifactId&gt;
+         &lt;version&gt;1.0-beta-6&lt;/version&gt;
+      &lt;/extension&gt;
+    &lt;/extensions&gt;
+  &lt;/build&gt;
+  ..
+&lt;/project&gt;
+
+</pre></div>
+<p>If you are deploying from Unix or have Cygwin installed you won't need to any additional configuration in your <tt>settings.xml</tt> file as everything will be taken from the environment. But if you are on Windows and are using something like <tt>plink</tt> then you will need something like the following:</p>
+<div class="source"><pre class="prettyprint linenums">
+&lt;settings&gt;
+  ...
+  &lt;servers&gt;
+    &lt;server&gt;
+      &lt;id&gt;ssh-repository&lt;/id&gt;
+      &lt;username&gt;your username in the remote system if different from local&lt;/username&gt;
+      &lt;privateKey&gt;/path/to/your/private/key&lt;/privateKey&gt; &lt;!-- not needed if using pageant --&gt;
+      &lt;configuration&gt;
+        &lt;sshExecutable&gt;plink&lt;/sshExecutable&gt;
+        &lt;scpExecutable&gt;pscp&lt;/scpExecutable&gt;
+        &lt;sshArgs&gt;other arguments you may need&lt;/sshArgs&gt;
+      &lt;/configuration&gt;
+    &lt;/server&gt;
+  &lt;/servers&gt;
+  ...
+&lt;/settings&gt;
+
+</pre></div>
+<p>You should, of course, make sure that you can login into the specified SSH server by hand before attempting the deployment with Maven. Once you have verified that everything is setup correctly you can now deploy your artifacts using Maven:</p>
+<div class="source"><pre class="prettyprint linenums">mvn deploy
+</pre></div>
+<p>Sometimes you may have permissions problems deploying and if so you can set the file and directory permissions like so:</p>
+<div class="source"><pre class="prettyprint linenums">
+ &lt;settings&gt;
+   ...
+   &lt;servers&gt;
+     &lt;server&gt;
+       &lt;id&gt;ssh-repository&lt;/id&gt;
+       &lt;!--
+        |
+        | Change default file/dir permissions
+        |
+        --&gt;
+       &lt;filePermissions&gt;664&lt;/filePermissions&gt;
+       &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
+       &lt;configuration&gt;
+         &lt;sshExecutable&gt;plink&lt;/sshExecutable&gt;
+         &lt;scpExecutable&gt;pscp&lt;/scpExecutable&gt;
+       &lt;/configuration&gt;
+     &lt;/server&gt;
+   &lt;/servers&gt;
+   ...
+ &lt;/settings&gt;
+
+</pre></div>
+<p><b>NOTE:</b> If you are using Putty it will expect the private key to be in the <tt>PPK</tt> format and not the standard format so make sure you use <tt>puttygen</tt> to convert your openssh format key to <tt>PPK</tt> format or generate another one. Windows users can find the Putty tools on the <a class="externalLink" href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html">PuTTY Download Page</a>.</p></div>
+        </div>
+      </div>
+    </div>
+    <hr/>
+    <footer>
+      <div class="container-fluid">
+        <div class="row-fluid">
+            <p>Copyright &copy;2004&#x2013;2021
+<a href="https://www.apache.org/">The Apache Software Foundation</a>.
+All rights reserved.</p>
+        </div>
+      </div>
+    </footer>
+  </body>
 </html>
\ No newline at end of file