Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2010-12-22 07:13:34 -0500
committerMilos Kleint2010-12-22 07:13:34 -0500
commit2a16e384736836a3c1844eb388bfed263064ff17 (patch)
treec29e605daffab45e04ba20b1b616c4bbd71d8f5f
parent94d796a4423a3f3e5eddf694153a2ef47db48ce4 (diff)
downloadm2e-core-2a16e384736836a3c1844eb388bfed263064ff17.tar.gz
m2e-core-2a16e384736836a3c1844eb388bfed263064ff17.tar.xz
m2e-core-2a16e384736836a3c1844eb388bfed263064ff17.zip
correcting a misconception, managed dependencies have no relation to "inherited ones", also to get the real inherited ones we need to check the Mavenproject not the Model
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java
index c76eec88..87df3d90 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java
@@ -823,8 +823,7 @@ public class DependenciesComposite extends Composite {
* we need to run through each list and only add ones that aren't in both.
*/
List<org.apache.maven.model.Dependency> allDeps = new LinkedList<org.apache.maven.model.Dependency>();
- allDeps.addAll(facade.getMavenProject().getModel().getDependencies());
- allDeps.addAll(facade.getMavenProject().getModel().getDependencyManagement().getDependencies());
+ allDeps.addAll(facade.getMavenProject().getDependencies());
for (org.apache.maven.model.Dependency mavenDep : allDeps) {
boolean found = false;
Iterator<Dependency> iter = model.getDependencies().iterator();

Back to the top