public abstract class AbstractProcessResourcesMojo extends TakariLifecycleMojo
Modifier and Type | Field and Description |
---|---|
protected MissingPropertyAction |
missingPropertyAction
Sets what should be the outcome when filtering hits a missing property.
|
logger, mojoDescriptor, mojoExecution, project, projectHelper, reactorProjects, remoteRepositories, repositorySystem, repositorySystemSession, settings, skip
Constructor and Description |
---|
AbstractProcessResourcesMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
process(List<org.apache.maven.model.Resource> resources,
File outputDirectory) |
protected void |
skipMojo() |
execute, executeMojo
@Parameter protected MissingPropertyAction missingPropertyAction
Allowed values are:
empty
- The filtered value will be empty string (default).leave
- The filtered value will be left as-is, unfiltered (basically the expression itself, mimics maven-resources-plugin).fail
- Missing property will be reported as error and fails the build.protected void process(List<org.apache.maven.model.Resource> resources, File outputDirectory) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void skipMojo() throws org.apache.maven.plugin.MojoExecutionException
skipMojo
in class TakariLifecycleMojo
org.apache.maven.plugin.MojoExecutionException
Copyright © 2020. All rights reserved.