Class ProjectBuildFailureException

All Implemented Interfaces:
Serializable

public class ProjectBuildFailureException extends BuildFailureException
Exception which occurs when a normal (i.e. non-aggregator) mojo fails to execute. In this case, the mojo failed while executing against a particular project instance, so we can wrap the MojoFailureException with context information including projectId that caused the failure.
Author:
jdcasey
See Also:
  • Constructor Details

    • ProjectBuildFailureException

      public ProjectBuildFailureException(String projectId, org.apache.maven.plugin.MojoFailureException cause)
  • Method Details

    • getMojoFailureException

      public org.apache.maven.plugin.MojoFailureException getMojoFailureException()
    • getProjectId

      public String getProjectId()