mirror of https://github.com/apache/maven.git
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:
parent
8e5a462035
commit
2ab04f7c84
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue