* @return
*/
protected MavenProject createMinimalProject( ArtifactRepository localRepository )
{
MavenProjectBuilder projectBuilder = (MavenProjectBuilder) lookup( MavenProjectBuilder.ROLE );
DefaultProjectBuilderConfiguration builderConfig = new DefaultProjectBuilderConfiguration( );
builderConfig.setLocalRepository( localRepository );
builderConfig.setGlobalProfileManager( getProfileManager() );
try
{
return projectBuilder.buildStandaloneSuperProject( builderConfig );
}