diff --git a/src/main/groovy/netflix/nebula/dependency/recommender/ExtendRecommenderConfigurationAction.java b/src/main/groovy/netflix/nebula/dependency/recommender/ExtendRecommenderConfigurationAction.java index 09339f6..25fc578 100644 --- a/src/main/groovy/netflix/nebula/dependency/recommender/ExtendRecommenderConfigurationAction.java +++ b/src/main/groovy/netflix/nebula/dependency/recommender/ExtendRecommenderConfigurationAction.java @@ -32,6 +32,7 @@ public void execute(Configuration configuration) { if (!project.getRootProject().equals(project)) { toExtend = bom.copy(); toExtend.setVisible(false); + toExtend.setCanBeResolved(false); project.getConfigurations().add(toExtend); } configuration.extendsFrom(toExtend);