Skip to main content

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

This one has the attachment...

----- Original Message -----
From: sdoca sdoca <sdoca@xxxxxxx>
Date: Wednesday, April 13, 2011 3:14 pm
Subject: Transitive Dependencies Not Resolving
To: Maven Integration for Eclipse users mailing list <m2e-users@xxxxxxxxxxx>

> 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
>             <version>${cxf.version}</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.cxf</groupId>
>             <artifactId>cxf-rt-transports-http
>             <version>${cxf.version}</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.cxf</groupId>
>             <artifactId>cxf-rt-ws-security
>             <version>${cxf.version}</version>
>         </dependency>
>         <dependency>
>             <groupId>org.slf4j</groupId>
>             <artifactId>slf4j-log4j12
>             <version>1.4.2</version>
>         </dependency>
>         <dependency>
>             <groupId>log4j</groupId>
>             <artifactId>log4j
>             <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
>         <version>2.1</version>
>     </dependency>
> </dependencies>
>
> Shouldn't this be in the resolved dependencies list?
>
>

Attachment: dependencies.jpg
Description: JPEG image


Back to the top