You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/12/11 14:48:42 UTC
svn commit: r1420158 [5/18] - /maven/site/trunk/content/resources/xsd/
Added: maven/site/trunk/content/resources/xsd/component-1.0.0.xsd
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/resources/xsd/component-1.0.0.xsd?rev=1420158&view=auto
==============================================================================
--- maven/site/trunk/content/resources/xsd/component-1.0.0.xsd (added)
+++ maven/site/trunk/content/resources/xsd/component-1.0.0.xsd Tue Dec 11 13:48:38 2012
@@ -0,0 +1,347 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://maven.apache.org/POM/4.0.0" targetNamespace="http://maven.apache.org/POM/4.0.0">
+ <xs:element name="component" type="Component">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">Describes the component layout and packaging.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="Component">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">Describes the component layout and packaging.</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">
+ Specify assembly parameters for groups of files.
+ </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="files">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+ Specify assembly parameters for single files.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="file" minOccurs="0" maxOccurs="unbounded" type="FileItem"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element minOccurs="0" name="dependencySets">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+ Specify assembly behavior for sets of dependencies.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="dependencySet" minOccurs="0" maxOccurs="unbounded" type="DependencySet"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="DependencySet">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">Defines a dependency set</xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="outputFileNameMapping" type="xs:string" default="${artifactId}-${version}.${extension}">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+ Specify the mapping pattern for all dependencies included
+ in this assembly.
+ Default is ${artifactId}-${version}.${extension}.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="unpack" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">0.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ If set to true, this property will unpack all dependencies
+ into the specified output directory. When set to false
+ dependencies will be includes as archives (jars).
+ Default value is false.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="scope" type="xs:string" default="runtime">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+ Specifies the dependency scope for this dependencySet.
+ Default scope value is "runtime".
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="outputDirectory" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+ Specifies the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+ </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">
+
+ When &lt;include&gt; subelements are present, they define
+ a set of files and directory to include.
+
+ </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">
+
+ When &lt;exclude&gt; subelements are present, they define
+ a set of files and directory to exclude.
+
+ </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:element minOccurs="0" name="fileMode" type="xs:string" default="0644">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission. Format: (User)(Group)(Other) where each
+ component is a sum of Read = 4, Write = 2, and Execute = 1. For example,
+ the default value of 0644 translates to User read-write, Group and Other
+ read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="directoryMode" type="xs:string" default="0755">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission. Format: (User)(Group)(Other) where each
+ component is a sum of Read = 4, Write = 2, and Execute = 1. For example,
+ the default value of 0644 translates to User read-write, Group and Other
+ read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="FileItem">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+ Allows individual file copy with option to change destination
+ file name not supported by fileSet
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="source" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+ Absolute or relative from the module's directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="outputDirectory" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+ Specifies the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="destName" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+ Destination file name in outputDirectory.
+ Default is the same name as the source's file.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="fileMode" type="xs:string" default="0644">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission. Format: (User)(Group)(Other) where each
+ component is a sum of Read = 4, Write = 2, and Execute = 1. For example,
+ the default value of 0644 translates to User read-write, Group and Other
+ read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="lineEnding" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Controls the line-endings of files in this fileSet.
+ Valid values are:
+ <ul>
+ <li><b>"keep"</b> - Preserve all line endings</li>
+ <li><b>"unix"</b> - Use Unix-style line endings</li>
+ <li><b>"lf"</b> - Use a single line-feed line endings</li>
+ <li><b>"dos"</b> - Use DOS-style line endings</li>
+ <li><b>"crlf"</b> - Use Carraige-return, line-feed line endings</li>
+ </ul>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="filtered" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+ Flag used to determine if the file is filtered.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="FileSet">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</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">
+ Absolute or relative from the module's directory. For
+ example, "src/main/bin" would select this subdirectory
+ of the project in which this dependency is defined.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="lineEnding" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Controls the line-endings of files in this fileSet.
+ Valid values:
+ <ul>
+ <li><b>"keep"</b> - Preserve all line endings</li>
+ <li><b>"unix"</b> - Use Unix-style line endings</li>
+ <li><b>"lf"</b> - Use a single line-feed line endings</li>
+ <li><b>"dos"</b> - Use DOS-style line endings</li>
+ <li><b>"crlf"</b> - Use Carraige-return, line-feed line endings</li>
+ </ul>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="outputDirectory" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+ Specifies the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+ </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">
+
+ When &lt;include&gt; subelements are present, they define
+ a set of files and directory to include.
+
+ </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">
+
+ When &lt;exclude&gt; subelements are present, they define
+ a set of files and directory to exclude.
+
+ </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:element minOccurs="0" name="fileMode" type="xs:string" default="0644">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission. Format: (User)(Group)(Other) where each
+ component is a sum of Read = 4, Write = 2, and Execute = 1. For example,
+ the default value of 0644 translates to User read-write, Group and Other
+ read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="directoryMode" type="xs:string" default="0755">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission. Format: (User)(Group)(Other) where each
+ component is a sum of Read = 4, Write = 2, and Execute = 1. For example,
+ the default value of 0644 translates to User read-write, Group and Other
+ read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file
Propchange: maven/site/trunk/content/resources/xsd/component-1.0.0.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/site/trunk/content/resources/xsd/component-1.0.0.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/site/trunk/content/resources/xsd/component-1.1.0.xsd
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/resources/xsd/component-1.1.0.xsd?rev=1420158&view=auto
==============================================================================
--- maven/site/trunk/content/resources/xsd/component-1.1.0.xsd (added)
+++ maven/site/trunk/content/resources/xsd/component-1.1.0.xsd Tue Dec 11 13:48:38 2012
@@ -0,0 +1,737 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.0" targetNamespace="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.0">
+ <xs:element name="component" type="Component">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Describes the component layout and packaging.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="Component">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Describes the component layout and packaging.</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">
+
+ Specifies which groups of files to include in the assembly. A
+ fileSet is specified by providing one or more of &lt;fileSet&gt;
+ subelements.
+
+ </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="files">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies which single files to include in the assembly. A file
+ is specified by providing one or more of &lt;file&gt;
+ subelements.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="file" minOccurs="0" maxOccurs="unbounded" type="FileItem"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element minOccurs="0" name="dependencySets">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies which dependencies to include in the assembly. A
+ dependencySet is specified by providing one or more of
+ &lt;dependencySet&gt; subelements.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="dependencySet" minOccurs="0" maxOccurs="unbounded" type="DependencySet"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element minOccurs="0" name="repositories">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies a set of repositories to include in the assembly. A
+ repository is specified by providing one or more of
+ &lt;repository&gt; subelements.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="repository" minOccurs="0" maxOccurs="unbounded" type="Repository"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element minOccurs="0" name="containerDescriptorHandlers">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Set of components which filter various container descriptors out of
+ the normal archive stream, so they can be aggregated then added.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="containerDescriptorHandler" minOccurs="0" maxOccurs="unbounded" type="ContainerDescriptorHandlerConfig"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="ContainerDescriptorHandlerConfig">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Configures a filter for files headed into the assembly archive, to enable
+ aggregation of various types of descriptor fragments, such as components.xml,
+ web.xml, etc.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="handlerName" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ The handler's plexus role-hint, for lookup from the container.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="Repository">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">Defines a Maven repository to be included in the assembly.</xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="includeMetadata" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ If set to true, this property will trigger the creation of repository
+ metadata which will allow the repository to be used as a functional remote
+ repository.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="groupVersionAlignments">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">Align a group to a version or an individual artifact.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="groupVersionAlignment" minOccurs="0" maxOccurs="unbounded" type="GroupVersionAlignment"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element minOccurs="0" name="scope" type="xs:string" default="runtime">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Specifies the scope for artifacts included in this repository.
+ Default scope value is "runtime".
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="useStrictFiltering" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ When specified as true, any include/exclude patterns which aren't used to filter an actual
+ artifact during assembly creation will cause the build to fail with an error. This is meant
+ to highlight obsolete inclusions or exclusions, or else signal that the assembly descriptor
+ is incorrectly configured.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="useDefaultExcludes" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Whether standard exclusion patterns, such as those matching CVS and Subversion
+ metadata files, should be used when calculating the files affected by this set.
+ For backward compatibility, the default value is true.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="outputDirectory" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Sets the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+ </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">
+
+ When &lt;include&gt; subelements are present, they define a set of
+ files and directory to include. If none is present, then
+ &lt;includes&gt; represents all valid values.
+
+ </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">
+
+ When &lt;exclude&gt; subelements are present, they define a set of
+ files and directory to exclude. If none is present, then
+ &lt;excludes&gt; represents no exclusions.
+
+ </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:element minOccurs="0" name="fileMode" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission, sets the file mode of the files included.
+ Format: (User)(Group)(Other) where each component is a sum of Read = 4,
+ Write = 2, and Execute = 1. For example, the value 0644
+ translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="directoryMode" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission, sets the directory mode of the directories
+ included. Format: (User)(Group)(Other) where each component is a sum of
+ Read = 4, Write = 2, and Execute = 1. For example, the value
+ 0755 translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="GroupVersionAlignment">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">Defines a Maven repository to be included in the assembly.</xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="id" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">The groupId for which you want to align the versions.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="version" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">The version you want to align this group to.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="excludes">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">Artifact Ids of the artifacts you want excluded from version alignment.</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:complexType>
+ <xs:complexType name="FileItem">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ A file allows individual file inclusion with the option to change
+ the destination filename not supported by fileSets.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="source" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Sets the absolute or relative path from the module's directory
+ of the file to be included in the assembly.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="outputDirectory" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Sets the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="destName" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Sets the destination filename in the outputDirectory.
+ Default is the same name as the source's file.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="fileMode" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission, sets the file mode of the files included.
+ Format: (User)(Group)(Other) where each component is a sum of Read = 4,
+ Write = 2, and Execute = 1. For example, the value 0644
+ translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="lineEnding" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Sets the line-endings of the files in this file.
+ Valid values are:
+ <ul>
+ <li><b>"keep"</b> - Preserve all line endings</li>
+ <li><b>"unix"</b> - Use Unix-style line endings</li>
+ <li><b>"lf"</b> - Use a single line-feed line endings</li>
+ <li><b>"dos"</b> - Use DOS-style line endings</li>
+ <li><b>"crlf"</b> - Use Carraige-return, line-feed line endings</li>
+ </ul>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="filtered" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Sets whether to determine if the file is filtered.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="FileSet">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ A fileSet allows the inclusion of groups of files into the assembly.
+ </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">
+ Sets the absolute or relative location from the module's
+ directory. For example, "src/main/bin" would select this
+ subdirectory of the project in which this dependency is defined.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="lineEnding" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Sets the line-endings of the files in this fileSet.
+ Valid values:
+ <ul>
+ <li><b>"keep"</b> - Preserve all line endings</li>
+ <li><b>"unix"</b> - Use Unix-style line endings</li>
+ <li><b>"lf"</b> - Use a single line-feed line endings</li>
+ <li><b>"dos"</b> - Use DOS-style line endings</li>
+ <li><b>"crlf"</b> - Use Carraige-return, line-feed line endings</li>
+ </ul>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="filtered" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Whether to filter symbols in the files as they are copied, using
+ properties from the build configuration.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="useStrictFiltering" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ When specified as true, any include/exclude patterns which aren't used to filter an actual
+ artifact during assembly creation will cause the build to fail with an error. This is meant
+ to highlight obsolete inclusions or exclusions, or else signal that the assembly descriptor
+ is incorrectly configured.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="useDefaultExcludes" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Whether standard exclusion patterns, such as those matching CVS and Subversion
+ metadata files, should be used when calculating the files affected by this set.
+ For backward compatibility, the default value is true.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="outputDirectory" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Sets the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+ </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">
+
+ When &lt;include&gt; subelements are present, they define a set of
+ files and directory to include. If none is present, then
+ &lt;includes&gt; represents all valid values.
+
+ </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">
+
+ When &lt;exclude&gt; subelements are present, they define a set of
+ files and directory to exclude. If none is present, then
+ &lt;excludes&gt; represents no exclusions.
+
+ </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:element minOccurs="0" name="fileMode" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission, sets the file mode of the files included.
+ Format: (User)(Group)(Other) where each component is a sum of Read = 4,
+ Write = 2, and Execute = 1. For example, the value 0644
+ translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="directoryMode" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission, sets the directory mode of the directories
+ included. Format: (User)(Group)(Other) where each component is a sum of
+ Read = 4, Write = 2, and Execute = 1. For example, the value
+ 0755 translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="DependencySet">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ A dependencySet allows inclusion and exclusion of project dependencies
+ in the assembly.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="outputFileNameMapping" type="xs:string" default="${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Sets the mapping pattern for all dependencies included in this
+ assembly. Default is ${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}.
+ If the artifact doesn't have a classifier, that part of the pattern will be left off.
+ (Since 2.2-beta-2; 2.2-beta-1 uses ${artifactId}-${version}${dashClassifier?}.${extension})
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="unpack" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">0.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ If set to true, this property will unpack all dependencies
+ into the specified output directory. When set to false
+ dependencies will be includes as archives (jars).
+ Default value is false.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="unpackOptions" type="UnpackOptions">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Allows the specification of includes and excludes, along with filtering options, for items
+ unpacked from a dependency artifact.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="scope" type="xs:string" default="runtime">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Sets the dependency scope for this dependencySet.
+ Default scope value is "runtime".
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="useProjectArtifact" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Determines whether the artifact produced during the current project's
+ build should be included in this dependency set. Default value is true,
+ for backward compatibility. (Since 2.2)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="useProjectAttachments" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Determines whether the attached artifacts produced during the current project's
+ build should be included in this dependency set. Default value is false. (Since 2.2)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="useTransitiveDependencies" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Determines whether transitive dependencies will be included in the processing of
+ the current dependency set. If true, includes/excludes/useTransitiveFiltering
+ will apply to transitive dependency artifacts in addition to the main project
+ dependency artifacts. If false, useTransitiveFiltering is meaningless, and
+ includes/excludes only affect the immediate dependencies of the project.
+ By default, this value is true. (Since 2.2)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="useTransitiveFiltering" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Determines whether the include/exclude patterns in this dependency set will be applied to
+ the transitive path of a given artifact. If true, and the current artifact is a transitive
+ dependency brought in by another artifact which matches an inclusion or exclusion pattern,
+ then the current artifact has the same inclusion/exclusion logic applied to it as well. By
+ default, this value is false, in order to preserve backward compatibility with version 2.1.
+ This means that includes/excludes only apply directly to the current artifact, and not to
+ the transitive set of artifacts which brought it in. (Since 2.2)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="useStrictFiltering" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ When specified as true, any include/exclude patterns which aren't used to filter an actual
+ artifact during assembly creation will cause the build to fail with an error. This is meant
+ to highlight obsolete inclusions or exclusions, or else signal that the assembly descriptor
+ is incorrectly configured.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="useDefaultExcludes" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Whether standard exclusion patterns, such as those matching CVS and Subversion
+ metadata files, should be used when calculating the files affected by this set.
+ For backward compatibility, the default value is true.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="outputDirectory" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Sets the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+ </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">
+
+ When &lt;include&gt; subelements are present, they define a set of
+ files and directory to include. If none is present, then
+ &lt;includes&gt; represents all valid values.
+
+ </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">
+
+ When &lt;exclude&gt; subelements are present, they define a set of
+ files and directory to exclude. If none is present, then
+ &lt;excludes&gt; represents no exclusions.
+
+ </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:element minOccurs="0" name="fileMode" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission, sets the file mode of the files included.
+ Format: (User)(Group)(Other) where each component is a sum of Read = 4,
+ Write = 2, and Execute = 1. For example, the value 0644
+ translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="directoryMode" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Similar to a UNIX permission, sets the directory mode of the directories
+ included. Format: (User)(Group)(Other) where each component is a sum of
+ Read = 4, Write = 2, and Execute = 1. For example, the value
+ 0755 translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="UnpackOptions">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Specifies options for including/excluding/filtering items extracted from an archive.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="includes">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Set of patterns for matching items to be included from an archive as it is unpacked.
+ </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.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Set of patterns for matching items to be excluded from an archive as it is unpacked.
+ </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:element minOccurs="0" name="filtered" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Whether to filter symbols in the files as they are unpacked from the archive, using
+ properties from the build configuration.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file
Propchange: maven/site/trunk/content/resources/xsd/component-1.1.0.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/site/trunk/content/resources/xsd/component-1.1.0.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision