Package org.springframework.boot.maven
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
-
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
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
-