Package org.apache.maven.internal.impl
Class DefaultProjectBuilder
java.lang.Object
org.apache.maven.internal.impl.DefaultProjectBuilder
- All Implemented Interfaces:
Service
,ProjectBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(ProjectBuilderRequest request) Creates aProject
from a POM file.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:ProjectBuilder
Creates aProject
from a POM file.- Specified by:
build
in interfaceProjectBuilder
- Parameters:
request
-ProjectBuilderRequest
- Returns:
- the
ProjectBuilderResult
containing the built project and possible errors - Throws:
ProjectBuilderException
- if the project cannot be createdIllegalArgumentException
- if an argument isnull
or invalid
-