GRADLE-3140: Correctly handle POM dependency declarations with type ejb-client.