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 aProjectfrom a POM file.default ProjectBuilderResultCreates aProjectfrom a POM file.default ProjectBuilderResultCreates aProjectfrom a POM file.
-
Method Details
-
build
Creates aProjectfrom a POM file.- 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
-
build
Creates aProjectfrom a POM file.- Parameters:
session- theSession, must not benullsource- TheSource, must not benull- Throws:
ProjectBuilderException- if the project cannot be createdIllegalArgumentException- if an argument isnullor invalid- See Also:
-
build
Creates aProjectfrom a POM file.- Parameters:
session- theSession, must not benullpath- thePath, must not benull- Throws:
ProjectBuilderException- if the project cannot be createdIllegalArgumentException- if an argument isnullor invalid- See Also:
-