| <!-- |
| 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 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" |
| xml.namespace="http://maven.apache.org/PLUGINS/${version}" |
| xml.schemaLocation="http://maven.apache.org/xsd/plugins-${version}.xsd"> |
| <id>plugin-map</id> |
| <name>PluginMapping</name> |
| <description>Mappings for searching for a plugin within a particular groupId.</description> |
| <defaults> |
| <default> |
| <key>package</key> |
| <value>org.apache.maven.plugin.mapping</value> |
| </default> |
| </defaults> |
| <classes> |
| <class rootElement="true" xml.tagName="mapping"> |
| <name>PluginMap</name> |
| <version>1.0.0</version> |
| <description>Root model class, containing various mappings for plugins in this group.</description> |
| <fields> |
| <field> |
| <name>groupId</name> |
| <version>1.0.0</version> |
| <type>String</type> |
| <required>true</required> |
| <description>The groupId for plugins mapped in this file.</description> |
| </field> |
| <field> |
| <name>plugins</name> |
| <version>1.0.0</version> |
| <required>true</required> |
| <description>The set of plugin mappings</description> |
| <association> |
| <type>MappedPlugin</type> |
| <multiplicity>*</multiplicity> |
| </association> |
| </field> |
| </fields> |
| </class> |
| <class xml.tagName="plugin"> |
| <name>MappedPlugin</name> |
| <version>1.0.0</version> |
| <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> |
| <name>prefix</name> |
| <type>String</type> |
| <required>true</required> |
| <version>1.0.0</version> |
| <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> |
| </field> |
| </fields> |
| </class> |
| </classes> |
| </model> |