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:
Brett Leslie Porter 2005-09-13 04:13:00 +00:00
parent c9b6d83c57
commit c27e88fd79
1 changed files with 1 additions and 1 deletions

View File

@ -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();