builderConfig.setLocalRepository( localRepository );
builderConfig.setGlobalProfileManager( getProfileManager() );
try
{
MavenProject mavenProject = projectBuilder.buildStandaloneSuperProject(builderConfig);
// if we don't null out these fields then the pom that will be created is at the super-pom's
// GAV coordinates and we will not be able to inherit partial GAV coordinates from a parent GAV.
mavenProject.setGroupId(null);
mavenProject.setArtifactId(null);
mavenProject.setVersion(null);