Class 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
    • Constructor Detail

      • 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 Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Overrides:
        execute in class AbstractBuildinfoMojo
        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