Class ProjectMessage

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

public class ProjectMessage extends Message
Send to inform about project changes
  • Constructor Details

    • ProjectMessage

      public ProjectMessage(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.ExecutionEvent.Type eventtype)
      Constructs a new event based on project and type
      Parameters:
      mavenProject -
      eventtype -
  • Method Details

    • getGroupId

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

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

      public String getVersion()
      Returns:
      the version of the project
    • getBaseDir

      public Path getBaseDir()
      Returns:
      the basedir of the project
    • getType

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