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 Modifier and Type Field Description private java.util.List<RegexPropertySetting>
regexPropertySettings
List of RegexPropertyConfig to apply the regex-
Fields inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
project
-
-
Constructor Summary
Constructors Constructor Description RegexPropertiesMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractRegexPropertyMojo
execute
-
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
defineProperty, getProject
-
-
-
-
Field Detail
-
regexPropertySettings
@Parameter(required=false) private java.util.List<RegexPropertySetting> regexPropertySettings
List of RegexPropertyConfig to apply the regex
-
-