Class 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 Detail

      • regexPropertySettings

        @Parameter(required=false)
        private java.util.List<RegexPropertySetting> regexPropertySettings
        List of RegexPropertyConfig to apply the regex
    • Constructor Detail

      • RegexPropertiesMojo

        public RegexPropertiesMojo()
    • Method Detail

      • 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