@Experimental public interface ProjectBuilderResult
| Modifier and Type | Method and Description |
|---|---|
Optional<DependencyCollectorResult> |
getDependencyResolverResult()
Gets the result of the dependency resolution for the project.
|
Optional<Path> |
getPomFile()
Gets the POM file from which the project was built.
|
Collection<ProjectBuilderProblem> |
getProblems()
Gets the problems that were encountered during the project building.
|
Optional<Project> |
getProject()
Gets the project that was built.
|
String |
getProjectId()
Gets the identifier of the project that could not be built.
|
@Nonnull 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.@Nonnull Optional<Path> getPomFile()
@Nonnull Optional<Project> getProject()
null if an error occurred and this result accompanies a
ProjectBuilderException.@Nonnull Collection<ProjectBuilderProblem> getProblems()
null.@Nonnull Optional<DependencyCollectorResult> getDependencyResolverResult()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.