Package org.apache.maven.execution
Class BuildFailure
java.lang.Object
org.apache.maven.execution.BuildSummary
org.apache.maven.execution.BuildFailure
Summarizes the result of a failed project build in the reactor.
- Author:
- Benjamin Bentmann
-
Constructor Summary
ConstructorDescriptionBuildFailure
(MavenProject project, long time, Throwable cause) Creates a new build summary for the specified project. -
Method Summary
Methods inherited from class org.apache.maven.execution.BuildSummary
getProject, getTime
-
Constructor Details
-
BuildFailure
Creates a new build summary for the specified project.- Parameters:
project
- The project being summarized, must not benull
.time
- The build time of the project in milliseconds.cause
- The cause of the build failure, may benull
.
-
-
Method Details
-
getCause
Gets the cause of the build failure.- Returns:
- The cause of the build failure or
null
if unknown.
-