Serialized Form


Package org.apache.maven.plugin.assembly

Class org.apache.maven.plugin.assembly.InvalidAssemblerConfigurationException extends java.lang.Exception implements Serializable


Package org.apache.maven.plugin.assembly.archive

Class org.apache.maven.plugin.assembly.archive.ArchiveCreationException extends java.lang.Exception implements Serializable

Class org.apache.maven.plugin.assembly.archive.ArchiveExpansionException extends java.lang.Exception implements Serializable


Package org.apache.maven.plugin.assembly.format

Class org.apache.maven.plugin.assembly.format.AssemblyFormattingException extends java.lang.Exception implements Serializable

Class org.apache.maven.plugin.assembly.format.ReflectionProperties extends java.util.Properties implements Serializable

Serialized Fields

project

org.apache.maven.project.MavenProject project

escapedBackslashesInFilePath

boolean escapedBackslashesInFilePath

Package org.apache.maven.plugin.assembly.interpolation

Class org.apache.maven.plugin.assembly.interpolation.AssemblyInterpolationException extends java.lang.Exception implements Serializable

Serialized Fields

expression

java.lang.String expression

originalMessage

java.lang.String originalMessage

Package org.apache.maven.plugin.assembly.io

Class org.apache.maven.plugin.assembly.io.AssemblyReadException extends java.lang.Exception implements Serializable


Package org.apache.maven.plugin.assembly.model

Class org.apache.maven.plugin.assembly.model.Assembly extends java.lang.Object implements Serializable

Serialized Fields

id

java.lang.String id
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.


formats

java.util.List<E> formats
Field formats.


includeBaseDirectory

boolean includeBaseDirectory
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.


baseDirectory

java.lang.String baseDirectory
Sets the base directory of the resulting assembly archive. If this is not set and includeBaseDirectory == true, ${project.build.finalName} will be used instead. (Since 2.2) .


includeSiteDirectory

boolean includeSiteDirectory
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.


containerDescriptorHandlers

java.util.List<E> containerDescriptorHandlers
Field containerDescriptorHandlers.


moduleSets

java.util.List<E> moduleSets
Field moduleSets.


fileSets

java.util.List<E> fileSets
Field fileSets.


files

java.util.List<E> files
Field files.


dependencySets

java.util.List<E> dependencySets
Field dependencySets.


repositories

java.util.List<E> repositories
Field repositories.


componentDescriptors

java.util.List<E> componentDescriptors
Field componentDescriptors.


modelEncoding

java.lang.String modelEncoding
Field modelEncoding.

Class org.apache.maven.plugin.assembly.model.Component extends java.lang.Object implements Serializable

Serialized Fields

fileSets

java.util.List<E> fileSets
Field fileSets.


files

java.util.List<E> files
Field files.


dependencySets

java.util.List<E> dependencySets
Field dependencySets.


repositories

java.util.List<E> repositories
Field repositories.


containerDescriptorHandlers

java.util.List<E> containerDescriptorHandlers
Field containerDescriptorHandlers.


modelEncoding

java.lang.String modelEncoding
Field modelEncoding.

Class org.apache.maven.plugin.assembly.model.ContainerDescriptorHandlerConfig extends java.lang.Object implements Serializable

Serialized Fields

handlerName

java.lang.String handlerName
The handler's plexus role-hint, for lookup from the container.


configuration

java.lang.Object configuration
Configuration options for the handler.

Class org.apache.maven.plugin.assembly.model.DependencySet extends SetBase implements Serializable

Serialized Fields

outputFileNameMapping

java.lang.String outputFileNameMapping
Sets the mapping pattern for all NON-UNPACKED dependencies included in this assembly. Default is ${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}. If the artifact doesn't have a classifier, that part of the pattern will be left off. (Since 2.2-beta-2; 2.2-beta-1 uses ${artifactId}-${version}${dashClassifier?}.${extension}) NOTE: If the dependencySet specifies unpack == true, outputFileNameMapping WILL NOT BE USED; in these cases, use outputDirectory.


unpack

boolean unpack
If set to true, this property will unpack all dependencies into the specified output directory. When set to false dependencies will be includes as archives (jars). Default value is false.


unpackOptions

UnpackOptions unpackOptions
Allows the specification of includes and excludes, along with filtering options, for items unpacked from a dependency artifact.


scope

java.lang.String scope
Sets the dependency scope for this dependencySet. Default scope value is "runtime".


useProjectArtifact

boolean useProjectArtifact
Determines whether the artifact produced during the current project's build should be included in this dependency set. Default value is true, for backward compatibility. (Since 2.2) .


useProjectAttachments

boolean useProjectAttachments
Determines whether the attached artifacts produced during the current project's build should be included in this dependency set. Default value is false. (Since 2.2) .


useTransitiveDependencies

boolean useTransitiveDependencies
Determines whether transitive dependencies will be included in the processing of the current dependency set. If true, includes/excludes/useTransitiveFiltering will apply to transitive dependency artifacts in addition to the main project dependency artifacts. If false, useTransitiveFiltering is meaningless, and includes/excludes only affect the immediate dependencies of the project. By default, this value is true. (Since 2.2) .


useTransitiveFiltering

boolean useTransitiveFiltering
Determines whether the include/exclude patterns in this dependency set will be applied to the transitive path of a given artifact. If true, and the current artifact is a transitive dependency brought in by another artifact which matches an inclusion or exclusion pattern, then the current artifact has the same inclusion/exclusion logic applied to it as well. By default, this value is false, in order to preserve backward compatibility with version 2.1. This means that includes/excludes only apply directly to the current artifact, and not to the transitive set of artifacts which brought it in. (Since 2.2) .

Class org.apache.maven.plugin.assembly.model.FileItem extends java.lang.Object implements Serializable

Serialized Fields

source

java.lang.String source
Sets the absolute or relative path from the module's directory of the file to be included in the assembly.


outputDirectory

java.lang.String outputDirectory
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.


destName

java.lang.String destName
Sets the destination filename in the outputDirectory. Default is the same name as the source's file.


fileMode

java.lang.String fileMode
Similar to a UNIX permission, sets the file mode of the files included. Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1. For example, the value 0644 translates to User read-write, Group and Other read-only. (more on unix-style permissions)


lineEnding

java.lang.String lineEnding
Sets the line-endings of the files in this file. Valid values are:


filtered

boolean filtered
Sets whether to determine if the file is filtered.

Class org.apache.maven.plugin.assembly.model.FileSet extends SetBase implements Serializable

Serialized Fields

directory

java.lang.String directory
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.


lineEnding

java.lang.String lineEnding
Sets the line-endings of the files in this fileSet. Valid values:


filtered

boolean filtered
Whether to filter symbols in the files as they are copied, using properties from the build configuration.

Class org.apache.maven.plugin.assembly.model.GroupVersionAlignment extends java.lang.Object implements Serializable

Serialized Fields

id

java.lang.String id
The groupId for which you want to align the versions.


version

java.lang.String version
The version you want to align this group to.


excludes

java.util.List<E> excludes
Field excludes.

Class org.apache.maven.plugin.assembly.model.ModuleBinaries extends SetBase implements Serializable

Serialized Fields

attachmentClassifier

java.lang.String attachmentClassifier
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. (Since 2.2) .


includeDependencies

boolean includeDependencies
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.


dependencySets

java.util.List<E> dependencySets
Field dependencySets.


unpack

boolean unpack
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.


unpackOptions

UnpackOptions unpackOptions
Allows the specification of includes and excludes, along with filtering options, for items unpacked from a module artifact. (Since 2.2) .


outputFileNameMapping

java.lang.String outputFileNameMapping
Sets the mapping pattern for all NON-UNPACKED dependencies included in this assembly. Default is ${module.artifactId}-${module.version}${dashClassifier?}.${module.extension}. (Since 2.2-beta-2; 2.2-beta-1 uses ${artifactId}-${version}${dashClassifier?}.${extension}) NOTE: If the dependencySet specifies unpack == true, outputFileNameMapping WILL NOT BE USED; in these cases, use outputDirectory.

Class org.apache.maven.plugin.assembly.model.ModuleSet extends java.lang.Object implements Serializable

Serialized Fields

includeSubModules

boolean includeSubModules
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. (Since 2.2) .


includes

java.util.List<E> includes
Field includes.


excludes

java.util.List<E> excludes
Field excludes.


sources

ModuleSources sources
When this is present, the plugin will include the source files of the included modules from this set in the resulting assembly.


binaries

ModuleBinaries binaries
When this is present, the plugin will include the binaries of the included modules from this set in the resulting assembly.

Class org.apache.maven.plugin.assembly.model.ModuleSources extends SetBase implements Serializable

Serialized Fields

fileSets

java.util.List<E> fileSets
Field fileSets.


includeModuleDirectory

boolean includeModuleDirectory
Specifies whether the module's finalName should be prepended to the outputDirectory values of any fileSets applied to it. Default value is true. (Since 2.2) .


excludeSubModuleDirectories

boolean excludeSubModuleDirectories
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. (Since 2.2) .


outputDirectoryMapping

java.lang.String outputDirectoryMapping
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} in 2.2-beta-1, and ${module.artifactId} in subsequent versions. (Since 2.2) .

Class org.apache.maven.plugin.assembly.model.Repository extends SetBase implements Serializable

Serialized Fields

includeMetadata

boolean includeMetadata
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.


groupVersionAlignments

java.util.List<E> groupVersionAlignments
Field groupVersionAlignments.


scope

java.lang.String scope
Specifies the scope for artifacts included in this repository. Default scope value is "runtime".

Class org.apache.maven.plugin.assembly.model.SetBase extends java.lang.Object implements Serializable

Serialized Fields

useStrictFiltering

boolean useStrictFiltering
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.


useDefaultExcludes

boolean useDefaultExcludes
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.


outputDirectory

java.lang.String outputDirectory
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.


includes

java.util.List<E> includes
Field includes.


excludes

java.util.List<E> excludes
Field excludes.


fileMode

java.lang.String fileMode
Similar to a UNIX permission, sets the file mode of the files included. Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1. For example, the value 0644 translates to User read-write, Group and Other read-only. (more on unix-style permissions)


directoryMode

java.lang.String directoryMode
Similar to a UNIX permission, sets the directory mode of the directories included. Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1. For example, the value 0755 translates to User read-write, Group and Other read-only. (more on unix-style permissions)

Class org.apache.maven.plugin.assembly.model.UnpackOptions extends java.lang.Object implements Serializable

Serialized Fields

includes

java.util.List<E> includes
Field includes.


excludes

java.util.List<E> excludes
Field excludes.


filtered

boolean filtered
Whether to filter symbols in the files as they are unpacked from the archive, using properties from the build configuration.



Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.