| <?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. |
| --> |
| <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> |