@Mojo(name="testProperties",
requiresDependencyResolution=TEST,
configurator="takari",
threadSafe=true)
public class TestPropertiesMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected MissingPropertyAction |
missingPropertyAction
Sets what should be the outcome when filtering hits a missing property.
|
protected org.apache.maven.project.MavenProject |
project |
Constructor and Description |
---|
TestPropertiesMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject project
@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.Copyright © 2020. All rights reserved.