Class BuildinfoMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
-
- org.apache.maven.plugins.artifact.buildinfo.BuildinfoMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="buildinfo", defaultPhase=VERIFY, threadSafe=false) public class BuildinfoMojo extends AbstractBuildinfoMojo
Creates a buildinfo file recording build environment and output (frompackage
), as specified in Reproducible Builds for the JVM for mono-module build, and extended for multi-module build.
-
-
Field Summary
-
Fields inherited from class org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
buildinfoFile, outputTimestamp, project, rtInformation, session
-
-
Constructor Summary
Constructors Constructor Description BuildinfoMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager, org.apache.maven.rtinfo.RuntimeInformation runtimeInformation, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProjectHelper projectHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Map<org.eclipse.aether.artifact.Artifact,String> artifacts)
-
Methods inherited from class org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
copyAggregateToRoot, execute, generateBuildinfo, isSkip, newBuildInfoWriter, skip
-
-
-
-
Constructor Detail
-
BuildinfoMojo
@Inject public BuildinfoMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager, org.apache.maven.rtinfo.RuntimeInformation runtimeInformation, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProjectHelper projectHelper)
-
-