[infinispan-commits] Infinispan SVN: r100 - in trunk: distribution and 2 other directories.
infinispan-commits at lists.jboss.org
infinispan-commits at lists.jboss.org
Wed Apr 8 12:22:09 EDT 2009
Author: manik.surtani at jboss.com
Date: 2009-04-08 12:22:08 -0400 (Wed, 08 Apr 2009)
New Revision: 100
Added:
trunk/distribution/assembly/
trunk/distribution/assembly/all.xml
trunk/distribution/assembly/assembly-1.1.0-SNAPSHOT.xsd
trunk/distribution/assembly/bin.xml
trunk/distribution/assembly/src.xml
Removed:
trunk/distribution/all.xml
trunk/distribution/assembly-1.1.0-SNAPSHOT.xsd
trunk/distribution/bin.xml
trunk/distribution/doc.xml
trunk/distribution/src.xml
Modified:
trunk/distribution/pom.xml
trunk/parent/pom.xml
trunk/pom.xml
Log:
Maven changes
Deleted: trunk/distribution/all.xml
===================================================================
--- trunk/distribution/all.xml 2009-04-08 13:17:57 UTC (rev 99)
+++ trunk/distribution/all.xml 2009-04-08 16:22:08 UTC (rev 100)
@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- This package will build a ZIP containing the following:
-
- * jbosscache-core.jar
- * library dependencies
- * sample config files
- * conversion scripts
- * license docs and readmes
- * documentation
- * src jar
--->
-
-<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:maven:assembly:1.1.0-SNAPSHOT">
- <id>all</id>
-
- <formats>
- <format>zip</format>
- </formats>
-
- <includeBaseDirectory>true</includeBaseDirectory>
-
- <fileSets>
-
- <!-- code -->
- <fileSet>
- <directory>target</directory>
- <outputDirectory/>
- <includes>
- <include>*.jar</include>
- </includes>
- <excludes>
- <exclude>*test*.jar</exclude>
- </excludes>
- </fileSet>
-
- <!-- resources -->
- <fileSet>
- <directory>src/main/resources</directory>
- <outputDirectory>etc</outputDirectory>
- <excludes>
- <exclude>**/*.sh</exclude>
- </excludes>
- </fileSet>
-
- <!-- Executable resources -->
- <fileSet>
- <directory>src/main/resources</directory>
- <outputDirectory>etc</outputDirectory>
- <includes>
- <include>**/*.sh</include>
- </includes>
- <fileMode>0777</fileMode>
- </fileSet>
-
- <!-- Log4j XML -->
- <fileSet>
- <directory>src/test/resources</directory>
- <outputDirectory>etc</outputDirectory>
- <includes>
- <include>log4j.xml</include>
- </includes>
- </fileSet>
-
- <!-- EULAs and license files -->
- <fileSet>
- <directory>src/main/release</directory>
- <outputDirectory/>
- <includes>
- <include>**/*.txt</include>
- </includes>
- </fileSet>
-
- <!-- docs -->
- <fileSet>
- <directory>target/site/apidocs</directory>
- <outputDirectory>doc/apidocs</outputDirectory>
- </fileSet>
-
- <fileSet>
- <directory>target/docbook</directory>
- <outputDirectory>doc/</outputDirectory>
- </fileSet>
- </fileSets>
-
- <!-- Make sure we filter out the junk that jboss-common-core pulls in -->
- <dependencySets>
- <dependencySet>
- <outputDirectory>lib</outputDirectory>
- <outputFileNameMapping>${scope}/${artifactId}.${extension}</outputFileNameMapping>
- <unpack>false</unpack>
- <scope>test</scope>
- </dependencySet>
- </dependencySets>
-</assembly>
Copied: trunk/distribution/assembly/all.xml (from rev 98, trunk/distribution/all.xml)
===================================================================
--- trunk/distribution/assembly/all.xml (rev 0)
+++ trunk/distribution/assembly/all.xml 2009-04-08 16:22:08 UTC (rev 100)
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ This package will build a ZIP containing the following:
+
+ + modules
+ + core
+ - infinispan-core.jar
+ + lib (contains dependencies)
+ + tree
+ - infinispan-tree.jar
+ + lib
+
+ .. etc ...
+
+ + test
+ + modules
+ ... as above, for test jars and deps ...
+
+ + bin (any scripts, etc)
+ + etc (sample configs, resources, etc from src/main/resources)
+ + doc (release notes, etc from src/main/release)
+-->
+
+<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:maven:assembly:1.1.0-SNAPSHOT">
+ <id>all</id>
+
+ <formats>
+ <format>zip</format>
+ </formats>
+
+ <!-- TODO fix this, this is still based on the old JBoss Cache src tree -->
+ <includeBaseDirectory>true</includeBaseDirectory>
+
+ <fileSets>
+
+ <!-- code -->
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory/>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ <excludes>
+ <exclude>*test*.jar</exclude>
+ </excludes>
+ </fileSet>
+
+ <!-- resources -->
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory>etc</outputDirectory>
+ <excludes>
+ <exclude>**/*.sh</exclude>
+ </excludes>
+ </fileSet>
+
+ <!-- Executable resources -->
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory>etc</outputDirectory>
+ <includes>
+ <include>**/*.sh</include>
+ </includes>
+ <fileMode>0777</fileMode>
+ </fileSet>
+
+ <!-- Log4j XML -->
+ <fileSet>
+ <directory>src/test/resources</directory>
+ <outputDirectory>etc</outputDirectory>
+ <includes>
+ <include>log4j.xml</include>
+ </includes>
+ </fileSet>
+
+ <!-- EULAs and license files -->
+ <fileSet>
+ <directory>src/main/release</directory>
+ <outputDirectory/>
+ <includes>
+ <include>**/*.txt</include>
+ </includes>
+ </fileSet>
+
+ <!-- docs -->
+ <fileSet>
+ <directory>target/site/apidocs</directory>
+ <outputDirectory>doc/apidocs</outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <directory>target/docbook</directory>
+ <outputDirectory>doc/</outputDirectory>
+ </fileSet>
+ </fileSets>
+
+ <!-- Make sure we filter out the junk that jboss-common-core pulls in -->
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>lib</outputDirectory>
+ <outputFileNameMapping>${scope}/${artifactId}.${extension}</outputFileNameMapping>
+ <unpack>false</unpack>
+ <scope>test</scope>
+ </dependencySet>
+ </dependencySets>
+</assembly>
Copied: trunk/distribution/assembly/assembly-1.1.0-SNAPSHOT.xsd (from rev 98, trunk/distribution/assembly-1.1.0-SNAPSHOT.xsd)
===================================================================
--- trunk/distribution/assembly/assembly-1.1.0-SNAPSHOT.xsd (rev 0)
+++ trunk/distribution/assembly/assembly-1.1.0-SNAPSHOT.xsd 2009-04-08 16:22:08 UTC (rev 100)
@@ -0,0 +1,1233 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ xmlns:tns="urn:maven:assembly:1.1.0-SNAPSHOT" targetNamespace="urn:maven:assembly:1.1.0-SNAPSHOT">
+ <xs:element name="assembly" type="Assembly">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ An assembly defines a collection of files usually distributed in an
+ archive format such as zip, tar, or tar.gz that is generated from a
+ project. For example, a project could produce a ZIP assembly which
+ contains a project's JAR artifact in the root directory, the
+ runtime dependencies in a lib/ directory, and a shell script to launch
+ a stand-alone application.
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="Assembly">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ An assembly defines a collection of files usually distributed in an
+ archive format such as zip, tar, or tar.gz that is generated from a
+ project. For example, a project could produce a ZIP assembly which
+ contains a project's JAR artifact in the root directory, the
+ runtime dependencies in a lib/ directory, and a shell script to launch
+ a stand-alone application.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element name="id" minOccurs="0" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Sets the id of this assembly. This is a symbolic name for a
+ particular assembly of files from this project. Also, aside from
+ being used to distinctly name the assembled package by attaching
+ its value to the generated archive, the id is used as your
+ artifact's classifier when deploying.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="formats" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies the formats of the assembly. Multiple formats can be
+ supplied and the Assembly Plugin will generate an archive for each
+ desired formats. When deploying your project, all file formats
+ specified will also be deployed. A format is specified by supplying
+ one of the following values in a &lt;format&gt; subelement:
+ <ul>
+ <li><b>"zip"</b> - Creates a ZIP file format</li>
+ <li><b>"gz"</b> - Creates a GZIP format</li>
+ <li><b>"tar"</b> - Creates a TAR format</li>
+ <li><b>"tar.gz"</b> - Creates a gzip'd TAR format</li>
+ <li><b>"tar.bz2</b> - Creates a bzip'd TAR format</li>
+ </ul>
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="format" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="includeBaseDirectory" minOccurs="0" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation source="version">0.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Includes a base directory in the final archive. For example,
+ if you are creating an assembly named "your-app", setting
+ includeBaseDirectory to true will create an archive that
+ includes this base directory. If this option is set to false
+ the archive created will unzip its content to the current
+ directory. Default value is true.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="baseDirectory" minOccurs="0" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Sets the base directory of the resulting assembly archive. If this is not
+ set and includeBaseDirectory == true, ${project.build.finalName} will be used instead.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="includeSiteDirectory" minOccurs="0" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">0.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Includes a site directory in the final archive. The site directory
+ location of a project is determined by the siteDirectory parameter
+ of the Assembly Plugin. Default value is false.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="moduleSets" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies which module files to include in the assembly. A moduleSet
+ is specified by providing one or more of &lt;moduleSet&gt;
+ subelements.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="moduleSet" minOccurs="0" maxOccurs="unbounded" type="ModuleSet"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="fileSets" minOccurs="0">
+ <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 name="files" minOccurs="0">
+ <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 name="dependencySets" minOccurs="0">
+ <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 name="repositories" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies which repository files 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 name="componentDescriptors" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies the shared components xml file locations to include in the
+ assembly. The locations specified must be relative to the basedir of
+ the project. When multiple componentDescriptors are found, their
+ contents are merged. Check out the <a href="component.html">
+ descriptor components</a> for more information. A
+ componentDescriptor is specified by providing one or more of
+ &lt;componentDescriptor&gt; subelements.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="componentDescriptor" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="Repository">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Defines a Maven repository to be included in the assembly. The artifacts
+ available to be included in a repository are your project's dependency
+ artifacts. The repository created contains the needed metadata entries
+ and also contains both sha1 and md5 checksums. This is useful for creating
+ archives which will be deployed to internal repositories.
+
+ <br/><b>NOTE:</b> Currently, only artifacts from the central repository
+ are allowed.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element name="includeMetadata" minOccurs="0" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.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. Default value is false.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="groupVersionAlignments" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies that you want to align a group of artifacts to a specified
+ version. A groupVersionAlignment is specified by providing one or
+ more of &lt;groupVersionAlignment&gt; subelements.
+
+ </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 name="scope" minOccurs="0" 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 name="useStrictFiltering" minOccurs="0" 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 name="useDefaultExcludes" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="includes" minOccurs="0">
+ <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 name="excludes" minOccurs="0">
+ <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 name="fileMode" minOccurs="0" 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, 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 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 name="directoryMode" minOccurs="0" 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, 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 default value of
+ 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.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Allows a group of artifacts to be aligned to a specified version.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element name="id" minOccurs="0" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ The groupId of the artifacts for which you want to align the
+ versions.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="version" minOccurs="0" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ The version you want to align this group to.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="excludes" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ When &lt;exclude&gt; subelements are present, they define the
+ artifactIds of the artifacts to exclude. If none is present, then
+ &lt;excludes&gt; represents no exclusions. An exclude is specified
+ by providing one or more of &lt;exclude&gt; subelements.
+
+ </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="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 name="outputFileNameMapping" minOccurs="0" type="xs:string"
+ default="${artifactId}-${version}-${classifier}.${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 ${artifactId}-${version}.${extension}.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="unpack" minOccurs="0" type="xs:boolean" default="false">
+ <xs:annotation>
+ <xs:documentation source="version">1.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). Can only unpack
+ jar, zip, tar.gz, and tar.bz archives. Default value is false.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="unpackOptions" minOccurs="0" 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 name="scope" minOccurs="0" 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 name="useStrictFiltering" minOccurs="0" 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 name="useDefaultExcludes" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="includes" minOccurs="0">
+ <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 name="excludes" minOccurs="0">
+ <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 name="fileMode" minOccurs="0" 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, 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 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 name="directoryMode" minOccurs="0" 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, 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 default value of
+ 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 name="includes" minOccurs="0">
+ <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 name="excludes" minOccurs="0">
+ <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 name="filtered" minOccurs="0" 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:complexType name="ModuleSet">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ A moduleSet represent one or more project &lt;module&gt; present inside
+ a project's pom.xml. This allows you to include sources or binaries
+ belonging to a project's &lt;modules&gt;.
+
+ <br/><b>NOTE:</b> When using &lt;moduleSets&gt; from the command-line, it
+ is required to pass first the package phase by doing: "mvn package
+ assembly:assembly". This bug/issue is scheduled to be addressed by Maven 2.1.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element name="includeSubModules" minOccurs="0" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ If set to false, the plugin will exclude sub-modules from processing in this ModuleSet.
+ Otherwise, it will process all sub-modules, each subject to include/exclude rules.
+ Default value is true.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="includes" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ This is a list of &lt;include/&gt; subelements, each containing a
+ module reference of the type groupId:artifactId. Modules matching
+ these elements will be included in this set. 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 name="excludes" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ This is a list of &lt;exclude/&gt; subelements, each containing a
+ module reference of the type groupId:artifactId. Modules matching
+ these elements will be excluded from this set.
+
+ </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 name="sources" minOccurs="0" type="ModuleSources">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ When this is present, the plugin will include the source files of
+ the included modules from this set in the resulting assembly.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="binaries" minOccurs="0" type="ModuleBinaries">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ When this is present, the plugin will include the binaries of the
+ included modules from this set in the resulting assembly.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="ModuleSources">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Contains configuration options for including the source files of a
+ project module in an assembly.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element name="fileSets" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies which groups of files from each included module 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 name="includeModuleDirectory" minOccurs="0" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies whether the module's finalName should be prepended to the outputDirectory
+ values of any fileSets applied to it. Default value is true.
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="excludeSubModuleDirectories" minOccurs="0" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies whether sub-module directories below the current module should be excluded
+ from fileSets applied to that module. This might be useful if you only mean to copy
+ the sources for the exact module list matched by this ModuleSet, ignoring (or processing
+ separately) the modules which exist in directories below the current one.
+ Default value is true.
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="outputDirectoryMapping" minOccurs="0" type="xs:string" default="${artifactId}">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ Sets the mapping pattern for all module base-directories included in this assembly.
+ NOTE: This field is only used if includeModuleDirectory == true.
+ Default is the module's ${artifactId}.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="useStrictFiltering" minOccurs="0" 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 name="useDefaultExcludes" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="includes" minOccurs="0">
+ <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 name="excludes" minOccurs="0">
+ <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 name="fileMode" minOccurs="0" 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, 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 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 name="directoryMode" minOccurs="0" 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, 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 default value of
+ 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="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 name="directory" minOccurs="0" 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 name="lineEnding" minOccurs="0" 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 name="filtered" minOccurs="0" 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 name="useStrictFiltering" minOccurs="0" 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 name="useDefaultExcludes" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="includes" minOccurs="0">
+ <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 name="excludes" minOccurs="0">
+ <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 name="fileMode" minOccurs="0" 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, 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 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 name="directoryMode" minOccurs="0" 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, 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 default value of
+ 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="ModuleBinaries">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Contains configuration options for including the binary files of a
+ project module in an assembly.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element name="attachmentClassifier" minOccurs="0" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+ When specified, the attachmentClassifier will cause the assembler to look at artifacts
+ attached to the module instead of the main project artifact. If it can find an attached
+ artifact matching the specified classifier, it will use it; otherwise, it will throw an
+ exception.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="includeDependencies" minOccurs="0" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ If set to true, the plugin will include the direct and transitive dependencies of
+ of the project modules included here. Otherwise, it will only include the module
+ packages only. Default value is true.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="dependencySets" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0</xs:documentation>
+ <xs:documentation source="description">
+
+ Specifies which dependencies of the module 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 name="unpack" minOccurs="0" type="xs:boolean" default="true">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ If set to true, this property will unpack all module packages
+ into the specified output directory. When set to false
+ module packages will be included as archives (jars).
+ Default value is true.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="unpackOptions" minOccurs="0" 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 module artifact.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="outputFileNameMapping" minOccurs="0" type="xs:string"
+ default="${artifactId}-${version}.${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 ${artifactId}-${version}.${extension}.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="useStrictFiltering" minOccurs="0" 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 name="useDefaultExcludes" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="includes" minOccurs="0">
+ <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 name="excludes" minOccurs="0">
+ <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 name="fileMode" minOccurs="0" 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, 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 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 name="directoryMode" minOccurs="0" 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, 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 default value of
+ 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="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 name="source" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="destName" minOccurs="0" 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 name="fileMode" minOccurs="0" 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, 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 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 name="lineEnding" minOccurs="0" 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 name="filtered" minOccurs="0" 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:schema>
\ No newline at end of file
Copied: trunk/distribution/assembly/bin.xml (from rev 98, trunk/distribution/bin.xml)
===================================================================
--- trunk/distribution/assembly/bin.xml (rev 0)
+++ trunk/distribution/assembly/bin.xml 2009-04-08 16:22:08 UTC (rev 100)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This package will build a ZIP containing the following:
+
+ + modules
+ + core
+ - infinispan-core.jar
+ + lib (contains dependencies)
+ + tree
+ - infinispan-tree.jar
+ + lib
+
+ .. etc ...
+
+ + bin (any scripts, etc)
+ + etc (sample configs, resources, etc from src/main/resources)
+ + doc (release notes, etc from src/main/release)
+-->
+
+<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:maven:assembly:1.1.0-SNAPSHOT">
+ <id>bin</id>
+
+ <formats>
+ <format>zip</format>
+ </formats>
+
+ <!-- TODO fix this, this is still based on the old JBoss Cache src tree -->
+ <includeBaseDirectory>true</includeBaseDirectory>
+
+ <fileSets>
+ <!-- code -->
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory/>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ <excludes>
+ <exclude>*test*.jar</exclude>
+ <exclude>*sources*.jar</exclude>
+ </excludes>
+ </fileSet>
+
+ <!-- resources -->
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory>etc</outputDirectory>
+ <excludes>
+ <exclude>**/*.sh</exclude>
+ </excludes>
+ </fileSet>
+
+ <!-- Executable resources -->
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory>etc</outputDirectory>
+ <includes>
+ <include>**/*.sh</include>
+ </includes>
+ <fileMode>0777</fileMode>
+ </fileSet>
+
+ <!-- Log4j XML -->
+ <fileSet>
+ <directory>src/test/resources</directory>
+ <outputDirectory>etc</outputDirectory>
+ <includes>
+ <include>log4j.xml</include>
+ </includes>
+ </fileSet>
+
+
+ <!-- EULAs and license files -->
+ <fileSet>
+ <directory>src/main/release</directory>
+ <outputDirectory/>
+ <includes>
+ <include>**/*.txt</include>
+ </includes>
+ </fileSet>
+
+ </fileSets>
+
+ <!-- Make sure we filter out the junk that jboss-common-core pulls in -->
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>lib</outputDirectory>
+ <outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping>
+ <unpack>false</unpack>
+ <scope>runtime</scope>
+ </dependencySet>
+ </dependencySets>
+</assembly>
Copied: trunk/distribution/assembly/src.xml (from rev 98, trunk/distribution/src.xml)
===================================================================
--- trunk/distribution/assembly/src.xml (rev 0)
+++ trunk/distribution/assembly/src.xml 2009-04-08 16:22:08 UTC (rev 100)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This package will build a ZIP the root of the source tree and all subdirectories. Essentially a snapshot of the
+ subversion checkout.
+-->
+<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:maven:assembly:1.1.0-SNAPSHOT">
+ <id>src</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+
+ <includeBaseDirectory>true</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <excludes>
+ <exclude>**/target/**</exclude>
+ <exclude>**/output/**</exclude>
+ <exclude>**/test-output/**</exclude>
+ <exclude>**/jbossdb/**</exclude>
+ <exclude>**/testFiles/**</exclude>
+ <exclude>**/*.jdb</exclude>
+ <exclude>**/*.iml</exclude>
+ <exclude>**/*.ipr</exclude>
+ <exclude>**/*.iws</exclude>
+ <exclude>**/*.log</exclude>
+ <exclude>**/*.lck</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+</assembly>
\ No newline at end of file
Deleted: trunk/distribution/assembly-1.1.0-SNAPSHOT.xsd
===================================================================
--- trunk/distribution/assembly-1.1.0-SNAPSHOT.xsd 2009-04-08 13:17:57 UTC (rev 99)
+++ trunk/distribution/assembly-1.1.0-SNAPSHOT.xsd 2009-04-08 16:22:08 UTC (rev 100)
@@ -1,1233 +0,0 @@
-<?xml version="1.0"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
- xmlns:tns="urn:maven:assembly:1.1.0-SNAPSHOT" targetNamespace="urn:maven:assembly:1.1.0-SNAPSHOT">
- <xs:element name="assembly" type="Assembly">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- An assembly defines a collection of files usually distributed in an
- archive format such as zip, tar, or tar.gz that is generated from a
- project. For example, a project could produce a ZIP assembly which
- contains a project's JAR artifact in the root directory, the
- runtime dependencies in a lib/ directory, and a shell script to launch
- a stand-alone application.
-
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:complexType name="Assembly">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- An assembly defines a collection of files usually distributed in an
- archive format such as zip, tar, or tar.gz that is generated from a
- project. For example, a project could produce a ZIP assembly which
- contains a project's JAR artifact in the root directory, the
- runtime dependencies in a lib/ directory, and a shell script to launch
- a stand-alone application.
-
- </xs:documentation>
- </xs:annotation>
- <xs:all>
- <xs:element name="id" minOccurs="0" type="xs:string">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
- Sets the id of this assembly. This is a symbolic name for a
- particular assembly of files from this project. Also, aside from
- being used to distinctly name the assembled package by attaching
- its value to the generated archive, the id is used as your
- artifact's classifier when deploying.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="formats" minOccurs="0">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- Specifies the formats of the assembly. Multiple formats can be
- supplied and the Assembly Plugin will generate an archive for each
- desired formats. When deploying your project, all file formats
- specified will also be deployed. A format is specified by supplying
- one of the following values in a &lt;format&gt; subelement:
- <ul>
- <li><b>"zip"</b> - Creates a ZIP file format</li>
- <li><b>"gz"</b> - Creates a GZIP format</li>
- <li><b>"tar"</b> - Creates a TAR format</li>
- <li><b>"tar.gz"</b> - Creates a gzip'd TAR format</li>
- <li><b>"tar.bz2</b> - Creates a bzip'd TAR format</li>
- </ul>
-
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="format" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="includeBaseDirectory" minOccurs="0" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation source="version">0.0.0+</xs:documentation>
- <xs:documentation source="description">
- Includes a base directory in the final archive. For example,
- if you are creating an assembly named "your-app", setting
- includeBaseDirectory to true will create an archive that
- includes this base directory. If this option is set to false
- the archive created will unzip its content to the current
- directory. Default value is true.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="baseDirectory" minOccurs="0" type="xs:string">
- <xs:annotation>
- <xs:documentation source="version">1.1.0</xs:documentation>
- <xs:documentation source="description">
- Sets the base directory of the resulting assembly archive. If this is not
- set and includeBaseDirectory == true, ${project.build.finalName} will be used instead.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="includeSiteDirectory" minOccurs="0" type="xs:boolean" default="false">
- <xs:annotation>
- <xs:documentation source="version">0.0.0+</xs:documentation>
- <xs:documentation source="description">
- Includes a site directory in the final archive. The site directory
- location of a project is determined by the siteDirectory parameter
- of the Assembly Plugin. Default value is false.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="moduleSets" minOccurs="0">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- Specifies which module files to include in the assembly. A moduleSet
- is specified by providing one or more of &lt;moduleSet&gt;
- subelements.
-
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="moduleSet" minOccurs="0" maxOccurs="unbounded" type="ModuleSet"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="fileSets" minOccurs="0">
- <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 name="files" minOccurs="0">
- <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 name="dependencySets" minOccurs="0">
- <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 name="repositories" minOccurs="0">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- Specifies which repository files 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 name="componentDescriptors" minOccurs="0">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- Specifies the shared components xml file locations to include in the
- assembly. The locations specified must be relative to the basedir of
- the project. When multiple componentDescriptors are found, their
- contents are merged. Check out the <a href="component.html">
- descriptor components</a> for more information. A
- componentDescriptor is specified by providing one or more of
- &lt;componentDescriptor&gt; subelements.
-
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="componentDescriptor" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- <xs:complexType name="Repository">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- Defines a Maven repository to be included in the assembly. The artifacts
- available to be included in a repository are your project's dependency
- artifacts. The repository created contains the needed metadata entries
- and also contains both sha1 and md5 checksums. This is useful for creating
- archives which will be deployed to internal repositories.
-
- <br/><b>NOTE:</b> Currently, only artifacts from the central repository
- are allowed.
-
- </xs:documentation>
- </xs:annotation>
- <xs:all>
- <xs:element name="includeMetadata" minOccurs="0" type="xs:boolean" default="false">
- <xs:annotation>
- <xs:documentation source="version">1.0.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. Default value is false.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="groupVersionAlignments" minOccurs="0">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- Specifies that you want to align a group of artifacts to a specified
- version. A groupVersionAlignment is specified by providing one or
- more of &lt;groupVersionAlignment&gt; subelements.
-
- </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 name="scope" minOccurs="0" 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 name="useStrictFiltering" minOccurs="0" 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 name="useDefaultExcludes" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="includes" minOccurs="0">
- <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 name="excludes" minOccurs="0">
- <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 name="fileMode" minOccurs="0" 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, 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 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 name="directoryMode" minOccurs="0" 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, 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 default value of
- 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.0.0+</xs:documentation>
- <xs:documentation source="description">
- Allows a group of artifacts to be aligned to a specified version.
- </xs:documentation>
- </xs:annotation>
- <xs:all>
- <xs:element name="id" minOccurs="0" type="xs:string">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
- The groupId of the artifacts for which you want to align the
- versions.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="version" minOccurs="0" type="xs:string">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
- The version you want to align this group to.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="excludes" minOccurs="0">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- When &lt;exclude&gt; subelements are present, they define the
- artifactIds of the artifacts to exclude. If none is present, then
- &lt;excludes&gt; represents no exclusions. An exclude is specified
- by providing one or more of &lt;exclude&gt; subelements.
-
- </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="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 name="outputFileNameMapping" minOccurs="0" type="xs:string"
- default="${artifactId}-${version}-${classifier}.${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 ${artifactId}-${version}.${extension}.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="unpack" minOccurs="0" type="xs:boolean" default="false">
- <xs:annotation>
- <xs:documentation source="version">1.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). Can only unpack
- jar, zip, tar.gz, and tar.bz archives. Default value is false.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="unpackOptions" minOccurs="0" 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 name="scope" minOccurs="0" 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 name="useStrictFiltering" minOccurs="0" 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 name="useDefaultExcludes" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="includes" minOccurs="0">
- <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 name="excludes" minOccurs="0">
- <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 name="fileMode" minOccurs="0" 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, 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 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 name="directoryMode" minOccurs="0" 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, 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 default value of
- 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 name="includes" minOccurs="0">
- <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 name="excludes" minOccurs="0">
- <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 name="filtered" minOccurs="0" 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:complexType name="ModuleSet">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- A moduleSet represent one or more project &lt;module&gt; present inside
- a project's pom.xml. This allows you to include sources or binaries
- belonging to a project's &lt;modules&gt;.
-
- <br/><b>NOTE:</b> When using &lt;moduleSets&gt; from the command-line, it
- is required to pass first the package phase by doing: "mvn package
- assembly:assembly". This bug/issue is scheduled to be addressed by Maven 2.1.
-
- </xs:documentation>
- </xs:annotation>
- <xs:all>
- <xs:element name="includeSubModules" minOccurs="0" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation source="version">1.1.0</xs:documentation>
- <xs:documentation source="description">
- If set to false, the plugin will exclude sub-modules from processing in this ModuleSet.
- Otherwise, it will process all sub-modules, each subject to include/exclude rules.
- Default value is true.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="includes" minOccurs="0">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- This is a list of &lt;include/&gt; subelements, each containing a
- module reference of the type groupId:artifactId. Modules matching
- these elements will be included in this set. 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 name="excludes" minOccurs="0">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
-
- This is a list of &lt;exclude/&gt; subelements, each containing a
- module reference of the type groupId:artifactId. Modules matching
- these elements will be excluded from this set.
-
- </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 name="sources" minOccurs="0" type="ModuleSources">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
- When this is present, the plugin will include the source files of
- the included modules from this set in the resulting assembly.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="binaries" minOccurs="0" type="ModuleBinaries">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
- When this is present, the plugin will include the binaries of the
- included modules from this set in the resulting assembly.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:all>
- </xs:complexType>
- <xs:complexType name="ModuleSources">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
- Contains configuration options for including the source files of a
- project module in an assembly.
- </xs:documentation>
- </xs:annotation>
- <xs:all>
- <xs:element name="fileSets" minOccurs="0">
- <xs:annotation>
- <xs:documentation source="version">1.1.0</xs:documentation>
- <xs:documentation source="description">
-
- Specifies which groups of files from each included module 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 name="includeModuleDirectory" minOccurs="0" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation source="version">1.1.0</xs:documentation>
- <xs:documentation source="description">
-
- Specifies whether the module's finalName should be prepended to the outputDirectory
- values of any fileSets applied to it. Default value is true.
-
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="excludeSubModuleDirectories" minOccurs="0" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation source="version">1.1.0</xs:documentation>
- <xs:documentation source="description">
-
- Specifies whether sub-module directories below the current module should be excluded
- from fileSets applied to that module. This might be useful if you only mean to copy
- the sources for the exact module list matched by this ModuleSet, ignoring (or processing
- separately) the modules which exist in directories below the current one.
- Default value is true.
-
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="outputDirectoryMapping" minOccurs="0" type="xs:string" default="${artifactId}">
- <xs:annotation>
- <xs:documentation source="version">1.1.0</xs:documentation>
- <xs:documentation source="description">
- Sets the mapping pattern for all module base-directories included in this assembly.
- NOTE: This field is only used if includeModuleDirectory == true.
- Default is the module's ${artifactId}.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="useStrictFiltering" minOccurs="0" 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 name="useDefaultExcludes" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="includes" minOccurs="0">
- <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 name="excludes" minOccurs="0">
- <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 name="fileMode" minOccurs="0" 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, 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 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 name="directoryMode" minOccurs="0" 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, 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 default value of
- 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="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 name="directory" minOccurs="0" 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 name="lineEnding" minOccurs="0" 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 name="filtered" minOccurs="0" 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 name="useStrictFiltering" minOccurs="0" 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 name="useDefaultExcludes" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="includes" minOccurs="0">
- <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 name="excludes" minOccurs="0">
- <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 name="fileMode" minOccurs="0" 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, 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 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 name="directoryMode" minOccurs="0" 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, 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 default value of
- 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="ModuleBinaries">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
- Contains configuration options for including the binary files of a
- project module in an assembly.
- </xs:documentation>
- </xs:annotation>
- <xs:all>
- <xs:element name="attachmentClassifier" minOccurs="0" type="xs:string">
- <xs:annotation>
- <xs:documentation source="version">1.1.0</xs:documentation>
- <xs:documentation source="description">
- When specified, the attachmentClassifier will cause the assembler to look at artifacts
- attached to the module instead of the main project artifact. If it can find an attached
- artifact matching the specified classifier, it will use it; otherwise, it will throw an
- exception.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="includeDependencies" minOccurs="0" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
- If set to true, the plugin will include the direct and transitive dependencies of
- of the project modules included here. Otherwise, it will only include the module
- packages only. Default value is true.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="dependencySets" minOccurs="0">
- <xs:annotation>
- <xs:documentation source="version">1.1.0</xs:documentation>
- <xs:documentation source="description">
-
- Specifies which dependencies of the module 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 name="unpack" minOccurs="0" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation source="version">1.0.0+</xs:documentation>
- <xs:documentation source="description">
- If set to true, this property will unpack all module packages
- into the specified output directory. When set to false
- module packages will be included as archives (jars).
- Default value is true.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="unpackOptions" minOccurs="0" 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 module artifact.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="outputFileNameMapping" minOccurs="0" type="xs:string"
- default="${artifactId}-${version}.${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 ${artifactId}-${version}.${extension}.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="useStrictFiltering" minOccurs="0" 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 name="useDefaultExcludes" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="includes" minOccurs="0">
- <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 name="excludes" minOccurs="0">
- <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 name="fileMode" minOccurs="0" 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, 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 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 name="directoryMode" minOccurs="0" 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, 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 default value of
- 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="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 name="source" minOccurs="0" 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 name="outputDirectory" minOccurs="0" 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 name="destName" minOccurs="0" 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 name="fileMode" minOccurs="0" 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, 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 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 name="lineEnding" minOccurs="0" 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 name="filtered" minOccurs="0" 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:schema>
\ No newline at end of file
Deleted: trunk/distribution/bin.xml
===================================================================
--- trunk/distribution/bin.xml 2009-04-08 13:17:57 UTC (rev 99)
+++ trunk/distribution/bin.xml 2009-04-08 16:22:08 UTC (rev 100)
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- This package will build a ZIP containing the following:
-
- * jbosscache-core.jar
- * library dependencies
- * sample config files
- * conversion scripts
- * license docs and readmes
--->
-
-<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:maven:assembly:1.1.0-SNAPSHOT">
- <id>bin</id>
-
- <formats>
- <format>zip</format>
- </formats>
-
- <includeBaseDirectory>true</includeBaseDirectory>
-
- <fileSets>
- <!-- code -->
- <fileSet>
- <directory>target</directory>
- <outputDirectory/>
- <includes>
- <include>*.jar</include>
- </includes>
- <excludes>
- <exclude>*test*.jar</exclude>
- <exclude>*sources*.jar</exclude>
- </excludes>
- </fileSet>
-
- <!-- resources -->
- <fileSet>
- <directory>src/main/resources</directory>
- <outputDirectory>etc</outputDirectory>
- <excludes>
- <exclude>**/*.sh</exclude>
- </excludes>
- </fileSet>
-
- <!-- Executable resources -->
- <fileSet>
- <directory>src/main/resources</directory>
- <outputDirectory>etc</outputDirectory>
- <includes>
- <include>**/*.sh</include>
- </includes>
- <fileMode>0777</fileMode>
- </fileSet>
-
- <!-- Log4j XML -->
- <fileSet>
- <directory>src/test/resources</directory>
- <outputDirectory>etc</outputDirectory>
- <includes>
- <include>log4j.xml</include>
- </includes>
- </fileSet>
-
-
- <!-- EULAs and license files -->
- <fileSet>
- <directory>src/main/release</directory>
- <outputDirectory/>
- <includes>
- <include>**/*.txt</include>
- </includes>
- </fileSet>
-
- </fileSets>
-
- <!-- Make sure we filter out the junk that jboss-common-core pulls in -->
- <dependencySets>
- <dependencySet>
- <outputDirectory>lib</outputDirectory>
- <outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping>
- <unpack>false</unpack>
- <scope>runtime</scope>
- </dependencySet>
- </dependencySets>
-</assembly>
Deleted: trunk/distribution/doc.xml
===================================================================
--- trunk/distribution/doc.xml 2009-04-08 13:17:57 UTC (rev 99)
+++ trunk/distribution/doc.xml 2009-04-08 16:22:08 UTC (rev 100)
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- This package will build a ZIP containing the following:
-
- * user documentation
--->
-
-<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:maven:assembly:1.1.0-SNAPSHOT">
- <id>doc</id>
-
- <formats>
- <format>zip</format>
- </formats>
-
- <includeBaseDirectory>true</includeBaseDirectory>
-
- <fileSets>
- <!-- EULAs and license files -->
- <fileSet>
- <directory>src/main/release</directory>
- <outputDirectory/>
- <includes>
- <include>*.txt</include>
- </includes>
- <excludes>
- <exclude>**lib**</exclude>
- <exclude>license/*</exclude>
- </excludes>
- </fileSet>
-
- <!-- docs -->
- <fileSet>
- <directory>target/site/apidocs</directory>
- <outputDirectory>doc/apidocs</outputDirectory>
- </fileSet>
-
- <fileSet>
- <directory>target/docbook</directory>
- <outputDirectory>doc/</outputDirectory>
- </fileSet>
- </fileSets>
-
-</assembly>
Modified: trunk/distribution/pom.xml
===================================================================
--- trunk/distribution/pom.xml 2009-04-08 13:17:57 UTC (rev 99)
+++ trunk/distribution/pom.xml 2009-04-08 16:22:08 UTC (rev 100)
@@ -0,0 +1,85 @@
+<?xml version="1.0"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <properties>
+ <build-jars>false</build-jars>
+ </properties>
+
+ <parent>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-parent</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <relativePath>parent/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-distribution</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <name>Infinispan Distribution</name>
+ <description>Builds the complete Infinispan distribution bundles</description>
+ <packaging>pom</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-1</version>
+ <executions>
+ <execution>
+ <id>assemble</id>
+ <phase>install</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <descriptors>
+ <descriptor>assembly/all.xml</descriptor>
+ <descriptor>assembly/bin.xml</descriptor>
+ <descriptor>assembly/src.xml</descriptor>
+ </descriptors>
+ <finalName>${artifactId}-${project-version}</finalName>
+ <outputDirectory>target/distribution</outputDirectory>
+ <workDirectory>target/assembly/work</workDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-core</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-tree</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cachestore-bdbje</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cachestore-jdbc</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cachestore-s3</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Deleted: trunk/distribution/src.xml
===================================================================
--- trunk/distribution/src.xml 2009-04-08 13:17:57 UTC (rev 99)
+++ trunk/distribution/src.xml 2009-04-08 16:22:08 UTC (rev 100)
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- This package will build a ZIP the current directory and all subdirectories. Essentially a snapshot of the
- subversion checkout.
--->
-<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:maven:assembly:1.1.0-SNAPSHOT">
- <id>src</id>
- <formats>
- <format>zip</format>
- </formats>
-
- <includeBaseDirectory>true</includeBaseDirectory>
- <fileSets>
- <fileSet>
- <excludes>
- <exclude>target/**</exclude>
- <exclude>output/**</exclude>
- <exclude>test-output/**</exclude>
- <exclude>jbossdb/**</exclude>
- <exclude>*.jdb</exclude>
- <exclude>*.iml</exclude>
- <exclude>*.ipr</exclude>
- <exclude>*.iws</exclude>
- <exclude>*.log</exclude>
- <exclude>*.lck</exclude>
- </excludes>
- </fileSet>
- </fileSets>
-</assembly>
\ No newline at end of file
Modified: trunk/parent/pom.xml
===================================================================
--- trunk/parent/pom.xml 2009-04-08 13:17:57 UTC (rev 99)
+++ trunk/parent/pom.xml 2009-04-08 16:22:08 UTC (rev 100)
@@ -4,19 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project-package>org.infinispan</project-package>
<project-version>4.0.0-SNAPSHOT</project-version>
<defaultTestGroup>functional,unit</defaultTestGroup>
- <!-- By default only generate Javadocs when we install the module. -->
- <javadocPhase>install</javadocPhase>
+ <build-jars>true</build-jars>
</properties>
- <parent>
- <groupId>org.jboss.cache</groupId>
- <artifactId>jbosscache-common-parent</artifactId>
- <version>1.5</version>
- </parent>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-parent</artifactId>
<version>4.0.0-SNAPSHOT</version>
@@ -24,6 +18,57 @@
<description>Infinispan common parent POM module</description>
<url>http://www.infinispan.org</url>
<packaging>pom</packaging>
+
+
+ <!-- stuff about the project -->
+ <organization>
+ <name>JBoss, a division of Red Hat</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License</name>
+ <url>http://www.gnu.org/copyleft/lesser.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/infinispan</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/infinispan</developerConnection>
+ <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/infinispan/</url>
+ </scm>
+ <issueManagement>
+ <system>jira</system>
+ <url>https://jira.jboss.com/jira/browse/ISPN</url>
+ </issueManagement>
+ <ciManagement>
+ <system>hudson</system>
+ <url>http://hudson.jboss.org/hudson/view/Infinispan</url>
+ <notifiers>
+ <notifier>
+ <type>mail</type>
+ <address>infinispan-commits at lists.jboss.org</address>
+ </notifier>
+ </notifiers>
+ </ciManagement>
+ <mailingLists>
+ <mailingList>
+ <name>Infinispan Commit Notificatons</name>
+ <post>infinispan-commits at lists.jboss.org</post>
+ <subscribe>https://lists.jboss.org/mailman/listinfo/infinispan-commits</subscribe>
+ <unsubscribe>https://lists.jboss.org/mailman/listinfo/infinispan-commits</unsubscribe>
+ <archive>http://lists.jboss.org/pipermail/infinispan-commits/</archive>
+ </mailingList>
+ <mailingList>
+ <name>Infinispan Developers</name>
+ <post>infinispan-dev at lists.jboss.org</post>
+ <subscribe>https://lists.jboss.org/mailman/listinfo/infinispan-dev</subscribe>
+ <unsubscribe>https://lists.jboss.org/mailman/listinfo/infinispan-dev</unsubscribe>
+ <archive>http://lists.jboss.org/pipermail/infinispan-dev/</archive>
+ </mailingList>
+ </mailingLists>
+
+
<dependencies>
<dependency>
<groupId>net.jcip</groupId>
@@ -63,9 +108,42 @@
</dependencies>
<build>
<plugins>
- <!-- ensure parallel test execution -->
<plugin>
+ <!-- enforce java 1.5 and maven 2.0.8 -->
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-java</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireJavaVersion>
+ <version>[1.5,)</version>
+ </requireJavaVersion>
+ <requireMavenVersion>
+ <version>(2.0.8,)</version>
+ </requireMavenVersion>
+
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <!-- by default, compile to JDK 1.5 compatibility (individual modules and/or user can override) -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <!-- ensure parallel test execution -->
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3-JBOSS</version>
<configuration>
@@ -95,39 +173,85 @@
</properties>
</configuration>
</plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- <mainClass>org.infinispan.Version</mainClass>
- </manifest>
- </archive>
- </configuration>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.5</version>
<executions>
<execution>
- <id>build-test-jar</id>
+ <phase>${javadocPhase}</phase>
<goals>
- <goal>test-jar</goal>
+ <goal>javadoc</goal>
</goals>
<configuration>
- <archive>
- <manifest>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- </archive>
+ <links>
+ <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
+ <link>http://java.sun.com/javaee/5/docs/api/</link>
+ </links>
</configuration>
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <!-- eclipse project file generation -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <configuration>
+ <downloadSources>true</downloadSources>
+ <buildOutputDirectory>${basedir}/eclipse-output</buildOutputDirectory>
+ </configuration>
+ </plugin>
+ <plugin>
+ <!-- IntelliJ project file generation -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-idea-plugin</artifactId>
+ <configuration>
+ <downloadSources>true</downloadSources>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <!-- Make sure we generate src jars too -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <inherited>true</inherited>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
+ <finalName>${artifactId}</finalName>
</build>
- <!-- basic JBoss repository so that the common parent POM in jbosscache-support can be found -->
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
+ <!-- Findbugs report -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>1.2-SNAPSHOT</version>
+ <configuration>
+ <onlyAnalyze>org.infinispan.*</onlyAnalyze>
+ <xmlOutput>true</xmlOutput>
+ <xmlOutputDirectory>target</xmlOutputDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <!-- basic JBoss repository -->
<repositories>
<repository>
<id>repository.jboss.org</id>
@@ -139,6 +263,26 @@
</repository>
</repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>Main Maven Repo</id>
+ <url>http://repo1.maven.org/maven2/</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>snapshots.repository.codehaus.org</id>
+ <url>http://snapshots.repository.codehaus.org</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>repository.jboss.org</id>
+ <url>http://repository.jboss.org/maven2</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>snapshots.jboss.org</id>
+ <url>http://snapshots.jboss.org/maven2</url>
+ </pluginRepository>
+
+ </pluginRepositories>
+
<profiles>
<profile>
<id>test-hudson</id>
@@ -181,10 +325,47 @@
</profile>
<profile>
- <id>test-integration</id>
- <properties>
- <defaultTestGroup>integration</defaultTestGroup>
- </properties>
+ <id>jarBuilder</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ <property>
+ <name>dojar</name>
+ <value>${build-jars}</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <mainClass>org.infinispan.Version</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ <executions>
+ <execution>
+ <id>build-test-jar</id>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</profile>
</profiles>
</project>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-04-08 13:17:57 UTC (rev 99)
+++ trunk/pom.xml 2009-04-08 16:22:08 UTC (rev 100)
@@ -19,18 +19,6 @@
<description>Infinispan Module Aggregator</description>
<packaging>pom</packaging>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <excludePackageNames>org.infinispan</excludePackageNames>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
<modules>
<module>parent</module>
<module>core</module>
More information about the infinispan-commits
mailing list