Class IfFileThenPropertiesMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="check-file-set-property",
          defaultPhase=INITIALIZE)
    public class IfFileThenPropertiesMojo
    extends org.apache.maven.plugin.AbstractMojo
    A Maven mojo that can insert properties into the build as a result of checking the existence of a file.
    • Constructor Detail

      • IfFileThenPropertiesMojo

        public IfFileThenPropertiesMojo()
    • 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