Class DisplayInfoMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.enforcer.DisplayInfoMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Deprecated @Mojo(name="display-info", threadSafe=true) public class DisplayInfoMojo extends org.apache.maven.plugin.AbstractMojo
Deprecated.
please use mvn --version
This goal displays the current platform information.
Author:
Brian Fox
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.maven.execution.MavenSession
    Deprecated.
    The MavenSession

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Entry point to the mojo

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • session

      @Parameter(defaultValue="${session}", readonly=true, required=true) protected org.apache.maven.execution.MavenSession session
      Deprecated.
      The MavenSession
  • Constructor Details

  • Method Details

    • execute

      public void execute()
      Deprecated.
      Entry point to the mojo