public interface ProjectBuildingResult
Modifier and Type | Method and Description |
---|---|
DependencyResolutionResult |
getDependencyResolutionResult()
Gets the result of the dependency resolution for the project.
|
File |
getPomFile()
Gets the POM file from which the project was built.
|
List<ModelProblem> |
getProblems()
Gets the problems that were encountered during the project building.
|
MavenProject |
getProject()
Gets the project that was built.
|
String |
getProjectId()
Gets the identifier of the project that could not be built.
|
String getProjectId()
<groupId>:<artifactId>:<version>
but some of these coordinates may still be unknown at the point the exception
is thrown so this information is merely meant to assist the user.null
.File getPomFile()
null
if unknown.MavenProject getProject()
null
if an error occurred and this result accompanies a
ProjectBuildingException
.List<ModelProblem> getProblems()
null
.DependencyResolutionResult getDependencyResolutionResult()
null
if the project dependencies were
not requested.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.