mirror of https://github.com/apache/maven.git
[MNG-5771] enabled modello xdoc/xsd for core extensions mdo, with
minimum intro. Still need to improve descriptions and info in mdo
This commit is contained in:
parent
07b8477b97
commit
5947c4ef71
|
@ -134,23 +134,10 @@
|
||||||
<artifactId>modello-maven-plugin</artifactId>
|
<artifactId>modello-maven-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>standard</id>
|
|
||||||
<configuration>
|
|
||||||
<models>
|
<models>
|
||||||
<model>src/main/mdo/core-extensions.mdo</model>
|
<model>src/main/mdo/core-extensions.mdo</model>
|
||||||
</models>
|
</models>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>site-docs</id>
|
|
||||||
<configuration>
|
|
||||||
<models/>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
|
@ -20,9 +20,17 @@
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<model xmlns="http://modello.codehaus.org/MODELLO/1.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
<model xmlns="http://modello.codehaus.org/MODELLO/1.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<id>CoreExtensions</id>
|
xsi:schemaLocation="http://modello.codehaus.org/MODELLO/1.4.0 http://modello.codehaus.org/xsd/modello-1.4.0.xsd"
|
||||||
<name>CoreExtensions</name>
|
xml.namespace="http://maven.apache.org/EXTENSIONS/${version}"
|
||||||
|
xml.schemaLocation="http://maven.apache.org/xsd/core-extensions-${version}.xsd">
|
||||||
|
|
||||||
|
<id>core-extensions</id>
|
||||||
|
<name>Core Extensions</name>
|
||||||
|
<description><![CDATA[
|
||||||
|
<p>This is a reference for the Core Extensions descriptor.</p>
|
||||||
|
<p>The default location for the Core Extensions descriptor file is <code>${maven.projectBasedir}/.mvn/extensions.xml</code></p>
|
||||||
|
]]></description>
|
||||||
|
|
||||||
<defaults>
|
<defaults>
|
||||||
<default>
|
<default>
|
||||||
|
@ -32,12 +40,14 @@
|
||||||
</defaults>
|
</defaults>
|
||||||
|
|
||||||
<classes>
|
<classes>
|
||||||
<class rootElement="true" xml.tagName="extensions">
|
<class rootElement="true" xml.tagName="extensions" xsd.compositor="sequence">
|
||||||
<name>CoreExtensions</name>
|
<name>CoreExtensions</name>
|
||||||
|
<description>Extensions to load.</description>
|
||||||
<version>1.0.0+</version>
|
<version>1.0.0+</version>
|
||||||
<fields>
|
<fields>
|
||||||
<field>
|
<field>
|
||||||
<name>extensions</name>
|
<name>extensions</name>
|
||||||
|
<description>A set of build extensions to use from this project.</description>
|
||||||
<version>1.0.0+</version>
|
<version>1.0.0+</version>
|
||||||
<association xml.itemsStyle="flat">
|
<association xml.itemsStyle="flat">
|
||||||
<type>CoreExtension</type>
|
<type>CoreExtension</type>
|
||||||
|
@ -48,22 +58,26 @@
|
||||||
</class>
|
</class>
|
||||||
<class xml.tagName="extension">
|
<class xml.tagName="extension">
|
||||||
<name>CoreExtension</name>
|
<name>CoreExtension</name>
|
||||||
|
<description>Describes a build extension to utilise.</description>
|
||||||
<version>1.0.0+</version>
|
<version>1.0.0+</version>
|
||||||
<fields>
|
<fields>
|
||||||
<field>
|
<field>
|
||||||
<name>groupId</name>
|
<name>groupId</name>
|
||||||
|
<description>The group ID of the extension's artifact.</description>
|
||||||
<version>1.0.0+</version>
|
<version>1.0.0+</version>
|
||||||
<required>true</required>
|
<required>true</required>
|
||||||
<type>String</type>
|
<type>String</type>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>artifactId</name>
|
<name>artifactId</name>
|
||||||
|
<description>The artifact ID of the extension.</description>
|
||||||
<version>1.0.0+</version>
|
<version>1.0.0+</version>
|
||||||
<required>true</required>
|
<required>true</required>
|
||||||
<type>String</type>
|
<type>String</type>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
<name>version</name>
|
<name>version</name>
|
||||||
|
<description>The version of the extension.</description>
|
||||||
<version>1.0.0+</version>
|
<version>1.0.0+</version>
|
||||||
<required>true</required>
|
<required>true</required>
|
||||||
<type>String</type>
|
<type>String</type>
|
||||||
|
|
Loading…
Reference in New Issue