Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Transitive Dependencies Not Resolving

Hi,

I am using the 64 bit version of Helios on Windows7 and when I view a project's POM in the Dependency Hierarchy tab the transitive dependency resolution is a bit wonky.  The project is a CXF webservice client and its dependencies looks like this:

    <properties>
        <cxf.version>2.3.3</cxf.version>
    </properties>
    <dependencies>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-frontend-jaxws</artifactId>
            <version>${cxf.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-transports-http</artifactId>
            <version>${cxf.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-ws-security</artifactId>
            <version>${cxf.version}</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.4.2</version>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.14</version>
        </dependency>
    </dependencies>

I've attached a screenshot of the Dependency Hierarchy tab.  Only the slf4j dependency can be expanded in the left column to show its transitive dependencies. The cxf-rt* ones do not even though their dependencies are listed in the Resolved Dependencies list.  Other projects show the full hierarchy.

I thought it might have something to do with using a property in the <version>, but changing them to a string results in the same.  Anyone have ideas what's going on?

Also, there should be more transitive dependencies.  For example, jaxb-impl : 2.1.13 depends on

<dependencies>
    <dependency>
        <groupId>javax.xml.bind</groupId>
        <artifactId>jaxb-api</artifactId>
        <version>2.1</version>
    </dependency>
</dependencies>

Shouldn't this be in the resolved dependencies list?

Back to the top