org.apache.maven.project.builder
Interface ProjectBuilder
- All Known Implementing Classes:
- DefaultProjectBuilder
public interface ProjectBuilder
Provides services for building maven projects from models.
buildModel
PomClassicDomainModel buildModel(java.io.File pom,
java.util.Collection<org.apache.maven.shared.model.InterpolatorProperty> interpolatorProperties,
PomArtifactResolver resolver)
throws java.io.IOException
- Throws:
java.io.IOException
buildFromLocalPath
MavenProject buildFromLocalPath(java.io.File pom,
java.util.List<Model> mixins,
java.util.Collection<org.apache.maven.shared.model.InterpolatorProperty> interpolatorProperties,
PomArtifactResolver resolver,
ProjectBuilderConfiguration projectBuilderConfiguration)
throws java.io.IOException
- Returns a maven project for the specified input stream.
- Parameters:
pom
- input stream of the modelinheritedModels
- list of models containing additional parent models in order from most to least specializedinterpolatorProperties
- properties used for interpolation of properties within the modelresolver
- artifact resolver used in resolving artifactsbaseDirectory
- the base directory of the modelprojectBuilderConfiguration
-
- Returns:
- a maven project for the specified input stream
- Throws:
java.io.IOException
- if there is a problem in the construction of the maven project
getSuperModel
Model getSuperModel()
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.