Class MojoMessage

java.lang.Object
org.codehaus.plexus.build.connect.messages.Message
org.codehaus.plexus.build.connect.messages.MojoMessage

public class MojoMessage extends Message
Mesaage generated when a mojo is executed
  • Constructor Details

    • MojoMessage

      public MojoMessage(org.apache.maven.plugin.MojoExecution mojoExecution, org.apache.maven.execution.ExecutionEvent.Type type)
      Creates a Mojo message from execution and type
      Parameters:
      mojoExecution -
      type -
  • Method Details

    • getGroupId

      public String getGroupId()
      Returns:
      the group id
    • getArtifactId

      public String getArtifactId()
      Returns:
      the artifact id
    • getVersion

      public String getVersion()
      Returns:
      the version
    • getExecutionId

      public String getExecutionId()
      Returns:
      the execution id
    • getLifecyclePhase

      public String getLifecyclePhase()
      Returns:
      the lifecycle phase
    • getGoal

      public String getGoal()
      Returns:
      the lifecycle phase
    • getType

      public MojoMessage.EventType getType()
      Returns:
      the type of event