mirror of https://github.com/apache/maven.git
o Enabled two-phase model building which allows to address inter-model dependencies within a reactor build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798077 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
34e1fa627f
commit
fb0d4c3de9
|
@ -37,4 +37,18 @@ public interface ModelBuilder
|
|||
ModelBuildingResult build( ModelBuildingRequest request )
|
||||
throws ModelBuildingException;
|
||||
|
||||
/**
|
||||
* Builds the effective model by completing the specified interim result which was produced by a previous call to
|
||||
* {@link #build(ModelBuildingRequest)} with {@link ModelBuildingRequest#isTwoPhaseBuilding()} being {@code true}.
|
||||
* The model building request passed to this method must be the same as the one used for the first phase of the
|
||||
* model building.
|
||||
*
|
||||
* @param request The model building request that holds the parameters, must not be {@code null}.
|
||||
* @param result The interim result of the first phase of model building, must not be {@code null}.
|
||||
* @return The result of the model building, never {@code null}.
|
||||
* @throws ModelBuildingException If the effective model could not be built.
|
||||
*/
|
||||
ModelBuildingResult build( ModelBuildingRequest request, ModelBuildingResult result )
|
||||
throws ModelBuildingException;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue