mirror of https://github.com/apache/maven.git
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:
parent
1a294dff09
commit
acdc5f96c5
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue