gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1067082 - /gump/trunk/src/documentation/content/xdocs/metadata/builder.xml
Date Fri, 04 Feb 2011 05:01:16 GMT
Author: bodewig
Date: Fri Feb  4 05:01:15 2011
New Revision: 1067082

URL: http://svn.apache.org/viewvc?rev=1067082&view=rev
Log:
document mvn3install

Modified:
    gump/trunk/src/documentation/content/xdocs/metadata/builder.xml

Modified: gump/trunk/src/documentation/content/xdocs/metadata/builder.xml
URL: http://svn.apache.org/viewvc/gump/trunk/src/documentation/content/xdocs/metadata/builder.xml?rev=1067082&r1=1067081&r2=1067082&view=diff
==============================================================================
--- gump/trunk/src/documentation/content/xdocs/metadata/builder.xml (original)
+++ gump/trunk/src/documentation/content/xdocs/metadata/builder.xml Fri Feb  4 05:01:15 2011
@@ -478,9 +478,9 @@
     </table>
   </section>
 
-  <section><title>mvninstall</title>
+  <section><title>mvn2install</title>
     <p>Installs a file into the local Maven 2.x+ repository using the
-      mvn install plugin.</p>
+      mvn2 install plugin.</p>
 
     <p>This element is a shortcut for a common use case of the mvn
       builder which would otherwise involve several nested property
@@ -495,8 +495,8 @@
       will not support property references - in which case the version
       must be specified explicitly.</p>
 
-    <p>The element name <strong>mvn2install</strong> can be used as an
-      alias for <strong>mvninstall</strong>.</p>
+    <p>The element name <strong>mvninstall</strong> can be used as an
+      alias for <strong>mvn2install</strong>.</p>
 
     <table>
       <tr>
@@ -554,7 +554,7 @@
 
     <source><![CDATA[
 <project name="foo" groupId="bar">
-  <mvninstall version="1.0"/>
+  <mvn2install version="1.0"/>
 </project>]]></source>
 
     <p>is completely equivalent to</p>
@@ -587,6 +587,34 @@
       same attributes and nested elements.</p>
   </section>
     
+  <section><title>mvn3install</title>
+    <p>Installs a file into the local Maven 2.x+ repository using the
+      mvn3 install plugin.</p>
+
+    <p>This builder is identical to
+      the <link href="#mvn2install">mvn2install</link> builder but uses
+      Maven 3.x rather than 2.x to invoke the install plugin.</p>
+
+    <source><![CDATA[
+<project name="foo" groupId="bar">
+  <mvn3install version="1.0"/>
+</project>]]></source>
+
+    <p>is completely equivalent to</p>
+
+    <source><![CDATA[
+<project name="foo" groupId="bar">
+  <mvn3 goal="install:install-file">
+    <property name="groupId" value="bar"/>
+    <property name="artifactId" value="foo"/>
+    <property name="packaging" value="pom"/>
+    <property name="file" value="pom.xml"/>
+    <property name="version" value="1.0"/>
+  </mvn3>
+</project>]]></source>
+
+  </section>
+
   <section><title>configure</title>
 
     <p>Is a specialized version of <link href="#script">script</link>



Mime
View raw message