o Used the same code path for testing as a real build would use

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-03-24 19:21:44 +00:00
parent 1a294dff09
commit acdc5f96c5
1 changed files with 2 additions and 3 deletions

View File

@ -1236,7 +1236,7 @@ public class PomConstructionTest
}
private PomTestWrapper buildPomFromMavenProject( String pomPath, String... profileIds )
throws IOException
throws Exception
{
File pomFile = new File( testDirectory , pomPath );
if ( pomFile.isDirectory() )
@ -1252,8 +1252,7 @@ public class PomConstructionTest
}
config.setGlobalProfileManager(new DefaultProfileManager(this.getContainer(), pCtx));
return new PomTestWrapper( pomFile, mavenProjectBuilder.buildFromLocalPath( pomFile, null, null, null,
config, mavenProjectBuilder ) );
return new PomTestWrapper( pomFile, mavenProjectBuilder.build( pomFile, config ) );
}
private Model buildMixin( String mixinPath )