blob: 7a73e22d8cf2552004e53ec03405b7f774756728 [file] [log] [blame]
<?xml version="1.0"?>
<!--
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.
-->
<!-- =================== 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="http://maven.apache.org/plugins/maven-archetype-plugin/archetype/1.0.0" targetNamespace="http://maven.apache.org/plugins/maven-archetype-plugin/archetype/1.0.0">
<xs:element name="archetype" type="ArchetypeModel">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">Describes the assembly layout and packaging.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ArchetypeModel">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">Describes the assembly layout and packaging.</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element minOccurs="0" name="id" type="xs:string">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">The value should be the same as the artifactId in the archetype &lt;code&gt;pom.xml&lt;/code&gt;.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="allowPartial" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">Setting this option to &lt;code&gt;true&lt;/code&gt; makes it possible to run the
&lt;code&gt;archetype:create&lt;/code&gt; even on existing projects.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="sources">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">Files that will go into &lt;code&gt;src/main/java&lt;/code&gt;.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="source" minOccurs="0" maxOccurs="unbounded" type="Source"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="resources">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">Files that will go into &lt;code&gt;src/main/resources&lt;/code&gt;.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="resource" minOccurs="0" maxOccurs="unbounded" type="Resource"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="testSources">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">Files that will go into &lt;code&gt;src/test/java&lt;/code&gt;.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="source" minOccurs="0" maxOccurs="unbounded" type="Source"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="testResources">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">Files that will go into &lt;code&gt;src/test/resources&lt;/code&gt;.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="resource" minOccurs="0" maxOccurs="unbounded" type="Resource"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="siteResources">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">Files that will go into &lt;code&gt;src/site&lt;/code&gt;.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="resource" minOccurs="0" maxOccurs="unbounded" type="Resource"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
<xs:complexType name="Source">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">Describes a source file. Note that source files are always filtered, unlike resources that
can be non-filtered.</xs:documentation>
</xs:annotation>
<xs:attribute name="encoding" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">The encoding to be used when reading/writing this file.
Platform encoding is used by default, or ISO-8859-1 when filename ends in &lt;code&gt;.properties&lt;/code&gt;</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Resource">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">Describes a resource file.</xs:documentation>
</xs:annotation>
<xs:attribute name="encoding" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">The encoding to be used when reading/writing this file.
Platform encoding is used by default, or ISO-8859-1 when filename ends in &lt;code&gt;.properties&lt;/code&gt;</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="filtered" type="xs:boolean" default="true" use="optional">
<xs:annotation>
<xs:documentation source="version">1.0.0</xs:documentation>
<xs:documentation source="description">A resource can be filtered, which means the file will be used as Velocity template.
It can be non-filtered, which means the file will be copied without modification.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:schema>