Author: hboutemy
Date: Sat Oct 22 20:56:39 2011
New Revision: 1187779

URL: http://svn.apache.org/viewvc?rev=1187779&view=rev
Log:
added forgotten "dependencies" element

Modified:
    maven/maven-3/trunk/maven-plugin-api/src/main/mdo/plugin.mdo

Modified: maven/maven-3/trunk/maven-plugin-api/src/main/mdo/plugin.mdo
URL: 
http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-plugin-api/src/main/mdo/plugin.mdo?rev=1187779&r1=1187778&r2=1187779&view=diff
==============================================================================
--- maven/maven-3/trunk/maven-plugin-api/src/main/mdo/plugin.mdo (original)
+++ maven/maven-3/trunk/maven-plugin-api/src/main/mdo/plugin.mdo Sat Oct 22 
20:56:39 2011
@@ -92,6 +92,18 @@ under the License.
             <multiplicity>*</multiplicity>
           </association>
         </field>
+        <field xdoc.separator="blank">
+          <name>dependencies</name>
+          <version>1.0.0</version>
+          <association>
+            <type>Dependency</type>
+            <multiplicity>*</multiplicity>
+          </association>
+          <description>
+            A set of dependencies which the plugin requires in order to 
function. This enables the plugin to function
+            independently of its POM (or at least to declare the libraries it 
needs to run).
+          </description>
+        </field>
       </fields>
     </class>
 
@@ -391,33 +403,34 @@ under the License.
     <class>
       <name>Dependency</name>
       <version>1.0.0</version>
-      <description></description>
+      <description>Definition of a dependency, needed by the plugin at 
runtime.</description>
       <fields>
         <field>
           <name>groupId</name>
           <required>true</required>
           <version>1.0.0</version>
           <type>String</type>
-          <description></description>
+          <description>The group id of the dependency.</description>
         </field>
         <field>
           <name>artifactId</name>
           <required>true</required>
           <version>1.0.0</version>
           <type>String</type>
-          <description></description>
+          <description>The artifact id of the dependency.</description>
         </field>
         <field>
-          <name>type</name>
+          <name>version</name>
           <version>1.0.0</version>
           <type>String</type>
-          <description></description>
+          <description>The version of the dependency.</description>
         </field>
         <field>
-          <name>version</name>
+          <name>type</name>
           <version>1.0.0</version>
           <type>String</type>
-          <description></description>
+          <defaultValue>jar</defaultValue>
+          <description>The type of dependency.</description>
         </field>
       </fields>
     </class>


Reply via email to