Class MojoExecution

java.lang.Object
org.apache.maven.plugin.MojoExecution

public class MojoExecution extends Object
MojoExecution
  • Field Details

    • plugin

      private Plugin plugin
    • goal

      private String goal
    • executionId

      private String executionId
    • mojoDescriptor

      private MojoDescriptor mojoDescriptor
    • configuration

      private org.codehaus.plexus.util.xml.Xpp3Dom configuration
    • source

      private MojoExecution.Source source
    • lifecyclePhase

      private String lifecyclePhase
      The phase may or may not have been bound to a phase but once the plan has been calculated we know what phase this mojo execution is going to run in.
    • forkedExecutions

      private Map<String,List<MojoExecution>> forkedExecutions
      The executions to fork before this execution, indexed by the groupId:artifactId:version of the project on which the forked execution are to be run and in reactor build order.
  • Constructor Details

  • Method Details

    • getSource

      public MojoExecution.Source getSource()
      Gets the source of this execution.
      Returns:
      The source of this execution or null if unknown.
    • getExecutionId

      public String getExecutionId()
    • getPlugin

      public Plugin getPlugin()
    • getMojoDescriptor

      public MojoDescriptor getMojoDescriptor()
    • getConfiguration

      public org.codehaus.plexus.util.xml.Xpp3Dom getConfiguration()
    • setConfiguration

      public void setConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration)
    • identify

      public String identify()
    • getLifecyclePhase

      public String getLifecyclePhase()
    • setLifecyclePhase

      public void setLifecyclePhase(String lifecyclePhase)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getGroupId

      public String getGroupId()
    • getArtifactId

      public String getArtifactId()
    • getVersion

      public String getVersion()
    • getGoal

      public String getGoal()
    • setMojoDescriptor

      public void setMojoDescriptor(MojoDescriptor mojoDescriptor)
    • getForkedExecutions

      public Map<String,List<MojoExecution>> getForkedExecutions()
    • setForkedExecutions

      public void setForkedExecutions(String projectKey, List<MojoExecution> forkedExecutions)