From 497493a78bbc677d978ad3f7a46ca309130e0d74 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Fri, 6 Mar 2009 08:26:30 +0000 Subject: [PATCH] [MRM-1073] restore backwards compatibility of model git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750808 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-base/archiva-model/pom.xml | 2 +- .../src/main/mdo/archiva-base.xml | 52 +++++++++---------- 2 files changed, 25 insertions(+), 29 deletions(-) diff --git a/archiva-modules/archiva-base/archiva-model/pom.xml b/archiva-modules/archiva-base/archiva-model/pom.xml index 08d05a6ca..16288f304 100755 --- a/archiva-modules/archiva-base/archiva-model/pom.xml +++ b/archiva-modules/archiva-base/archiva-model/pom.xml @@ -60,7 +60,7 @@ org.codehaus.modello modello-maven-plugin - 1.0.0 + 1.2.0 false src/main/mdo/archiva-base.xml diff --git a/archiva-modules/archiva-base/archiva-model/src/main/mdo/archiva-base.xml b/archiva-modules/archiva-base/archiva-model/src/main/mdo/archiva-base.xml index 3c2887d38..656b0e782 100644 --- a/archiva-modules/archiva-base/archiva-model/src/main/mdo/archiva-base.xml +++ b/archiva-modules/archiva-base/archiva-model/src/main/mdo/archiva-base.xml @@ -1,11 +1,11 @@ + xsd.namespace="http://archiva.apache.org/model/1.2.0" + xsd.target-namespace="http://archiva.apache.org/model/1.2.0"> archiva-base-model ArchivaBaseModel - 1.0.0 + 1.2.0 Archiva Model @@ -407,7 +407,7 @@ Date false - When this artifact was gathered or disovered from the repository. + When this artifact was gathered or discovered from the repository. @@ -611,20 +611,20 @@ ]]> - 1.0.0 + 1.0.0+ - 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 ) ); + } @@ -2203,41 +2203,37 @@ The number of new files discovered. - + totalProjectCount - 1.0.0+ + 1.2.0+ false - true long The total number of unique projects in the repository. - + totalGroupCount - 1.0.0+ + 1.2.0+ false - true long The total number of unique groups in the repository. - + totalArtifactCount - 1.0.0+ + 1.2.0+ false - true long The total number of artifacts in the repository. - + totalSize - 1.0.0+ + 1.2.0+ false - true long The total size in bytes of the repository.