Modified: websites/production/maven/content/plugins-archives/maven-install-plugin-LATEST/examples/custom-pom-installation.html ============================================================================== --- websites/production/maven/content/plugins-archives/maven-install-plugin-LATEST/examples/custom-pom-installation.html (original) +++ websites/production/maven/content/plugins-archives/maven-install-plugin-LATEST/examples/custom-pom-installation.html Wed Aug 27 20:10:49 2014 @@ -1,203 +1,207 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!-- - | Generated by Apache Maven Doxia at 2013-10-14 - | Rendered using Apache Maven Stylus Skin 1.5 ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Apache Maven Install Plugin - Installing an artifact with a custom POM</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta name="author" content="Allan Ramirez" /> - <meta name="Date-Creation-yyyymmdd" content="20090322" /> - <meta name="Date-Revision-yyyymmdd" content="20131014" /> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - -<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> - -<script type="text/javascript">_uacct = "UA-140879-1"; - urchinTracker();</script> - </head> - <body class="composite"> - <div id="banner"> - <a href="../../../" id="bannerLeft"> - <img src="../../../images/apache-maven-project-2.png" alt="" /> - </a> - <span id="bannerRight"> - <img src="../../../images/maven-logo-2.gif" alt="" /> - </span> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> - - <div class="xleft"> - <a href="http://www.apache.org/" class="externalLink">Apache</a> - > - <a href="../../../index.html">Maven</a> - > - <a href="../../index.html">Plugins</a> - > - <a href="../">Apache Maven Install Plugin</a> - > - Installing an artifact with a custom POM - </div> - <div class="xright"> - Last Published: 2013-10-14 - | Version: 2.5.1 - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - <h5>Overview</h5> - <ul> - <li class="none"> - <a href="../index.html">Introduction</a> - </li> - <li class="none"> - <a href="../plugin-info.html">Goals</a> - </li> - <li class="none"> - <a href="../usage.html">Usage</a> - </li> - <li class="none"> - <a href="../faq.html">FAQ</a> - </li> - </ul> - <h5>Examples</h5> - <ul> - <li class="none"> - <strong>Installing Artifact with Custom POM</strong> - </li> - <li class="none"> - <a href="../examples/generic-pom-generation.html">Generating Generic POM</a> - </li> - <li class="none"> - <a href="../examples/installing-checksums.html">Creating Checksums</a> - </li> - <li class="none"> - <a href="../examples/update-release-info.html">Updating Release Info</a> - </li> - <li class="none"> - <a href="../examples/specific-local-repo.html">Installing to a Specific Local Repository Path</a> - </li> - <li class="none"> - <a href="../examples/installing-secondary-artifacts.html">Installing Secondary Artifacts</a> - </li> - </ul> - <h5>Project Documentation</h5> - <ul> - <li class="collapsed"> - <a href="../project-info.html">Project Information</a> - </li> - <li class="collapsed"> - <a href="../project-reports.html">Project Reports</a> - </li> - </ul> - <h5>Maven Projects</h5> - <ul> - <li class="none"> - <a href="../../../ant-tasks/index.html">Ant Tasks</a> - </li> - <li class="none"> - <a href="../../../archetype/index.html">Archetype</a> - </li> - <li class="none"> - <a href="../../../doxia/index.html">Doxia</a> - </li> - <li class="none"> - <a href="../../../jxr/index.html">JXR</a> - </li> - <li class="none"> - <a href="../../../maven-1.x/index.html">Maven 1.x</a> - </li> - <li class="none"> - <a href="../../../index.html">Maven 2 & 3</a> - </li> - <li class="none"> - <a href="../../../pom/index.html">Parent POMs</a> - </li> - <li class="none"> - <a href="../../index.html">Plugins</a> - </li> - <li class="none"> - <a href="../../../plugin-tools/index.html">Plugin Tools</a> - </li> - <li class="none"> - <a href="../../../scm/index.html">SCM</a> - </li> - <li class="none"> - <a href="../../../shared/index.html">Shared Components</a> - </li> - <li class="none"> - <a href="../../../skins/index.html">Skins</a> - </li> - <li class="none"> - <a href="../../../surefire/index.html">Surefire</a> - </li> - <li class="none"> - <a href="../../../wagon/index.html">Wagon</a> - </li> - </ul> - <h5>ASF</h5> - <ul> - <li class="none"> - <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"/> - </a> - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt- format.html --><div class="section"> -<h2>Installing an artifact with a custom POM<a name="Installing_an_artifact_with_a_custom_POM"></a></h2> -<p>The Apache Maven Install Plugin can include a pre-built custom POM with the artifact in the local repository. Just set the value of the <tt>pomFile</tt> parameter to the path of the custom POM.</p> -<div class="source"> -<pre>mvn org.apache.maven.plugins:maven-install-plugin:2.5.1:install-file -Dfile=path-to-your-artifact-jar -DpomFile=path-to-pom -</pre></div> -<p>If the JAR was built by Apache Maven, it'll contain a pom.xml in a subfolder of the META-INF directory, which will be read by default. In that case, all you need to do is:</p> -<div class="source"> -<pre>mvn org.apache.maven.plugins:maven-install-plugin:2.5.1:install-file -Dfile=<path-to-file> -</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-install-plugin. When using <tt>mvn install:install-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></div> - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright"> - © 2004-2013 - The Apache Software Foundation - - - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>. - Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation. - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- + | Generated by Apache Maven Doxia at 2014-08-27 + | Rendered using Apache Maven Stylus Skin 1.5 +--> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Apache Maven Install Plugin - Installing an artifact with a custom POM</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="author" content="Allan Ramirez" /> + <meta name="Date-Creation-yyyymmdd" content="20090322" /> + <meta name="Date-Revision-yyyymmdd" content="20140827" /> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> + <body class="composite"> + <div id="banner"> + <a href="../../../" id="bannerLeft"> + <img src="../../../images/apache-maven-project-2.png" alt="" /> + </a> + <span id="bannerRight"> + <img src="../../../images/maven-logo-2.gif" alt="" /> + </span> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + <div class="xleft"> + <a href="http://www.apache.org/" class="externalLink">Apache</a> + > + <a href="../../../index.html">Maven</a> + > + <a href="../../index.html">Plugins</a> + > + <a href="../">Apache Maven Install Plugin</a> + > + Installing an artifact with a custom POM + </div> + <div class="xright"> + Last Published: 2014-08-27 + | Version: 2.5.2 + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + <h5>Overview</h5> + <ul> + <li class="none"> + <a href="../index.html">Introduction</a> + </li> + <li class="none"> + <a href="../plugin-info.html">Goals</a> + </li> + <li class="none"> + <a href="../usage.html">Usage</a> + </li> + <li class="none"> + <a href="../faq.html">FAQ</a> + </li> + <li class="none"> + <a href="http://www.apache.org/licenses/" class="externalLink">License</a> + </li> + <li class="none"> + <a href="../download.html">Download</a> + </li> + </ul> + <h5>Examples</h5> + <ul> + <li class="none"> + <strong>Installing Artifact with Custom POM</strong> + </li> + <li class="none"> + <a href="../examples/generic-pom-generation.html">Generating Generic POM</a> + </li> + <li class="none"> + <a href="../examples/installing-checksums.html">Creating Checksums</a> + </li> + <li class="none"> + <a href="../examples/update-release-info.html">Updating Release Info</a> + </li> + <li class="none"> + <a href="../examples/specific-local-repo.html">Installing to a Specific Local Repository Path</a> + </li> + <li class="none"> + <a href="../examples/installing-secondary-artifacts.html">Installing Secondary Artifacts</a> + </li> + </ul> + <h5>Project Documentation</h5> + <ul> + <li class="collapsed"> + <a href="../project-info.html">Project Information</a> + </li> + <li class="collapsed"> + <a href="../project-reports.html">Project Reports</a> + </li> + </ul> + <h5>Maven Projects</h5> + <ul> + <li class="none"> + <a href="../../../ant-tasks/index.html">Ant Tasks</a> + </li> + <li class="none"> + <a href="../../../archetype/index.html">Archetype</a> + </li> + <li class="none"> + <a href="../../../doxia/index.html">Doxia</a> + </li> + <li class="none"> + <a href="../../../jxr/index.html">JXR</a> + </li> + <li class="none"> + <a href="../../../maven-1.x/index.html">Maven 1.x</a> + </li> + <li class="none"> + <a href="../../../index.html">Maven 2 & 3</a> + </li> + <li class="none"> + <a href="../../../pom/index.html">Parent POMs</a> + </li> + <li class="none"> + <a href="../../index.html">Plugins</a> + </li> + <li class="none"> + <a href="../../../plugin-tools/index.html">Plugin Tools</a> + </li> + <li class="none"> + <a href="../../../scm/index.html">SCM</a> + </li> + <li class="none"> + <a href="../../../shared/index.html">Shared Components</a> + </li> + <li class="none"> + <a href="../../../skins/index.html">Skins</a> + </li> + <li class="none"> + <a href="../../../surefire/index.html">Surefire</a> + </li> + <li class="none"> + <a href="../../../wagon/index.html">Wagon</a> + </li> + </ul> + <h5>ASF</h5> + <ul> + <li class="none"> + <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img alt="Built by Maven" src="../images/logos/maven-feather.png"/> + </a> + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt- format.html --><div class="section"> +<h2>Installing an artifact with a custom POM<a name="Installing_an_artifact_with_a_custom_POM"></a></h2> +<p>The Apache Maven Install Plugin can include a pre-built custom POM with the artifact in the local repository. Just set the value of the <tt>pomFile</tt> parameter to the path of the custom POM.</p> +<div class="source"> +<pre>mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=path-to-your-artifact-jar -DpomFile=path-to-pom</pre></div> +<p>If the JAR was built by Apache Maven, it'll contain a pom.xml in a subfolder of the META-INF directory, which will be read by default. In that case, all you need to do is:</p> +<div class="source"> +<pre>mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=<path-to-file></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-install-plugin. When using <tt>mvn install:install-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></div> + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + © 2004-2014 + The Apache Software Foundation + + - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>. + Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation. + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> </html> \ No newline at end of file
Modified: websites/production/maven/content/plugins-archives/maven-install-plugin-LATEST/examples/generic-pom-generation.html ============================================================================== --- websites/production/maven/content/plugins-archives/maven-install-plugin-LATEST/examples/generic-pom-generation.html (original) +++ websites/production/maven/content/plugins-archives/maven-install-plugin-LATEST/examples/generic-pom-generation.html Wed Aug 27 20:10:49 2014 @@ -1,204 +1,209 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!-- - | Generated by Apache Maven Doxia at 2013-10-14 - | Rendered using Apache Maven Stylus Skin 1.5 ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Apache Maven Install Plugin - Generating a generic POM</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta name="author" content="Allan Ramirez" /> - <meta name="Date-Creation-yyyymmdd" content="20090322" /> - <meta name="Date-Revision-yyyymmdd" content="20131014" /> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - -<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> - -<script type="text/javascript">_uacct = "UA-140879-1"; - urchinTracker();</script> - </head> - <body class="composite"> - <div id="banner"> - <a href="../../../" id="bannerLeft"> - <img src="../../../images/apache-maven-project-2.png" alt="" /> - </a> - <span id="bannerRight"> - <img src="../../../images/maven-logo-2.gif" alt="" /> - </span> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> - - <div class="xleft"> - <a href="http://www.apache.org/" class="externalLink">Apache</a> - > - <a href="../../../index.html">Maven</a> - > - <a href="../../index.html">Plugins</a> - > - <a href="../">Apache Maven Install Plugin</a> - > - Generating a generic POM - </div> - <div class="xright"> - Last Published: 2013-10-14 - | Version: 2.5.1 - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - <h5>Overview</h5> - <ul> - <li class="none"> - <a href="../index.html">Introduction</a> - </li> - <li class="none"> - <a href="../plugin-info.html">Goals</a> - </li> - <li class="none"> - <a href="../usage.html">Usage</a> - </li> - <li class="none"> - <a href="../faq.html">FAQ</a> - </li> - </ul> - <h5>Examples</h5> - <ul> - <li class="none"> - <a href="../examples/custom-pom-installation.html">Installing Artifact with Custom POM</a> - </li> - <li class="none"> - <strong>Generating Generic POM</strong> - </li> - <li class="none"> - <a href="../examples/installing-checksums.html">Creating Checksums</a> - </li> - <li class="none"> - <a href="../examples/update-release-info.html">Updating Release Info</a> - </li> - <li class="none"> - <a href="../examples/specific-local-repo.html">Installing to a Specific Local Repository Path</a> - </li> - <li class="none"> - <a href="../examples/installing-secondary-artifacts.html">Installing Secondary Artifacts</a> - </li> - </ul> - <h5>Project Documentation</h5> - <ul> - <li class="collapsed"> - <a href="../project-info.html">Project Information</a> - </li> - <li class="collapsed"> - <a href="../project-reports.html">Project Reports</a> - </li> - </ul> - <h5>Maven Projects</h5> - <ul> - <li class="none"> - <a href="../../../ant-tasks/index.html">Ant Tasks</a> - </li> - <li class="none"> - <a href="../../../archetype/index.html">Archetype</a> - </li> - <li class="none"> - <a href="../../../doxia/index.html">Doxia</a> - </li> - <li class="none"> - <a href="../../../jxr/index.html">JXR</a> - </li> - <li class="none"> - <a href="../../../maven-1.x/index.html">Maven 1.x</a> - </li> - <li class="none"> - <a href="../../../index.html">Maven 2 & 3</a> - </li> - <li class="none"> - <a href="../../../pom/index.html">Parent POMs</a> - </li> - <li class="none"> - <a href="../../index.html">Plugins</a> - </li> - <li class="none"> - <a href="../../../plugin-tools/index.html">Plugin Tools</a> - </li> - <li class="none"> - <a href="../../../scm/index.html">SCM</a> - </li> - <li class="none"> - <a href="../../../shared/index.html">Shared Components</a> - </li> - <li class="none"> - <a href="../../../skins/index.html">Skins</a> - </li> - <li class="none"> - <a href="../../../surefire/index.html">Surefire</a> - </li> - <li class="none"> - <a href="../../../wagon/index.html">Wagon</a> - </li> - </ul> - <h5>ASF</h5> - <ul> - <li class="none"> - <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"/> - </a> - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt- format.html --><div class="section"> -<h2>Generating a generic POM<a name="Generating_a_generic_POM"></a></h2> -<p>There are times when you do not have a POM for a 3rd party artifact. For instance, when installing a proprietary or commercial JAR into a repository. The Install Plugin can create a generic POM in this case which contains the minimal set of POM elements required by Maven, such as groupId, artifactId, version, packaging. You tell Maven to generate a POM by setting the <tt>generatePom</tt> parameter to <tt>true</tt>.</p> -<div class="source"> -<pre>mvn org.apache.maven.plugins:maven-install-plugin:2.5.1:install-file -Dfile=path-to-your-artifact-jar \ - -DgroupId=your.groupId \ - -DartifactId=your-artifactId \ - -Dversion=version \ - -Dpackaging=jar \ - -DgeneratePom=true -</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-install-plugin. When using <tt>mvn install:install-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></div> - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright"> - © 2004-2013 - The Apache Software Foundation - - - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>. - Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation. - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- + | Generated by Apache Maven Doxia at 2014-08-27 + | Rendered using Apache Maven Stylus Skin 1.5 +--> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Apache Maven Install Plugin - Generating a generic POM</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="author" content="Allan Ramirez" /> + <meta name="Date-Creation-yyyymmdd" content="20090322" /> + <meta name="Date-Revision-yyyymmdd" content="20140827" /> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> + <body class="composite"> + <div id="banner"> + <a href="../../../" id="bannerLeft"> + <img src="../../../images/apache-maven-project-2.png" alt="" /> + </a> + <span id="bannerRight"> + <img src="../../../images/maven-logo-2.gif" alt="" /> + </span> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + <div class="xleft"> + <a href="http://www.apache.org/" class="externalLink">Apache</a> + > + <a href="../../../index.html">Maven</a> + > + <a href="../../index.html">Plugins</a> + > + <a href="../">Apache Maven Install Plugin</a> + > + Generating a generic POM + </div> + <div class="xright"> + Last Published: 2014-08-27 + | Version: 2.5.2 + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + <h5>Overview</h5> + <ul> + <li class="none"> + <a href="../index.html">Introduction</a> + </li> + <li class="none"> + <a href="../plugin-info.html">Goals</a> + </li> + <li class="none"> + <a href="../usage.html">Usage</a> + </li> + <li class="none"> + <a href="../faq.html">FAQ</a> + </li> + <li class="none"> + <a href="http://www.apache.org/licenses/" class="externalLink">License</a> + </li> + <li class="none"> + <a href="../download.html">Download</a> + </li> + </ul> + <h5>Examples</h5> + <ul> + <li class="none"> + <a href="../examples/custom-pom-installation.html">Installing Artifact with Custom POM</a> + </li> + <li class="none"> + <strong>Generating Generic POM</strong> + </li> + <li class="none"> + <a href="../examples/installing-checksums.html">Creating Checksums</a> + </li> + <li class="none"> + <a href="../examples/update-release-info.html">Updating Release Info</a> + </li> + <li class="none"> + <a href="../examples/specific-local-repo.html">Installing to a Specific Local Repository Path</a> + </li> + <li class="none"> + <a href="../examples/installing-secondary-artifacts.html">Installing Secondary Artifacts</a> + </li> + </ul> + <h5>Project Documentation</h5> + <ul> + <li class="collapsed"> + <a href="../project-info.html">Project Information</a> + </li> + <li class="collapsed"> + <a href="../project-reports.html">Project Reports</a> + </li> + </ul> + <h5>Maven Projects</h5> + <ul> + <li class="none"> + <a href="../../../ant-tasks/index.html">Ant Tasks</a> + </li> + <li class="none"> + <a href="../../../archetype/index.html">Archetype</a> + </li> + <li class="none"> + <a href="../../../doxia/index.html">Doxia</a> + </li> + <li class="none"> + <a href="../../../jxr/index.html">JXR</a> + </li> + <li class="none"> + <a href="../../../maven-1.x/index.html">Maven 1.x</a> + </li> + <li class="none"> + <a href="../../../index.html">Maven 2 & 3</a> + </li> + <li class="none"> + <a href="../../../pom/index.html">Parent POMs</a> + </li> + <li class="none"> + <a href="../../index.html">Plugins</a> + </li> + <li class="none"> + <a href="../../../plugin-tools/index.html">Plugin Tools</a> + </li> + <li class="none"> + <a href="../../../scm/index.html">SCM</a> + </li> + <li class="none"> + <a href="../../../shared/index.html">Shared Components</a> + </li> + <li class="none"> + <a href="../../../skins/index.html">Skins</a> + </li> + <li class="none"> + <a href="../../../surefire/index.html">Surefire</a> + </li> + <li class="none"> + <a href="../../../wagon/index.html">Wagon</a> + </li> + </ul> + <h5>ASF</h5> + <ul> + <li class="none"> + <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img alt="Built by Maven" src="../images/logos/maven-feather.png"/> + </a> + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt- format.html --><div class="section"> +<h2>Generating a generic POM<a name="Generating_a_generic_POM"></a></h2> +<p>There are times when you do not have a POM for a 3rd party artifact. For instance, when installing a proprietary or commercial JAR into a repository. The Install Plugin can create a generic POM in this case which contains the minimal set of POM elements required by Maven, such as groupId, artifactId, version, packaging. You tell Maven to generate a POM by setting the <tt>generatePom</tt> parameter to <tt>true</tt>.</p> +<div class="source"> +<pre>mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=path-to-your-artifact-jar \ + -DgroupId=your.groupId \ + -DartifactId=your-artifactId \ + -Dversion=version \ + -Dpackaging=jar \ + -DgeneratePom=true</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-install-plugin. When using <tt>mvn install:install-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></div> + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + © 2004-2014 + The Apache Software Foundation + + - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>. + Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation. + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> </html> \ No newline at end of file Modified: websites/production/maven/content/plugins-archives/maven-install-plugin-LATEST/examples/installing-checksums.html ============================================================================== --- websites/production/maven/content/plugins-archives/maven-install-plugin-LATEST/examples/installing-checksums.html (original) +++ websites/production/maven/content/plugins-archives/maven-install-plugin-LATEST/examples/installing-checksums.html Wed Aug 27 20:10:49 2014 @@ -1,209 +1,213 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!-- - | Generated by Apache Maven Doxia at 2013-10-14 - | Rendered using Apache Maven Stylus Skin 1.5 ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Apache Maven Install Plugin - Creating artifact checksums</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta name="author" content="Allan Ramirez" /> - <meta name="Date-Creation-yyyymmdd" content="20090322" /> - <meta name="Date-Revision-yyyymmdd" content="20131014" /> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - -<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> - -<script type="text/javascript">_uacct = "UA-140879-1"; - urchinTracker();</script> - </head> - <body class="composite"> - <div id="banner"> - <a href="../../../" id="bannerLeft"> - <img src="../../../images/apache-maven-project-2.png" alt="" /> - </a> - <span id="bannerRight"> - <img src="../../../images/maven-logo-2.gif" alt="" /> - </span> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> - - <div class="xleft"> - <a href="http://www.apache.org/" class="externalLink">Apache</a> - > - <a href="../../../index.html">Maven</a> - > - <a href="../../index.html">Plugins</a> - > - <a href="../">Apache Maven Install Plugin</a> - > - Creating artifact checksums - </div> - <div class="xright"> - Last Published: 2013-10-14 - | Version: 2.5.1 - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - <h5>Overview</h5> - <ul> - <li class="none"> - <a href="../index.html">Introduction</a> - </li> - <li class="none"> - <a href="../plugin-info.html">Goals</a> - </li> - <li class="none"> - <a href="../usage.html">Usage</a> - </li> - <li class="none"> - <a href="../faq.html">FAQ</a> - </li> - </ul> - <h5>Examples</h5> - <ul> - <li class="none"> - <a href="../examples/custom-pom-installation.html">Installing Artifact with Custom POM</a> - </li> - <li class="none"> - <a href="../examples/generic-pom-generation.html">Generating Generic POM</a> - </li> - <li class="none"> - <strong>Creating Checksums</strong> - </li> - <li class="none"> - <a href="../examples/update-release-info.html">Updating Release Info</a> - </li> - <li class="none"> - <a href="../examples/specific-local-repo.html">Installing to a Specific Local Repository Path</a> - </li> - <li class="none"> - <a href="../examples/installing-secondary-artifacts.html">Installing Secondary Artifacts</a> - </li> - </ul> - <h5>Project Documentation</h5> - <ul> - <li class="collapsed"> - <a href="../project-info.html">Project Information</a> - </li> - <li class="collapsed"> - <a href="../project-reports.html">Project Reports</a> - </li> - </ul> - <h5>Maven Projects</h5> - <ul> - <li class="none"> - <a href="../../../ant-tasks/index.html">Ant Tasks</a> - </li> - <li class="none"> - <a href="../../../archetype/index.html">Archetype</a> - </li> - <li class="none"> - <a href="../../../doxia/index.html">Doxia</a> - </li> - <li class="none"> - <a href="../../../jxr/index.html">JXR</a> - </li> - <li class="none"> - <a href="../../../maven-1.x/index.html">Maven 1.x</a> - </li> - <li class="none"> - <a href="../../../index.html">Maven 2 & 3</a> - </li> - <li class="none"> - <a href="../../../pom/index.html">Parent POMs</a> - </li> - <li class="none"> - <a href="../../index.html">Plugins</a> - </li> - <li class="none"> - <a href="../../../plugin-tools/index.html">Plugin Tools</a> - </li> - <li class="none"> - <a href="../../../scm/index.html">SCM</a> - </li> - <li class="none"> - <a href="../../../shared/index.html">Shared Components</a> - </li> - <li class="none"> - <a href="../../../skins/index.html">Skins</a> - </li> - <li class="none"> - <a href="../../../surefire/index.html">Surefire</a> - </li> - <li class="none"> - <a href="../../../wagon/index.html">Wagon</a> - </li> - </ul> - <h5>ASF</h5> - <ul> - <li class="none"> - <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"/> - </a> - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt- format.html --><div class="section"> -<h2>Creating artifact checksums<a name="Creating_artifact_checksums"></a></h2> -<p>The Install Plugin can create integrity checksums (MD5, SHA-1) for the artifacts during installation. Checksums are cryptographic hash functions and are used to check the integrity of the associated file. This can be activated by setting the <tt>createChecksum</tt> parameter to <tt>true</tt>.</p> -<p>In the <tt>install:install</tt> goal.</p> -<div class="source"> -<pre>mvn install -DcreateChecksum=true -</pre></div> -<p>In the <tt>install:install-file</tt> goal.</p> -<div class="source"> -<pre>mvn org.apache.maven.plugins:maven-install-plugin:2.5.1:install-file -Dfile=path-to-your-artifact-jar \ - -DgroupId=your.groupId \ - -DartifactId=your-artifactId \ - -Dversion=version \ - -Dpackaging=jar \ - -DcreateChecksum=true -</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-install-plugin. When using <tt>mvn install:install-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></div> - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright"> - © 2004-2013 - The Apache Software Foundation - - - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>. - Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation. - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- + | Generated by Apache Maven Doxia at 2014-08-27 + | Rendered using Apache Maven Stylus Skin 1.5 +--> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Apache Maven Install Plugin - Creating artifact checksums</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="author" content="Allan Ramirez" /> + <meta name="Date-Creation-yyyymmdd" content="20090322" /> + <meta name="Date-Revision-yyyymmdd" content="20140827" /> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> + +<script type="text/javascript">_uacct = "UA-140879-1"; + urchinTracker();</script> + </head> + <body class="composite"> + <div id="banner"> + <a href="../../../" id="bannerLeft"> + <img src="../../../images/apache-maven-project-2.png" alt="" /> + </a> + <span id="bannerRight"> + <img src="../../../images/maven-logo-2.gif" alt="" /> + </span> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + <div class="xleft"> + <a href="http://www.apache.org/" class="externalLink">Apache</a> + > + <a href="../../../index.html">Maven</a> + > + <a href="../../index.html">Plugins</a> + > + <a href="../">Apache Maven Install Plugin</a> + > + Creating artifact checksums + </div> + <div class="xright"> + Last Published: 2014-08-27 + | Version: 2.5.2 + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + <h5>Overview</h5> + <ul> + <li class="none"> + <a href="../index.html">Introduction</a> + </li> + <li class="none"> + <a href="../plugin-info.html">Goals</a> + </li> + <li class="none"> + <a href="../usage.html">Usage</a> + </li> + <li class="none"> + <a href="../faq.html">FAQ</a> + </li> + <li class="none"> + <a href="http://www.apache.org/licenses/" class="externalLink">License</a> + </li> + <li class="none"> + <a href="../download.html">Download</a> + </li> + </ul> + <h5>Examples</h5> + <ul> + <li class="none"> + <a href="../examples/custom-pom-installation.html">Installing Artifact with Custom POM</a> + </li> + <li class="none"> + <a href="../examples/generic-pom-generation.html">Generating Generic POM</a> + </li> + <li class="none"> + <strong>Creating Checksums</strong> + </li> + <li class="none"> + <a href="../examples/update-release-info.html">Updating Release Info</a> + </li> + <li class="none"> + <a href="../examples/specific-local-repo.html">Installing to a Specific Local Repository Path</a> + </li> + <li class="none"> + <a href="../examples/installing-secondary-artifacts.html">Installing Secondary Artifacts</a> + </li> + </ul> + <h5>Project Documentation</h5> + <ul> + <li class="collapsed"> + <a href="../project-info.html">Project Information</a> + </li> + <li class="collapsed"> + <a href="../project-reports.html">Project Reports</a> + </li> + </ul> + <h5>Maven Projects</h5> + <ul> + <li class="none"> + <a href="../../../ant-tasks/index.html">Ant Tasks</a> + </li> + <li class="none"> + <a href="../../../archetype/index.html">Archetype</a> + </li> + <li class="none"> + <a href="../../../doxia/index.html">Doxia</a> + </li> + <li class="none"> + <a href="../../../jxr/index.html">JXR</a> + </li> + <li class="none"> + <a href="../../../maven-1.x/index.html">Maven 1.x</a> + </li> + <li class="none"> + <a href="../../../index.html">Maven 2 & 3</a> + </li> + <li class="none"> + <a href="../../../pom/index.html">Parent POMs</a> + </li> + <li class="none"> + <a href="../../index.html">Plugins</a> + </li> + <li class="none"> + <a href="../../../plugin-tools/index.html">Plugin Tools</a> + </li> + <li class="none"> + <a href="../../../scm/index.html">SCM</a> + </li> + <li class="none"> + <a href="../../../shared/index.html">Shared Components</a> + </li> + <li class="none"> + <a href="../../../skins/index.html">Skins</a> + </li> + <li class="none"> + <a href="../../../surefire/index.html">Surefire</a> + </li> + <li class="none"> + <a href="../../../wagon/index.html">Wagon</a> + </li> + </ul> + <h5>ASF</h5> + <ul> + <li class="none"> + <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img alt="Built by Maven" src="../images/logos/maven-feather.png"/> + </a> + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt- format.html --><div class="section"> +<h2>Creating artifact checksums<a name="Creating_artifact_checksums"></a></h2> +<p>The Install Plugin can create integrity checksums (MD5, SHA-1) for the artifacts during installation. Checksums are cryptographic hash functions and are used to check the integrity of the associated file. This can be activated by setting the <tt>createChecksum</tt> parameter to <tt>true</tt>.</p> +<p>In the <tt>install:install</tt> goal.</p> +<div class="source"> +<pre>mvn install -DcreateChecksum=true</pre></div> +<p>In the <tt>install:install-file</tt> goal.</p> +<div class="source"> +<pre>mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=path-to-your-artifact-jar \ + -DgroupId=your.groupId \ + -DartifactId=your-artifactId \ + -Dversion=version \ + -Dpackaging=jar \ + -DcreateChecksum=true</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-install-plugin. When using <tt>mvn install:install-file</tt> its version depends on its specification in the pom or the version of Apache Maven.</p></div> + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + © 2004-2014 + The Apache Software Foundation + + - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>. + Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation. + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> </html> \ No newline at end of file
