Class 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 (from package), as specified in Reproducible Builds for the JVM for mono-module build, and extended for multi-module build.
    • 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)
    • Method Detail

      • execute

        public void execute​(Map<org.eclipse.aether.artifact.Artifact,​String> artifacts)
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException