Class MojoMessage


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

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

      • getGroupId

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

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

        public java.lang.String getVersion()
        Returns:
        the version
      • getExecutionId

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

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

        public java.lang.String getGoal()
        Returns:
        the lifecycle phase