| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <model> |
| <id>cached-metadata</id> |
| |
| <name>CachedMetadata</name> |
| <description>Per-directory repository metadata.</description> |
| |
| <defaults> |
| <default> |
| <key>package</key> |
| <value>org.apache.maven.mercury.repository.cache.md</value> |
| </default> |
| </defaults> |
| |
| <classes> |
| |
| <class rootElement="true"> |
| <name>CachedRawMetadata</name> |
| <version>1.0.0</version> |
| <fields> |
| |
| <field> |
| <name>lastUpdated</name> |
| <version>1.0.0</version> |
| <type>String</type> |
| <description>When the metadata was last updated</description> |
| </field> |
| |
| <field> |
| <name>elements</name> |
| <version>1.0.0</version> |
| <description>group of metadata elements</description> |
| <association> |
| <type>Element</type> |
| <multiplicity>*</multiplicity> |
| </association> |
| </field> |
| </fields> |
| </class> |
| |
| <class> |
| <name>Element</name> |
| <version>1.0.0</version> |
| <description>metadata element</description> |
| <fields> |
| <field> |
| <name>name</name> |
| <version>1.0.0</version> |
| <description>name of this element</description> |
| <type>String</type> |
| </field> |
| |
| <field> |
| <name>attributes</name> |
| <version>1.0.0</version> |
| <description>group of metadata element attributes</description> |
| <association> |
| <type>Attribute</type> |
| <multiplicity>*</multiplicity> |
| </association> |
| </field> |
| |
| <field> |
| <name>elements</name> |
| <version>1.0.0</version> |
| <description>group of metadata element elements</description> |
| <association> |
| <type>Element</type> |
| <multiplicity>*</multiplicity> |
| </association> |
| </field> |
| |
| </fields> |
| </class> |
| |
| <class> |
| <name>Attribute</name> |
| <version>1.0.0</version> |
| <description>generic attribute - name/value pair</description> |
| <fields> |
| <field> |
| <name>name</name> |
| <type>String</type> |
| <required>true</required> |
| <version>1.0.0</version> |
| <description>name of this attribute</description> |
| </field> |
| <field> |
| <name>value</name> |
| <type>String</type> |
| <required>true</required> |
| <version>1.0.0</version> |
| <description>value of this attribute</description> |
| </field> |
| </fields> |
| </class> |
| |
| </classes> |
| </model> |