don't use cachedModel - it's null first time round, and we want to modify the current model.

Note that this modifies the cached version anyway.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189732 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-06-09 08:13:29 +00:00
parent 8e5a462035
commit 2ab04f7c84
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ public class DefaultMavenProjectBuilder
{ {
Profile profile = (Profile) it.next(); Profile profile = (Profile) it.next();
modelInheritanceAssembler.mergeProfileWithModel( cachedModel, profile ); modelInheritanceAssembler.mergeProfileWithModel( model, profile );
} }
model = modelInterpolator.interpolate( model ); model = modelInterpolator.interpolate( model );