| <?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 <code>pom.xml</code>.</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 <code>true</code> makes it possible to run the |
| <code>archetype:create</code> 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 <code>src/main/java</code>.</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 <code>src/main/resources</code>.</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 <code>src/test/java</code>.</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 <code>src/test/resources</code>.</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 <code>src/site</code>.</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 <code>.properties</code></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 <code>.properties</code></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> |