Package org.apache.maven.api.services
Interface ProjectBuilder
- All Superinterfaces:
- Service
- Since:
- 4.0.0
- 
Method SummaryModifier and TypeMethodDescriptionbuild(ProjectBuilderRequest request) Creates aProjectfrom a POM file.default ProjectBuilderResultCreates aProjectfrom a POM file.default ProjectBuilderResultCreates aProjectfrom a POM file.
- 
Method Details- 
buildCreates aProjectfrom a POM file.- Parameters:
- request-- ProjectBuilderRequest
- Returns:
- the ProjectBuilderResultcontaining the built project and possible errors
- Throws:
- ProjectBuilderException- if the project cannot be created
- IllegalArgumentException- if an argument is- nullor invalid
 
- 
buildCreates aProjectfrom a POM file.- Parameters:
- session- the- Session, must not be- null
- source- The- Source, must not be- null
- Throws:
- ProjectBuilderException- if the project cannot be created
- IllegalArgumentException- if an argument is- nullor invalid
- See Also:
 
- 
buildCreates aProjectfrom a POM file.- Parameters:
- session- the- Session, must not be- null
- path- the- Path, must not be- null
- Throws:
- ProjectBuilderException- if the project cannot be created
- IllegalArgumentException- if an argument is- nullor invalid
- See Also:
 
 
-