Package org.apache.maven.api.services
Interface ProjectBuilder
- All Superinterfaces:
Service
- All Known Implementing Classes:
DefaultProjectBuilder
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(ProjectBuilderRequest request) Creates aProject
from a POM file.default ProjectBuilderResult
Creates aProject
from a POM file.default ProjectBuilderResult
Creates aProject
from a POM file.
-
Method Details
-
build
Creates aProject
from a POM file.- 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
-
build
Creates aProject
from a POM file.- Parameters:
session
- theSession
, must not benull
source
- TheSource
, must not benull
- Throws:
ProjectBuilderException
- if the project cannot be createdIllegalArgumentException
- if an argument isnull
or invalid- See Also:
-
build
Creates aProject
from a POM file.- Parameters:
session
- theSession
, must not benull
path
- thePath
, must not benull
- Throws:
ProjectBuilderException
- if the project cannot be createdIllegalArgumentException
- if an argument isnull
or invalid- See Also:
-