You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by bo...@apache.org on 2010/08/01 05:35:32 UTC

svn commit: r981131 - /gump/trunk/src/documentation/content/xdocs/metadata/builder.xml

Author: bodewig
Date: Sun Aug  1 03:35:31 2010
New Revision: 981131

URL: http://svn.apache.org/viewvc?rev=981131&view=rev
Log:
document new logic for mvn2install's version attribute

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=981131&r1=981130&r2=981131&view=diff
==============================================================================
--- gump/trunk/src/documentation/content/xdocs/metadata/builder.xml (original)
+++ gump/trunk/src/documentation/content/xdocs/metadata/builder.xml Sun Aug  1 03:35:31 2010
@@ -482,6 +482,12 @@
       current project (or workspace) and the given or implied
       artifactId.</p>
     
+    <p>If the artifact to install is a POM, Gump can try to parse the
+      file for the version number.  Gump's parser isn't complete and
+      may be unable to extract the proper version - for example, Gump
+      will not support property references - in which case the version
+      must be specified explicitly.</p>
+
     <table>
       <tr>
         <th>Attribute</th>
@@ -491,7 +497,8 @@
       <tr>
         <td>version</td>
         <td>The version of the artifact to install.</td>
-        <td>Yes.</td>
+        <td>Yes if <code>packaging</code> is different from "pom" or
+          the version inside the POM uses property references.</td>
       </tr>
       <tr>
         <td>file</td>