mirror of https://github.com/apache/maven.git
correct what is cached
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280487 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c9b6d83c57
commit
c27e88fd79
|
@ -562,7 +562,7 @@ public class DefaultMavenProjectBuilder
|
||||||
// clone the model because the profile injection below will modify this instance
|
// clone the model because the profile injection below will modify this instance
|
||||||
MavenProject p = new MavenProject( ModelUtils.cloneModel( model ) );
|
MavenProject p = new MavenProject( ModelUtils.cloneModel( model ) );
|
||||||
p.setFile( project.getFile() );
|
p.setFile( project.getFile() );
|
||||||
modelCache.put( key, project );
|
modelCache.put( key, p );
|
||||||
}
|
}
|
||||||
|
|
||||||
List activeProfiles = project.getActiveProfiles();
|
List activeProfiles = project.getActiveProfiles();
|
||||||
|
|
Loading…
Reference in New Issue