You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by hb...@apache.org on 2009/11/25 23:24:36 UTC

svn commit: r884302 - /maven/doxia/doxia-sitetools/trunk/doxia-decoration-model/src/main/mdo/decoration.mdo

Author: hboutemy
Date: Wed Nov 25 22:24:36 2009
New Revision: 884302

URL: http://svn.apache.org/viewvc?rev=884302&view=rev
Log:
[MSITE-436] added lastModified attribute to DecorationModel (not persisted in XML) to track last modification of site.xml

Modified:
    maven/doxia/doxia-sitetools/trunk/doxia-decoration-model/src/main/mdo/decoration.mdo

Modified: maven/doxia/doxia-sitetools/trunk/doxia-decoration-model/src/main/mdo/decoration.mdo
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-decoration-model/src/main/mdo/decoration.mdo?rev=884302&r1=884301&r2=884302&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-decoration-model/src/main/mdo/decoration.mdo (original)
+++ maven/doxia/doxia-sitetools/trunk/doxia-decoration-model/src/main/mdo/decoration.mdo Wed Nov 25 22:24:36 2009
@@ -19,7 +19,7 @@
 under the License.
 -->
 
-<model xmlns="http://modello.codehaus.org/MODELLO/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://modello.codehaus.org/MODELLO/1.0.0 http://modello.codehaus.org/xsd/modello-1.0.0.xsd"
+<model xmlns="http://modello.codehaus.org/MODELLO/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://modello.codehaus.org/MODELLO/1.1.0 http://modello.codehaus.org/xsd/modello-1.1.0.xsd"
   xml.namespace="http://maven.apache.org/DECORATION/${version}"
   xml.schemaLocation="http://maven.apache.org/xsd/decoration-${version}.xsd">
   <id>decoration</id>
@@ -124,6 +124,12 @@
           <type>DOM</type>
           <identifier>true</identifier>
         </field>
+        <field xml.transient="true">
+          <name>lastModified</name>
+          <description>Timestamp of the last modification of this decoration model.</description>
+          <version>1.0.1+</version>
+          <type>long</type>
+        </field>
       </fields>
       <codeSegments>
         <codeSegment>