You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2008/07/07 22:49:20 UTC

svn commit: r674631 - /maven/components/branches/maven-2.0.x/maven-repository-metadata/src/main/mdo/metadata.mdo

Author: dennisl
Date: Mon Jul  7 13:49:19 2008
New Revision: 674631

URL: http://svn.apache.org/viewvc?rev=674631&view=rev
Log:
o Use correct indentation for codeSegment for Versioning class.
o Improve descriptions.

Modified:
    maven/components/branches/maven-2.0.x/maven-repository-metadata/src/main/mdo/metadata.mdo

Modified: maven/components/branches/maven-2.0.x/maven-repository-metadata/src/main/mdo/metadata.mdo
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-repository-metadata/src/main/mdo/metadata.mdo?rev=674631&r1=674630&r2=674631&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-repository-metadata/src/main/mdo/metadata.mdo (original)
+++ maven/components/branches/maven-2.0.x/maven-repository-metadata/src/main/mdo/metadata.mdo Mon Jul  7 13:49:19 2008
@@ -36,19 +36,19 @@
           <name>groupId</name>
           <version>1.0.0</version>
           <type>String</type>
-          <description>The groupId that is directory represents, if any.</description>
+          <description>The groupId that this directory represents, if any.</description>
         </field>
         <field>
           <name>artifactId</name>
           <version>1.0.0</version>
           <type>String</type>
-          <description>The artifactId that is directory represents, if any.</description>
+          <description>The artifactId that this directory represents, if any.</description>
         </field>
         <field>
           <name>version</name>
           <version>1.0.0</version>
           <type>String</type>
-          <description>The version that is directory represents, if any.</description>
+          <description>The version that this directory represents, if any.</description>
         </field>
         <field>
           <name>versioning</name>
@@ -61,7 +61,7 @@
         <field>
           <name>plugins</name>
           <version>1.0.0</version>
-          <description>The set of plugin mappings for the group</description>
+          <description>The set of plugin mappings for the group.</description>
           <association>
             <type>Plugin</type>
             <multiplicity>*</multiplicity>
@@ -201,19 +201,19 @@
     <class>
       <name>Versioning</name>
       <version>1.0.0</version>
-      <description>Versioning information for an artifact</description>
+      <description>Versioning information for an artifact.</description>
       <fields>
         <field>
           <name>latest</name>
           <version>1.0.0</version>
           <type>String</type>
-          <description>What the latest version in the directory is, including snapshots</description>
+          <description>What the latest version in the directory is, including snapshots.</description>
         </field>
         <field>
           <name>release</name>
           <version>1.0.0</version>
           <type>String</type>
-          <description>What the latest version in the directory is, of the releases</description>
+          <description>What the latest version in the directory is, of the releases.</description>
         </field>
         <field>
           <name>snapshot</name>
@@ -221,12 +221,12 @@
           <association>
             <type>Snapshot</type>
           </association>
-          <description>The current snapshot data in use for this version</description>
+          <description>The current snapshot data in use for this version.</description>
         </field>
         <field>
           <name>versions</name>
           <version>1.0.0</version>
-          <description>Versions available for the artifact</description>
+          <description>Versions available for the artifact.</description>
           <association>
             <type>String</type>
             <multiplicity>*</multiplicity>
@@ -236,25 +236,25 @@
           <name>lastUpdated</name>
           <version>1.0.0</version>
           <type>String</type>
-          <description>When the metadata was last updated</description>
+          <description>When the metadata was last updated.</description>
         </field>
       </fields>
       <codeSegments>
         <codeSegment>
           <version>1.0.0</version>
           <code>
-            public void updateTimestamp()
-            {
-                setLastUpdatedTimestamp( new java.util.Date() );
-            }
+    public void updateTimestamp()
+    {
+        setLastUpdatedTimestamp( new java.util.Date() );
+    }
 
-            public void setLastUpdatedTimestamp( java.util.Date date )
-            {
-                java.util.TimeZone timezone = java.util.TimeZone.getTimeZone( "UTC" );
-                java.text.DateFormat fmt = new java.text.SimpleDateFormat( "yyyyMMddHHmmss" );
-                fmt.setTimeZone( timezone );
-                setLastUpdated( fmt.format( date ) );
-            }
+    public void setLastUpdatedTimestamp( java.util.Date date )
+    {
+        java.util.TimeZone timezone = java.util.TimeZone.getTimeZone( "UTC" );
+        java.text.DateFormat fmt = new java.text.SimpleDateFormat( "yyyyMMddHHmmss" );
+        fmt.setTimeZone( timezone );
+        setLastUpdated( fmt.format( date ) );
+    }
           </code>
         </codeSegment>
       </codeSegments>
@@ -262,24 +262,24 @@
     <class>
       <name>Snapshot</name>
       <version>1.0.0</version>
-      <description>Snapshot data for the current version</description>
+      <description>Snapshot data for the current version.</description>
       <fields>
         <field>
           <name>timestamp</name>
           <version>1.0.0</version>
-          <description>The time it was deployed</description>
+          <description>The time it was deployed.</description>
           <type>String</type>
         </field>
         <field>
           <name>buildNumber</name>
           <version>1.0.0</version>
-          <description>The incremental build number</description>
+          <description>The incremental build number.</description>
           <type>int</type>
         </field>
         <field>
           <name>localCopy</name>
           <version>1.0.0</version>
-          <description>Whether to use a local copy instead (with filename that includes the base version)</description>
+          <description>Whether to use a local copy instead (with filename that includes the base version).</description>
           <type>boolean</type>
           <defaultValue>false</defaultValue>
         </field>
@@ -288,7 +288,7 @@
     <class>
       <name>Plugin</name>
       <version>1.0.0</version>
-      <description>Mapping information for a single plugin within this group</description>
+      <description>Mapping information for a single plugin within this group.</description>
       <comment>NOTE: plugin version is _NOT_ included here, since it is resolved using a separate algorithm.</comment>
       <fields>
         <field>
@@ -303,14 +303,14 @@
           <type>String</type>
           <required>true</required>
           <version>1.0.0</version>
-          <description>The plugin invocation prefix (i.e. eclipse for eclipse:eclipse)</description>
+          <description>The plugin invocation prefix (i.e. eclipse for eclipse:eclipse).</description>
         </field>
         <field>
           <name>artifactId</name>
           <type>String</type>
           <required>true</required>
           <version>1.0.0</version>
-          <description>The plugin artifactId</description>
+          <description>The plugin artifactId.</description>
         </field>
       </fields>
     </class>