You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2019/05/01 20:54:34 UTC

[maven-site] branch master updated: Update archetype xsd to version generated from Archetype Plugin 3.1.0

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

slachiewicz 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 d7adb5d  Update archetype xsd to version generated from Archetype Plugin 3.1.0
d7adb5d is described below

commit d7adb5d403eb4ad37b34172bf9d865222aec558d
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Apr 21 23:28:53 2019 +0200

    Update archetype xsd to version generated from Archetype Plugin 3.1.0
---
 content/resources/xsd/archetype-1.0.0.xsd         | 30 +++++++++++------------
 content/resources/xsd/archetype-catalog-1.0.0.xsd |  4 +--
 2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/content/resources/xsd/archetype-1.0.0.xsd b/content/resources/xsd/archetype-1.0.0.xsd
index 15e3b34..9561575 100644
--- a/content/resources/xsd/archetype-1.0.0.xsd
+++ b/content/resources/xsd/archetype-1.0.0.xsd
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <!-- =================== DO NOT EDIT THIS FILE ====================         -->
-<!-- Generated by Modello 1.4.1 on 2011-11-23 07:29:32,                     -->
+<!-- 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">
@@ -86,45 +86,45 @@
       </xs:element>
     </xs:all>
   </xs:complexType>
-  <xs:complexType name="Resource">
+  <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 resource file.</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">
+        <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">
-          <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:complexType name="Source">
+  <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 source file. Note that source files are always filtered, unlike resources that
-        can be non-filtered.</xs:documentation>
+          <xs:documentation source="description">Describes a resource file.</xs:documentation>
         </xs:annotation>
-        <xs:attribute name="encoding" type="xs:string">
+        <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>
diff --git a/content/resources/xsd/archetype-catalog-1.0.0.xsd b/content/resources/xsd/archetype-catalog-1.0.0.xsd
index 011919b..8dcf0c1 100644
--- a/content/resources/xsd/archetype-catalog-1.0.0.xsd
+++ b/content/resources/xsd/archetype-catalog-1.0.0.xsd
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <!-- =================== DO NOT EDIT THIS FILE ====================         -->
-<!-- Generated by Modello 1.4 on 2010-10-28 03:21:56,                       -->
+<!-- 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-catalog/1.0.0" targetNamespace="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0">
@@ -54,7 +54,7 @@
       <xs:element minOccurs="0" name="repository" type="xs:string">
         <xs:annotation>
           <xs:documentation source="version">0.0.0+</xs:documentation>
-          <xs:documentation source="description">The repository where to find the archetype.
+          <xs:documentation source="description">The URL of the repository where to find the archetype.
            When omitted, the archetype is searched for in the repository where the catalog comes from.</xs:documentation>
         </xs:annotation>
       </xs:element>