Class BuildInfoMojo

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

    @Mojo(name="build-info",
          defaultPhase=GENERATE_RESOURCES,
          threadSafe=true)
    public class BuildInfoMojo
    extends org.apache.maven.plugin.AbstractMojo
    Generate a build-info.properties file based the content of the current MavenProject.
    Since:
    1.4.0
    • 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