public interface WarPackagingContext
Modifier and Type | Method and Description |
---|---|
boolean |
archiveClasses()
Specify whether the classes resources should be archived in the WEB-INF/lib of the generated web app.
|
MavenArchiveConfiguration |
getArchive()
The maven archive configuration to use.
|
ArchiverManager |
getArchiverManager()
Returns the archiver manager to use.
|
ArtifactFactory |
getArtifactFactory() |
File |
getClassesDirectory()
Returns the directory holding generated classes.
|
List<String> |
getFilters()
Returns the list of filter files to use.
|
List<org.apache.maven.shared.utils.io.FileUtils.FilterWrapper> |
getFilterWrappers() |
JarArchiver |
getJarArchiver()
Returns the Jar archiver needed for archiving classes directory into jar file under WEB-INF/lib.
|
Log |
getLog()
Returns the logger to use to output logging event.
|
MavenFileFilter |
getMavenFileFilter()
Returns the
MavenFileFilter instance to use. |
Collection<String> |
getOutdatedResources()
Used to keep track of existing resources and all copied files.
|
String |
getOutputFileNameMapping()
Returns the output file name mapping to use, if any.
|
File |
getOverlaysWorkDirectory()
Returns the directory to unpack dependent WARs into if needed.
|
List<String> |
getOwnerIds()
Returns the list of registered overlays for this session.
|
MavenProject |
getProject()
Returns the maven project.
|
String |
getResourceEncoding()
Returns the encoding to use for resources.
|
MavenSession |
getSession()
Returns the Maven session.
|
File |
getWebappDirectory()
Returns the webapp directory.
|
File |
getWebappSourceDirectory()
Returns the main webapp source directory.
|
String[] |
getWebappSourceExcludes()
Returns the webapp source excludes.
|
String[] |
getWebappSourceIncludes()
Returns the webapp source includes.
|
WebappStructure |
getWebappStructure()
Returns the
WebappStructure . |
Boolean |
isFailOnMissingWebXml()
Returns the flag that switch on/off the missing web.xml validation
|
boolean |
isFilteringDeploymentDescriptors() |
boolean |
isNonFilteredExtension(String fileName)
Specify if the given fileName belongs to the list of extensions that must not be filtered
|
boolean |
isUseJvmChmod() |
boolean |
isWebappSourceIncludeEmptyDirectories()
Returns
true if empty directories should be includes, otherwise false |
MavenProject getProject()
File getWebappDirectory()
File getWebappSourceDirectory()
String[] getWebappSourceIncludes()
boolean isWebappSourceIncludeEmptyDirectories()
true
if empty directories should be includes, otherwise false
true
if empty directories should be includes, otherwise false
String[] getWebappSourceExcludes()
File getClassesDirectory()
boolean archiveClasses()
Log getLog()
File getOverlaysWorkDirectory()
ArchiverManager getArchiverManager()
MavenArchiveConfiguration getArchive()
JarArchiver getJarArchiver()
String getOutputFileNameMapping()
List<String> getFilters()
WebappStructure getWebappStructure()
WebappStructure
.List<String> getOwnerIds()
MavenFileFilter getMavenFileFilter()
MavenFileFilter
instance to use.List<org.apache.maven.shared.utils.io.FileUtils.FilterWrapper> getFilterWrappers()
List
of FileUtils.FilterWrapper
boolean isNonFilteredExtension(String fileName)
fileName
- the name of fileboolean isFilteringDeploymentDescriptors()
ArtifactFactory getArtifactFactory()
ArtifactFactory
MavenSession getSession()
String getResourceEncoding()
boolean isUseJvmChmod()
Boolean isFailOnMissingWebXml()
Collection<String> getOutdatedResources()
clean
when resources are removed.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.