profileActivationContext.setExplicitlyActiveProfileIds( configuration.getActiveProfileIds() );
profileActivationContext.setExplicitlyInactiveProfileIds( configuration.getInactiveProfileIds() );
ProfileManager profileManager = new DefaultProfileManager( profileActivationContext );</BUG>
try
{
<BUG>domainModel = build( "unknown", pomFile, profileManager, configuration );
}</BUG>
catch ( IOException e )
{
throw new ProjectBuildingException( "", "", e );

if ( project != null )
{
return project;
}
DomainModel domainModel;
try
{
domainModel = build( "unknown", pomFile, configuration );
}
catch ( IOException e )
{
throw new ProjectBuildingException( "", "", e );
