public class WarPackagingProcessor extends AbstractCompilingProcessor<org.jboss.shrinkwrap.api.spec.WebArchive> implements PackagingProcessor<org.jboss.shrinkwrap.api.spec.WebArchive>
Modifier and Type | Field and Description |
---|---|
static String |
MAVEN_WAR_PLUGIN_KEY |
session
Constructor and Description |
---|
WarPackagingProcessor() |
Modifier and Type | Method and Description |
---|---|
WarPackagingProcessor |
configure(org.jboss.shrinkwrap.api.Archive<?> archive,
MavenWorkingSession session) |
protected org.jboss.shrinkwrap.api.Filter<org.jboss.shrinkwrap.api.ArchivePath> |
createFilter(WarPluginConfiguration configuration) |
protected String[] |
getFilesToIncludes(File baseDir,
String[] includes,
String[] excludes)
Returns the file to copy.
|
org.jboss.shrinkwrap.api.spec.WebArchive |
getResultingArchive() |
boolean |
handles(PackagingType packagingType) |
WarPackagingProcessor |
importBuildOutput(MavenResolutionStrategy strategy) |
compile, configure, hasGeneratedName
public static final String MAVEN_WAR_PLUGIN_KEY
public boolean handles(PackagingType packagingType)
handles
in interface PackagingProcessor<org.jboss.shrinkwrap.api.spec.WebArchive>
public WarPackagingProcessor configure(org.jboss.shrinkwrap.api.Archive<?> archive, MavenWorkingSession session)
configure
in interface PackagingProcessor<org.jboss.shrinkwrap.api.spec.WebArchive>
public org.jboss.shrinkwrap.api.spec.WebArchive getResultingArchive()
getResultingArchive
in interface PackagingProcessor<org.jboss.shrinkwrap.api.spec.WebArchive>
public WarPackagingProcessor importBuildOutput(MavenResolutionStrategy strategy) throws IllegalArgumentException, UnsupportedOperationException
importBuildOutput
in interface PackagingProcessor<org.jboss.shrinkwrap.api.spec.WebArchive>
IllegalArgumentException
UnsupportedOperationException
protected org.jboss.shrinkwrap.api.Filter<org.jboss.shrinkwrap.api.ArchivePath> createFilter(WarPluginConfiguration configuration)
protected String[] getFilesToIncludes(File baseDir, String[] includes, String[] excludes)
baseDir
- the base directory to start fromincludes
- the includesexcludes
- the excludesCopyright © 2016 JBoss by Red Hat. All rights reserved.