GRADLE-2666: Don't process Gradle plugins and extensions when calculating pom model