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 [11/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/deploying-in-legacy-layout.html
==============================================================================
--- maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploying-in-legacy-layout.html (original)
+++ maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploying-in-legacy-layout.html Mon Dec 27 14:16:49 2021
@@ -1,155 +1,158 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src/site/apt/examples/deploying-in-legacy-layout.apt.vm 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="Allan Ramirez" />
- <meta name="Date-Creation-yyyymmdd" content="20060621" />
- <meta name="Date-Revision-yyyymmdd" content="20191027" />
- <meta http-equiv="Content-Language" content="en" />
- <title>Apache Maven Deploy Plugin – Deploy an artifact in legacy layout</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 ">Deploy an artifact in legacy layout <a href="https://github.com/apache/maven-deploy-plugin/tree/HEAD/src/site/apt/examples/deploying-in-legacy-layout.apt.vm"><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-right"></span>Project Deployment</a></li>
- <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-down"></span>File Deployment</a>
- <ul class="nav nav-list">
- <li><a href="../examples/disabling-generic-pom.html" title="Disable the generation of pom"><span class="none"></span>Disable the generation of pom</a></li>
- <li><a href="../examples/deploying-with-customized-pom.html" title="Deploy an artifact with a customized pom"><span class="none"></span>Deploy an artifact with a customized pom</a></li>
- <li><a href="../examples/deploying-with-classifiers.html" title="Deploy an artifact with classifier"><span class="none"></span>Deploy an artifact with classifier</a></li>
- <li><a href="../examples/deploying-sources-javadoc.html" title="Deploy an artifact with sources and javadoc"><span class="none"></span>Deploy an artifact with sources and javadoc</a></li>
- <li class="active"><a href="#"><span class="none"></span>Deploy an artifact in legacy layout</a></li>
- </ul>
-</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="Deploy_an_artifact_in_legacy_layout"></a>Deploy an artifact in legacy layout</h2>
-<p>"Legacy" is the layout used in maven 1 repositories while maven 2 uses "default". They are different in terms of directory structure, timestamp of snapshots in default and existence of metadata files in default.</p>
-<ul>
-<li>legacy layout directory structure:
-<div class="source"><pre class="prettyprint linenums"> groupId
- |--artifactId
- |--jars
- `--artifact</pre></div></li>
-<li>default layout directory structure:
-<div class="source"><pre class="prettyprint linenums"> groupId
- |--artifactId
- |--version
- | `---artifact
- |---metadata</pre></div>
-<p>In able to deploy an artifact in a legacy layout of repository, set the <b>repositoryLayout</b> parameter to <tt>legacy</tt> value.</p>
-<div class="source"><pre class="prettyprint linenums">mvn org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M2-SNAPSHOT:deploy-file -Durl=file:///C:/m2-repo \
- -DrepositoryId=some.id \
- -Dfile=your-artifact-1.0.jar \
- -DpomFile=your-pom.xml \
- -DrepositoryLayout=legacy</pre></div>
-<p><b>Note</b>: By using the fully qualified path of a goal, you're ensured to be using the preferred version of the maven-deploy-plugin. When using <tt>mvn deploy:deploy-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></li></ul></div>
- </div>
- </div>
- </div>
- <hr/>
- <footer>
- <div class="container-fluid">
- <div class="row-fluid">
- <p>Copyright ©2004–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\deploying-in-legacy-layout.apt.vm 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="Allan Ramirez" />
+ <meta name="Date-Creation-yyyymmdd" content="20060621" />
+ <meta name="Date-Revision-yyyymmdd" content="20211227" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Maven Deploy Plugin – Deploy an artifact in legacy layout</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 ">Deploy an artifact in legacy layout <a href="https://github.com/apache/maven-deploy-plugin/tree/maven-deploy-plugin-3.0.0-M2/src\site\apt/examples\deploying-in-legacy-layout.apt.vm"><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-right"></span>Project Deployment</a></li>
+ <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-down"></span>File Deployment</a>
+ <ul class="nav nav-list">
+ <li><a href="../examples/disabling-generic-pom.html" title="Disable the generation of pom"><span class="none"></span>Disable the generation of pom</a></li>
+ <li><a href="../examples/deploying-with-customized-pom.html" title="Deploy an artifact with a customized pom"><span class="none"></span>Deploy an artifact with a customized pom</a></li>
+ <li><a href="../examples/deploying-with-classifiers.html" title="Deploy an artifact with classifier"><span class="none"></span>Deploy an artifact with classifier</a></li>
+ <li><a href="../examples/deploying-sources-javadoc.html" title="Deploy an artifact with sources and javadoc"><span class="none"></span>Deploy an artifact with sources and javadoc</a></li>
+ <li class="active"><a href="#"><span class="none"></span>Deploy an artifact in legacy layout</a></li>
+ </ul>
+</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="Deploy_an_artifact_in_legacy_layout"></a>Deploy an artifact in legacy layout</h2>
+<p>"Legacy" is the layout used in maven 1 repositories while maven 2 uses "default". They are different in terms of directory structure, timestamp of snapshots in default and existence of metadata files in default.</p>
+<ul>
+<li>legacy layout directory structure:
+<div class="source"><pre class="prettyprint linenums"> groupId
+ |--artifactId
+ |--jars
+ `--artifact
+</pre></div></li>
+<li>default layout directory structure:
+<div class="source"><pre class="prettyprint linenums"> groupId
+ |--artifactId
+ |--version
+ | `---artifact
+ |---metadata
+</pre></div>
+<p>In able to deploy an artifact in a legacy layout of repository, set the <b>repositoryLayout</b> parameter to <tt>legacy</tt> value.</p>
+<div class="source"><pre class="prettyprint linenums">mvn org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M2:deploy-file -Durl=file:///C:/m2-repo \
+ -DrepositoryId=some.id \
+ -Dfile=your-artifact-1.0.jar \
+ -DpomFile=your-pom.xml \
+ -DrepositoryLayout=legacy
+</pre></div>
+<p><b>Note</b>: By using the fully qualified path of a goal, you're ensured to be using the preferred version of the maven-deploy-plugin. When using <tt>mvn deploy:deploy-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></li></ul></div>
+ </div>
+ </div>
+ </div>
+ <hr/>
+ <footer>
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <p>Copyright ©2004–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/deploying-sources-javadoc.html
==============================================================================
--- maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploying-sources-javadoc.html (original)
+++ maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploying-sources-javadoc.html Mon Dec 27 14:16:49 2021
@@ -1,146 +1,148 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src/site/apt/examples/deploying-sources-javadoc.apt.vm 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="Date-Creation-yyyymmdd" content="200110223" />
- <meta name="Date-Revision-yyyymmdd" content="20191027" />
- <meta http-equiv="Content-Language" content="en" />
- <title>Apache Maven Deploy Plugin – Deploy sources and javadocs for an artifact</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 ">Deploy sources and javadocs for an artifact <a href="https://github.com/apache/maven-deploy-plugin/tree/HEAD/src/site/apt/examples/deploying-sources-javadoc.apt.vm"><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-right"></span>Project Deployment</a></li>
- <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-down"></span>File Deployment</a>
- <ul class="nav nav-list">
- <li><a href="../examples/disabling-generic-pom.html" title="Disable the generation of pom"><span class="none"></span>Disable the generation of pom</a></li>
- <li><a href="../examples/deploying-with-customized-pom.html" title="Deploy an artifact with a customized pom"><span class="none"></span>Deploy an artifact with a customized pom</a></li>
- <li><a href="../examples/deploying-with-classifiers.html" title="Deploy an artifact with classifier"><span class="none"></span>Deploy an artifact with classifier</a></li>
- <li class="active"><a href="#"><span class="none"></span>Deploy an artifact with sources and javadoc</a></li>
- <li><a href="../examples/deploying-in-legacy-layout.html" title="Deploy an artifact in legacy layout"><span class="none"></span>Deploy an artifact in legacy layout</a></li>
- </ul>
-</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="Deploy_sources_and_javadoc_jars"></a>Deploy sources and javadoc jars</h2>
-<p>A project may include a main jar and associated sources and javadoc jars.</p>
-<div class="source"><pre class="prettyprint linenums"> artifact-name-1.0.jar
- artifact-name-1.0-sources.jar
- artifact-name-1.0-javadoc.jar</pre></div>
-<p>The sources jar contains the Java sources, and the javadoc jar contains the generated javadocs. To include these files in your deployment, set the <b>sources</b> and <b>javadoc</b> parameters to the paths to the sources and javadoc jar files.</p>
-<div class="source"><pre class="prettyprint linenums">mvn org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M2-SNAPSHOT:deploy-file -Durl=file:///home/me/m2-repo \
- -DrepositoryId=some.repo.id \
- -Dfile=./path/to/artifact-name-1.0.jar \
- -DpomFile=./path/to/pom.xml \
- -Dsources=./path/to/artifact-name-1.0-sources.jar \
- -Djavadoc=./path/to/artifact-name-1.0-javadoc.jar</pre></div>
-<p><b>Note</b>: By using the fully qualified path of a goal, you're ensured to be using the preferred version of the maven-deploy-plugin. When using <tt>mvn deploy:deploy-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></div>
- </div>
- </div>
- </div>
- <hr/>
- <footer>
- <div class="container-fluid">
- <div class="row-fluid">
- <p>Copyright ©2004–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\deploying-sources-javadoc.apt.vm 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="Date-Creation-yyyymmdd" content="200110223" />
+ <meta name="Date-Revision-yyyymmdd" content="20211227" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Maven Deploy Plugin – Deploy sources and javadocs for an artifact</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 ">Deploy sources and javadocs for an artifact <a href="https://github.com/apache/maven-deploy-plugin/tree/maven-deploy-plugin-3.0.0-M2/src\site\apt/examples\deploying-sources-javadoc.apt.vm"><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-right"></span>Project Deployment</a></li>
+ <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-down"></span>File Deployment</a>
+ <ul class="nav nav-list">
+ <li><a href="../examples/disabling-generic-pom.html" title="Disable the generation of pom"><span class="none"></span>Disable the generation of pom</a></li>
+ <li><a href="../examples/deploying-with-customized-pom.html" title="Deploy an artifact with a customized pom"><span class="none"></span>Deploy an artifact with a customized pom</a></li>
+ <li><a href="../examples/deploying-with-classifiers.html" title="Deploy an artifact with classifier"><span class="none"></span>Deploy an artifact with classifier</a></li>
+ <li class="active"><a href="#"><span class="none"></span>Deploy an artifact with sources and javadoc</a></li>
+ <li><a href="../examples/deploying-in-legacy-layout.html" title="Deploy an artifact in legacy layout"><span class="none"></span>Deploy an artifact in legacy layout</a></li>
+ </ul>
+</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="Deploy_sources_and_javadoc_jars"></a>Deploy sources and javadoc jars</h2>
+<p>A project may include a main jar and associated sources and javadoc jars.</p>
+<div class="source"><pre class="prettyprint linenums"> artifact-name-1.0.jar
+ artifact-name-1.0-sources.jar
+ artifact-name-1.0-javadoc.jar
+</pre></div>
+<p>The sources jar contains the Java sources, and the javadoc jar contains the generated javadocs. To include these files in your deployment, set the <b>sources</b> and <b>javadoc</b> parameters to the paths to the sources and javadoc jar files.</p>
+<div class="source"><pre class="prettyprint linenums">mvn org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M2:deploy-file -Durl=file:///home/me/m2-repo \
+ -DrepositoryId=some.repo.id \
+ -Dfile=./path/to/artifact-name-1.0.jar \
+ -DpomFile=./path/to/pom.xml \
+ -Dsources=./path/to/artifact-name-1.0-sources.jar \
+ -Djavadoc=./path/to/artifact-name-1.0-javadoc.jar
+</pre></div>
+<p><b>Note</b>: By using the fully qualified path of a goal, you're ensured to be using the preferred version of the maven-deploy-plugin. When using <tt>mvn deploy:deploy-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></div>
+ </div>
+ </div>
+ </div>
+ <hr/>
+ <footer>
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <p>Copyright ©2004–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/deploying-with-classifiers.html
==============================================================================
--- maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploying-with-classifiers.html (original)
+++ maven/website/components/plugins-archives/maven-deploy-plugin-LATEST/examples/deploying-with-classifiers.html Mon Dec 27 14:16:49 2021
@@ -1,156 +1,158 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src/site/apt/examples/deploying-with-classifiers.apt.vm 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="Robert Scholte" />
- <meta name="Date-Creation-yyyymmdd" content="20130901" />
- <meta name="Date-Revision-yyyymmdd" content="20191027" />
- <meta http-equiv="Content-Language" content="en" />
- <title>Apache Maven Deploy Plugin – Deploy an artifact with classifier</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 ">Deploy an artifact with classifier <a href="https://github.com/apache/maven-deploy-plugin/tree/HEAD/src/site/apt/examples/deploying-with-classifiers.apt.vm"><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-right"></span>Project Deployment</a></li>
- <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-down"></span>File Deployment</a>
- <ul class="nav nav-list">
- <li><a href="../examples/disabling-generic-pom.html" title="Disable the generation of pom"><span class="none"></span>Disable the generation of pom</a></li>
- <li><a href="../examples/deploying-with-customized-pom.html" title="Deploy an artifact with a customized pom"><span class="none"></span>Deploy an artifact with a customized pom</a></li>
- <li class="active"><a href="#"><span class="none"></span>Deploy an artifact with classifier</a></li>
- <li><a href="../examples/deploying-sources-javadoc.html" title="Deploy an artifact with sources and javadoc"><span class="none"></span>Deploy an artifact with sources and javadoc</a></li>
- <li><a href="../examples/deploying-in-legacy-layout.html" title="Deploy an artifact in legacy layout"><span class="none"></span>Deploy an artifact in legacy layout</a></li>
- </ul>
-</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="Deploy_an_artifact_with_classifier"></a>Deploy an artifact with classifier</h2>
-<p>Beside the main artifact there can be additional files which are attached to the Maven project. Such attached files can be recognized and accessed by their classifier.</p>
-<p>For example: from the following artifact names, the classifier is located between the version and extension name of the artifact.</p>
-<ul>
-<li><tt>artifact-name-1.0.jar</tt> the main jar which contains classes compiled without <a class="externalLink" href="https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#debug">debugging</a> information (such as linenumbers)</li>
-<li><tt>artifact-name-1.0-debug.jar</tt> the classified jar which contains classes compiled with <a class="externalLink" href="https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#debug">debugging</a> information, so will be larger</li>
-<li><tt>artifact-name-1.0-site.pdf</tt> a pdf which contains an export of the site documentation. </li></ul>
-<p>You can deploy the main artifact and the classified artifacts in a single run. Let's assume the original filename for the documentation is <tt>site.pdf</tt>: </p>
-<div class="source"><pre class="prettyprint linenums">mvn org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M2-SNAPSHOT:deploy-file -Durl=http://localhost:8081/repomanager/ \
- -DrepositoryId=some.id \
- -Dfile=path/to/artifact-name-1.0.jar \
- -DpomFile=path-to-your-pom.xml \
- -Dfiles=path/to/artifact-name-1.0-debug.jar,path/to/site.pdf \
- -Dclassifiers=debug,site \
- -Dtypes=jar,pdf</pre></div>
-<p>If you only want to deploy the <tt>debug</tt>-jar and want to keep the classifier, you can execute the <tt>deploy-file</tt> like</p>
-<div class="source"><pre class="prettyprint linenums">mvn org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M2-SNAPSHOT:deploy-file -Durl=http://localhost:8081/repomanager/ \
- -DrepositoryId=some.id \
- -Dfile=path-to-your-artifact-jar \
- -DpomFile=path-to-your-pom.xml \
- -Dclassifier=bin</pre></div>
-<p><b>Note</b>: By using the fully qualified path of a goal, you're ensured to be using the preferred version of the maven-deploy-plugin. When using <tt>mvn deploy:deploy-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></div>
- </div>
- </div>
- </div>
- <hr/>
- <footer>
- <div class="container-fluid">
- <div class="row-fluid">
- <p>Copyright ©2004–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\deploying-with-classifiers.apt.vm 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="Robert Scholte" />
+ <meta name="Date-Creation-yyyymmdd" content="20130901" />
+ <meta name="Date-Revision-yyyymmdd" content="20211227" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Maven Deploy Plugin – Deploy an artifact with classifier</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 ">Deploy an artifact with classifier <a href="https://github.com/apache/maven-deploy-plugin/tree/maven-deploy-plugin-3.0.0-M2/src\site\apt/examples\deploying-with-classifiers.apt.vm"><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-right"></span>Project Deployment</a></li>
+ <li><a href="../file-deployment.html" title="File Deployment"><span class="icon-chevron-down"></span>File Deployment</a>
+ <ul class="nav nav-list">
+ <li><a href="../examples/disabling-generic-pom.html" title="Disable the generation of pom"><span class="none"></span>Disable the generation of pom</a></li>
+ <li><a href="../examples/deploying-with-customized-pom.html" title="Deploy an artifact with a customized pom"><span class="none"></span>Deploy an artifact with a customized pom</a></li>
+ <li class="active"><a href="#"><span class="none"></span>Deploy an artifact with classifier</a></li>
+ <li><a href="../examples/deploying-sources-javadoc.html" title="Deploy an artifact with sources and javadoc"><span class="none"></span>Deploy an artifact with sources and javadoc</a></li>
+ <li><a href="../examples/deploying-in-legacy-layout.html" title="Deploy an artifact in legacy layout"><span class="none"></span>Deploy an artifact in legacy layout</a></li>
+ </ul>
+</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="Deploy_an_artifact_with_classifier"></a>Deploy an artifact with classifier</h2>
+<p>Beside the main artifact there can be additional files which are attached to the Maven project. Such attached files can be recognized and accessed by their classifier.</p>
+<p>For example: from the following artifact names, the classifier is located between the version and extension name of the artifact.</p>
+<ul>
+<li><tt>artifact-name-1.0.jar</tt> the main jar which contains classes compiled without <a class="externalLink" href="https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#debug">debugging</a> information (such as linenumbers)</li>
+<li><tt>artifact-name-1.0-debug.jar</tt> the classified jar which contains classes compiled with <a class="externalLink" href="https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#debug">debugging</a> information, so will be larger</li>
+<li><tt>artifact-name-1.0-site.pdf</tt> a pdf which contains an export of the site documentation. </li></ul>
+<p>You can deploy the main artifact and the classified artifacts in a single run. Let's assume the original filename for the documentation is <tt>site.pdf</tt>: </p>
+<div class="source"><pre class="prettyprint linenums">mvn org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M2:deploy-file -Durl=http://localhost:8081/repomanager/ \
+ -DrepositoryId=some.id \
+ -Dfile=path/to/artifact-name-1.0.jar \
+ -DpomFile=path-to-your-pom.xml \
+ -Dfiles=path/to/artifact-name-1.0-debug.jar,path/to/site.pdf \
+ -Dclassifiers=debug,site \
+ -Dtypes=jar,pdf
+</pre></div>
+<p>If you only want to deploy the <tt>debug</tt>-jar and want to keep the classifier, you can execute the <tt>deploy-file</tt> like</p>
+<div class="source"><pre class="prettyprint linenums">mvn org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M2:deploy-file -Durl=http://localhost:8081/repomanager/ \
+ -DrepositoryId=some.id \
+ -Dfile=path-to-your-artifact-jar \
+ -DpomFile=path-to-your-pom.xml \
+ -Dclassifier=bin
+</pre></div>
+<p><b>Note</b>: By using the fully qualified path of a goal, you're ensured to be using the preferred version of the maven-deploy-plugin. When using <tt>mvn deploy:deploy-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></div>
+ </div>
+ </div>
+ </div>
+ <hr/>
+ <footer>
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <p>Copyright ©2004–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