[MRM-1073] restore backwards compatibility of model

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750808 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2009-03-06 08:26:30 +00:00
parent 32c2577fa0
commit 497493a78b
2 changed files with 25 additions and 29 deletions

View File

@ -60,7 +60,7 @@
<groupId>org.codehaus.modello</groupId> <groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId> <artifactId>modello-maven-plugin</artifactId>
<configuration> <configuration>
<version>1.0.0</version> <version>1.2.0</version>
<packageWithVersion>false</packageWithVersion> <packageWithVersion>false</packageWithVersion>
<models> <models>
<model>src/main/mdo/archiva-base.xml</model> <model>src/main/mdo/archiva-base.xml</model>

View File

@ -1,11 +1,11 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<model jpox.mapping-in-package="true" <model jpox.mapping-in-package="true"
jpox.table-prefix="ARCHIVA_" jpox.table-prefix="ARCHIVA_"
xsd.namespace="http://maven.apache.org/archiva/MODEL-1.0.0" xsd.namespace="http://archiva.apache.org/model/1.2.0"
xsd.target-namespace="http://maven.apache.org/archiva/MODEL-1.0.0"> xsd.target-namespace="http://archiva.apache.org/model/1.2.0">
<id>archiva-base-model</id> <id>archiva-base-model</id>
<name>ArchivaBaseModel</name> <name>ArchivaBaseModel</name>
<version>1.0.0</version> <version>1.2.0</version>
<description>Archiva Model</description> <description>Archiva Model</description>
<defaults> <defaults>
<default> <default>
@ -407,7 +407,7 @@
<type>Date</type> <type>Date</type>
<required>false</required> <required>false</required>
<description> <description>
When this artifact was gathered or disovered from the repository. When this artifact was gathered or discovered from the repository.
</description> </description>
</field> </field>
</fields> </fields>
@ -611,7 +611,7 @@
]]></code> ]]></code>
</codeSegment> </codeSegment>
<codeSegment> <codeSegment>
<version>1.0.0</version> <version>1.0.0+</version>
<code> <code>
public void updateTimestamp() public void updateTimestamp()
{ {
@ -2203,41 +2203,37 @@
The number of new files discovered. The number of new files discovered.
</description> </description>
</field> </field>
<field> <field jpox.null-value="default">
<name>totalProjectCount</name> <name>totalProjectCount</name>
<version>1.0.0+</version> <version>1.2.0+</version>
<identifier>false</identifier> <identifier>false</identifier>
<required>true</required>
<type>long</type> <type>long</type>
<description> <description>
The total number of unique projects in the repository. The total number of unique projects in the repository.
</description> </description>
</field> </field>
<field> <field jpox.null-value="default">
<name>totalGroupCount</name> <name>totalGroupCount</name>
<version>1.0.0+</version> <version>1.2.0+</version>
<identifier>false</identifier> <identifier>false</identifier>
<required>true</required>
<type>long</type> <type>long</type>
<description> <description>
The total number of unique groups in the repository. The total number of unique groups in the repository.
</description> </description>
</field> </field>
<field> <field jpox.null-value="default">
<name>totalArtifactCount</name> <name>totalArtifactCount</name>
<version>1.0.0+</version> <version>1.2.0+</version>
<identifier>false</identifier> <identifier>false</identifier>
<required>true</required>
<type>long</type> <type>long</type>
<description> <description>
The total number of artifacts in the repository. The total number of artifacts in the repository.
</description> </description>
</field> </field>
<field> <field jpox.null-value="default">
<name>totalSize</name> <name>totalSize</name>
<version>1.0.0+</version> <version>1.2.0+</version>
<identifier>false</identifier> <identifier>false</identifier>
<required>true</required>
<type>long</type> <type>long</type>
<description> <description>
The total size in bytes of the repository. The total size in bytes of the repository.