org.apache.maven.plugins.assembly.model
Class ModuleBinaries

java.lang.Object
  extended by org.apache.maven.plugins.assembly.model.SetBase
      extended by org.apache.maven.plugins.assembly.model.ModuleBinaries
All Implemented Interfaces:
java.io.Serializable

public class ModuleBinaries
extends SetBase
implements java.io.Serializable

Configuration for including the binary files for a Module in an assembly.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
ModuleBinaries()
           
 
Method Summary
 java.lang.String getModelEncoding()
           
 java.lang.String getOutputFileNameMapping()
          Get Specify the mapping pattern for all dependencies included in this assembly.
 boolean isIncludeDependencies()
          Get If set to true, the plugin will include the direct and transitive dependencies of of the project modules included here.
 boolean isUnpack()
          Get If set to true, this property will unpack all module packages into the specified output directory.
 void setIncludeDependencies(boolean includeDependencies)
          Set If set to true, the plugin will include the direct and transitive dependencies of of the project modules included here.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setOutputFileNameMapping(java.lang.String outputFileNameMapping)
          Set Specify the mapping pattern for all dependencies included in this assembly.
 void setUnpack(boolean unpack)
          Set If set to true, this property will unpack all module packages into the specified output directory.
 
Methods inherited from class org.apache.maven.plugins.assembly.model.SetBase
addExclude, addInclude, getDirectoryMode, getExcludes, getFileMode, getIncludes, getOutputDirectory, removeExclude, removeInclude, setDirectoryMode, setExcludes, setFileMode, setIncludes, setOutputDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleBinaries

public ModuleBinaries()
Method Detail

getOutputFileNameMapping

public java.lang.String getOutputFileNameMapping()
Get Specify the mapping pattern for all dependencies included in this assembly. Default is ${artifactId}-${version}.${extension}.


isIncludeDependencies

public boolean isIncludeDependencies()
Get 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 false.


isUnpack

public boolean isUnpack()
Get 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.


setIncludeDependencies

public void setIncludeDependencies(boolean includeDependencies)
Set 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 false.

Parameters:
includeDependencies -

setOutputFileNameMapping

public void setOutputFileNameMapping(java.lang.String outputFileNameMapping)
Set Specify the mapping pattern for all dependencies included in this assembly. Default is ${artifactId}-${version}.${extension}.

Parameters:
outputFileNameMapping -

setUnpack

public void setUnpack(boolean unpack)
Set 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.

Parameters:
unpack -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Overrides:
setModelEncoding in class SetBase

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class SetBase


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