Package org.apache.maven.internal.impl
Class DefaultProjectBuilder
java.lang.Object
org.apache.maven.internal.impl.DefaultProjectBuilder
- All Implemented Interfaces:
Service,ProjectBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(ProjectBuilderRequest request) Creates aProjectfrom a POM file.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.services.ProjectBuilder
build, build, build, build
-
Constructor Details
-
DefaultProjectBuilder
-
-
Method Details
-
build
@Nonnull public ProjectBuilderResult build(ProjectBuilderRequest request) throws ProjectBuilderException, IllegalArgumentException Description copied from interface:ProjectBuilderCreates aProjectfrom a POM file.- Specified by:
buildin interfaceProjectBuilder- Parameters:
request-ProjectBuilderRequest- Returns:
- the
ProjectBuilderResultcontaining the built project and possible errors - Throws:
ProjectBuilderException- if the project cannot be createdIllegalArgumentException- if an argument isnullor invalid
-