//FIXME should refactor that by removing the project configurator delegates
if ("maven-war-plugin".equals(execution.getArtifactId()) && "war".equals(execution.getGoal()) //$NON-NLS-1$ //$NON-NLS-2$
|| "maven-acr-plugin".equals(execution.getArtifactId()) && "acr".equals(execution.getGoal())) { //$NON-NLS-1$ //$NON-NLS-2$
return new ResourceFilteringBuildParticipant();
} else if ("maven-ear-plugin".equals(execution.getArtifactId()) && "generate-application-xml".equals(execution.getGoal())) { //$NON-NLS-1$ //$NON-NLS-2$
return new EarResourceBuildParticipant();
}
return null;
}