Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340981

Summary: Transitive dependencies not shown in "Dependency Hierarchy" view in POM editor
Product: z_Archived Reporter: Damir Murat <damir.murat>
Component: m2eAssignee: Benjamin Bentmann <bentmann>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bentmann, damir.murat
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Dependency hierarchy view
none
Dependency Graph view none

Description Damir Murat CLA 2011-03-25 12:20:13 EDT
I'm having a rather weird problem with all Mule ESB dependencies. Take this POM as an example:

<?xml version="1.0" encoding="UTF-8"?>
<project
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
        http://maven.apache.org/POM/4.0.0
        http://maven.apache.org/xsd/maven-4.0.0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <groupId>com.dependencies.bug</groupId>
  <artifactId>bugdemo</artifactId>
  <version>0.0.1-SNAPSHOT</version>

  <dependencies>
    <dependency>
      <groupId>org.mule.modules</groupId>
      <artifactId>mule-module-cxf</artifactId>
      <version>3.1.1</version>
    </dependency>
  </dependencies>
</project>

As shown on the first screenshot, transitive dependencies aren't shown in "Dependency hierarchy" panel, but they are resolved and shown in "Resolved Dependencies" panel. Moreover, transitive dependencies are correctly displayed in "Dependency Graph" view as second screenshot shows.

As long as I can see, there is not an obvious error in Mule's poms, so I guess this is not only related to Mule dependencies.

I'm using m2e distributed with SpringSource Tool Suite 2.6.0 RELEASE. More concretely, I have following features installed:
org.maven.ide.eclipse.feature - 0.12.1.20110112-1712
org.maven.ide.eclipse.temporary.mojos.feature - 0.12.0.20101103-1500
org.maven.ide.eclipse.ajdt.feature - 0.10.0.20100209-0800
org.maven.ide.eclipse.wtp.feature - 0.11.1.20101108-1810
Comment 1 Damir Murat CLA 2011-03-25 12:21:00 EDT
Created attachment 191919 [details]
Dependency hierarchy view
Comment 2 Damir Murat CLA 2011-03-25 12:21:38 EDT
Created attachment 191920 [details]
Dependency Graph view
Comment 4 Denis Roy CLA 2021-04-19 13:26:57 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/