Package org.codehaus.mojo.buildhelper
Class RegexPropertiesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
org.codehaus.mojo.buildhelper.AbstractRegexPropertyMojo
org.codehaus.mojo.buildhelper.RegexPropertiesMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="regex-properties",
defaultPhase=VALIDATE,
threadSafe=true)
public class RegexPropertiesMojo
extends AbstractRegexPropertyMojo
Sets a property by applying a regex replacement rule to a supplied value. This is similar to regex-property goal with
support for multiple regex settings using RegexPropertyConfig
- Since:
- 1.9
-
Field Summary
Fields inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
project
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractRegexPropertyMojo
execute
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
defineProperty, getProject
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
RegexPropertiesMojo
public RegexPropertiesMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-