This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 8bbffc5  [ARCHETYPE-554] published archetype-descriptor-1.1.0.xsd
8bbffc5 is described below

commit 8bbffc58105c247b5d112c2f182551a7f21f2506
Author: Hervé Boutemy <hbout...@apache.org>
AuthorDate: Sat Aug 11 22:49:41 2018 +0200

    [ARCHETYPE-554] published archetype-descriptor-1.1.0.xsd
---
 .../resources/xsd/archetype-descriptor-1.1.0.xsd   | 201 +++++++++++++++++++++
 1 file changed, 201 insertions(+)

diff --git a/content/resources/xsd/archetype-descriptor-1.1.0.xsd 
b/content/resources/xsd/archetype-descriptor-1.1.0.xsd
new file mode 100644
index 0000000..deeb53f
--- /dev/null
+++ b/content/resources/xsd/archetype-descriptor-1.1.0.xsd
@@ -0,0 +1,201 @@
+<?xml version="1.0"?>
+<!-- =================== DO NOT EDIT THIS FILE ====================         -->
+<!-- Generated by Modello 1.9.1,                                            -->
+<!-- any modifications will be overwritten.                                 -->
+<!-- ==============================================================         -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
elementFormDefault="qualified" 
xmlns="https://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.1.0";
 
targetNamespace="https://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.1.0";>
+  <xs:element name="archetype-descriptor" type="ArchetypeDescriptor">
+    <xs:annotation>
+      <xs:documentation source="version">1.0.0+</xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:complexType name="ArchetypeDescriptor">
+    <xs:annotation>
+      <xs:documentation source="version">1.0.0+</xs:documentation>
+    </xs:annotation>
+    <xs:all>
+      <xs:element minOccurs="0" name="requiredProperties">
+        <xs:annotation>
+          <xs:documentation source="version">1.0.0+</xs:documentation>
+          <xs:documentation source="description">List of required properties 
to generate a project from this archetype.</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="requiredProperty" minOccurs="0" 
maxOccurs="unbounded" type="RequiredProperty"/>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element minOccurs="0" name="fileSets">
+        <xs:annotation>
+          <xs:documentation source="version">1.0.0+</xs:documentation>
+          <xs:documentation source="description">File sets 
definition.</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="fileSet" minOccurs="0" maxOccurs="unbounded" 
type="FileSet"/>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element minOccurs="0" name="modules">
+        <xs:annotation>
+          <xs:documentation source="version">1.0.0+</xs:documentation>
+          <xs:documentation source="description">Modules 
definition.</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="module" minOccurs="0" maxOccurs="unbounded" 
type="ModuleDescriptor"/>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+    </xs:all>
+    <xs:attribute name="name" type="xs:string" use="required">
+      <xs:annotation>
+        <xs:documentation source="version">1.0.0+</xs:documentation>
+        <xs:documentation source="description">Name of the Archetype, that 
will be displayed to the user when choosing an archetype.</xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
+    <xs:attribute name="partial" type="xs:boolean" default="false" 
use="optional">
+      <xs:annotation>
+        <xs:documentation source="version">1.0.0+</xs:documentation>
+        <xs:documentation source="description">Is this archetype representing 
a full Maven project or only parts?</xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
+  </xs:complexType>
+  <xs:complexType name="RequiredProperty">
+    <xs:annotation>
+      <xs:documentation source="version">1.0.0+</xs:documentation>
+      <xs:documentation source="description">Definition of a property required 
when generating a project from this archetype.</xs:documentation>
+    </xs:annotation>
+    <xs:all>
+      <xs:element minOccurs="0" name="defaultValue" type="xs:string">
+        <xs:annotation>
+          <xs:documentation source="version">0.0.0+</xs:documentation>
+          <xs:documentation source="description">Default value of the 
property.</xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element minOccurs="0" name="validationRegex" type="xs:string">
+        <xs:annotation>
+          <xs:documentation source="version">1.1.0+</xs:documentation>
+          <xs:documentation source="description">A regular expression used to 
validate the property.</xs:documentation>
+        </xs:annotation>
+      </xs:element>
+    </xs:all>
+    <xs:attribute name="key" type="xs:string" use="required">
+      <xs:annotation>
+        <xs:documentation source="version">1.0.0+</xs:documentation>
+        <xs:documentation source="description">Key value of the 
property.</xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
+  </xs:complexType>
+  <xs:complexType name="ModuleDescriptor">
+    <xs:annotation>
+      <xs:documentation source="version">1.0.0+</xs:documentation>
+    </xs:annotation>
+    <xs:all>
+      <xs:element minOccurs="0" name="fileSets">
+        <xs:annotation>
+          <xs:documentation source="version">1.0.0+</xs:documentation>
+          <xs:documentation source="description">File sets 
definition.</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="fileSet" minOccurs="0" maxOccurs="unbounded" 
type="FileSet"/>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element minOccurs="0" name="modules">
+        <xs:annotation>
+          <xs:documentation source="version">1.0.0+</xs:documentation>
+          <xs:documentation source="description">Modules 
definition.</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="module" minOccurs="0" maxOccurs="unbounded" 
type="ModuleDescriptor"/>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+    </xs:all>
+    <xs:attribute name="id" type="xs:string" use="required">
+      <xs:annotation>
+        <xs:documentation source="version">1.0.0+</xs:documentation>
+        <xs:documentation source="description">The module&apos;s 
artifactId.</xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
+    <xs:attribute name="dir" type="xs:string" use="required">
+      <xs:annotation>
+        <xs:documentation source="version">1.0.0+</xs:documentation>
+        <xs:documentation source="description">The module&apos;s 
directory.</xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
+    <xs:attribute name="name" type="xs:string" use="required">
+      <xs:annotation>
+        <xs:documentation source="version">1.0.0+</xs:documentation>
+        <xs:documentation source="description">The module&apos;s 
name.</xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
+  </xs:complexType>
+  <xs:complexType name="FileSet">
+    <xs:annotation>
+      <xs:documentation source="version">1.0.0+</xs:documentation>
+      <xs:documentation source="description">
+        A fileset defines the way the project&apos;s files located in the jar 
file are used by the Archetype Plugin to generate a project.
+        If file or directory name contains 
&lt;code&gt;__&lt;i&gt;property&lt;/i&gt;__&lt;/code&gt; pattern, it is 
replaced with corresponding property value.
+        </xs:documentation>
+    </xs:annotation>
+    <xs:all>
+      <xs:element minOccurs="0" name="directory" type="xs:string">
+        <xs:annotation>
+          <xs:documentation source="version">1.0.0+</xs:documentation>
+          <xs:documentation source="description">The directory where the files 
will be searched for, which is also the directory where the
+           project&apos;s files will be generated.</xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element minOccurs="0" name="includes">
+        <xs:annotation>
+          <xs:documentation source="version">1.0.0+</xs:documentation>
+          <xs:documentation source="description">Inclusion definition &quot;à 
la&quot; Ant.</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="include" minOccurs="0" maxOccurs="unbounded" 
type="xs:string"/>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element minOccurs="0" name="excludes">
+        <xs:annotation>
+          <xs:documentation source="version">1.0.0+</xs:documentation>
+          <xs:documentation source="description">Exclusion definition &quot;à 
la&quot; Ant.</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="exclude" minOccurs="0" maxOccurs="unbounded" 
type="xs:string"/>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+    </xs:all>
+    <xs:attribute name="filtered" type="xs:boolean" default="false" 
use="optional">
+      <xs:annotation>
+        <xs:documentation source="version">1.0.0+</xs:documentation>
+        <xs:documentation source="description">
+            Filesets can be filtered, which means the selected files will be 
used as
+            &lt;a 
href=&quot;http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html&quot;&gt;Velocity
 templates&lt;/a&gt;.
+            They can be non-filtered, which means the selected files will be 
copied without modification.
+          </xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
+    <xs:attribute name="packaged" type="xs:boolean" default="false" 
use="optional">
+      <xs:annotation>
+        <xs:documentation source="version">1.0.0+</xs:documentation>
+        <xs:documentation source="description">Filesets can be packaged, which 
means the selected files will be generated/copied in a directory
+           structure that is prepended by the package property. They can be 
non-packaged, which means that the selected
+           files will be generated/copied without that 
prepend.</xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
+    <xs:attribute name="encoding" type="xs:string" use="optional">
+      <xs:annotation>
+        <xs:documentation source="version">1.0.0+</xs:documentation>
+        <xs:documentation source="description">Encoding to use when filtering 
content.</xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
+  </xs:complexType>
+</xs:schema>
\ No newline at end of file

Reply via email to