Class BuildInfoMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.springframework.boot.maven.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 on the content of the current MavenProject.
Since:
1.4.0
Author:
Stephane Nicoll, Vedran Pavic
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BuildInfoMojo

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