Class DescribeBuildOutputMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
org.apache.maven.plugins.artifact.buildinfo.DescribeBuildOutputMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="describe-build-output",
aggregator=true,
threadSafe=true)
public class DescribeBuildOutputMojo
extends AbstractBuildinfoMojo
Describe build output (experimental).
It is expected to be used aggregator used from CLI; that is, run at root after everything has run, but not bound to any build
phase, where it would be run at root before modules.
- Since:
- 3.5.2
-
Field Summary
Fields inherited from class org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
buildinfoFile, outputTimestamp, project, rtInformation, session
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
ConstructorsConstructorDescriptionDescribeBuildOutputMojo
(org.apache.maven.toolchain.ToolchainManager toolchainManager, org.apache.maven.rtinfo.RuntimeInformation rtInformation, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session) -
Method Summary
Methods inherited from class org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
copyAggregateToRoot, generateBuildinfo, getLastProject, isSkip, isSkipModule, newBuildInfoWriter, relative, skip
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
DescribeBuildOutputMojo
@Inject public DescribeBuildOutputMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager, org.apache.maven.rtinfo.RuntimeInformation rtInformation, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session)
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
execute
in interfaceorg.apache.maven.plugin.Mojo
- Overrides:
execute
in classAbstractBuildinfoMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
execute
public void execute(Map<org.eclipse.aether.artifact.Artifact, String> artifacts) throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-