public class EarMavenArchiver extends MavenArchiver
MavenArchiver implementation that takes care of setting the right classpath value according to the
 actual path of bundled files.| Modifier and Type | Field and Description | 
|---|---|
static String | 
CLASS_PATH_KEY
Class-Path. | 
REPOSITORY_LAYOUT, REPOSITORY_LAYOUT_NONUNIQUE, SIMPLE_LAYOUT, SIMPLE_LAYOUT_NONUNIQUE| Constructor and Description | 
|---|
EarMavenArchiver(List<EarModule> earModules)
Creates an instance with the ear modules that will be packaged in the EAR archive. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
generateClassPathEntry(String classPathPrefix)
Generates the Class-Path entry of the manifest according to the list of ear modules. 
 | 
org.codehaus.plexus.archiver.jar.Manifest | 
getManifest(MavenProject project,
           MavenArchiveConfiguration config)
Deprecated.   
 | 
org.codehaus.plexus.archiver.jar.Manifest | 
getManifest(MavenSession session,
           MavenProject project,
           MavenArchiveConfiguration config) | 
protected String | 
getUserSuppliedClassPathEntry(MavenArchiveConfiguration config)  | 
createArchive, createArchive, getArchiver, getManifest, getManifest, getManifest, setArchiver, setOutputFilepublic static final String CLASS_PATH_KEY
Class-Path.public org.codehaus.plexus.archiver.jar.Manifest getManifest(MavenProject project, MavenArchiveConfiguration config) throws org.codehaus.plexus.archiver.jar.ManifestException, DependencyResolutionRequiredException
getManifest in class MavenArchiverproject - MavenProjectconfig - MavenArchiveConfigurationorg.codehaus.plexus.archiver.jar.ManifestException - in case of an errorDependencyResolutionRequiredException - in case of an resolution error.public org.codehaus.plexus.archiver.jar.Manifest getManifest(MavenSession session, MavenProject project, MavenArchiveConfiguration config) throws org.codehaus.plexus.archiver.jar.ManifestException, DependencyResolutionRequiredException
getManifest in class MavenArchiverorg.codehaus.plexus.archiver.jar.ManifestExceptionDependencyResolutionRequiredExceptionprotected String generateClassPathEntry(String classPathPrefix)
classPathPrefix - the classpath prefix to useprotected String getUserSuppliedClassPathEntry(MavenArchiveConfiguration config)
config - MavenArchiveConfigurationCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.