Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] Dependency resolution problem

Hi!

We have some dependency resolution problem. We have a project with a lot of dependencies, mostly transitively, and we have dependency for jaxws artifacts:
...
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-local-transport</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>javax.jws</groupId>
<artifactId>jsr181-api</artifactId>
</dependency>
</dependencies>

Our team has 6 people, 3 of them have problems, 3 of them have no problems. The 3 people having problems, has different version of m2e (1.2 and 1.4), but each version contains maven 3.0.4 embedded (Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)).

The dependency:tree produces normal output at each people using the embedded maven:

[INFO] +- javax.xml.ws:jaxws-api:jar:2.2.11:compile
[INFO] |  +- javax.xml.bind:jaxb-api:jar:2.1:provided
[INFO] |  |  \- javax.xml.stream:stax-api:jar:1.0-2:provided (scope managed from compile)
[INFO] |  +- javax.xml.soap:javax.xml.soap-api:jar:1.3.5:compile
[INFO] |  \- javax.annotation:javax.annotation-api:jar:1.2-b03:runtime
[INFO] +- com.sun.xml.ws:jaxws-rt:jar:2.2.8-promoted-b146:compile
[INFO] |  +- javax.xml.soap:saaj-api:jar:1.3.4:compile
[INFO] |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.7-b41:compile
[INFO] |  +- com.sun.xml.ws:policy:jar:2.3.1:compile
[INFO] |  +- org.glassfish.gmbal:gmbal-api-only:jar:3.1.0-b001:compile
[INFO] |  |  \- org.glassfish.external:management-api:jar:3.0.0-b012:compile
[INFO] |  +- org.jvnet.staxex:stax-ex:jar:1.7.1:compile
[INFO] |  +- com.sun.xml.stream.buffer:streambuffer:jar:1.5:compile
[INFO] |  +- org.jvnet.mimepull:mimepull:jar:1.8:compile
[INFO] |  +- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.12:compile
[INFO] |  +- org.glassfish.ha:ha-api:jar:3.1.8:compile
[INFO] |  \- com.sun.xml.messaging.saaj:saaj-impl:jar:1.3.9:compile
[INFO] |     \- org.jvnet:mimepull:jar:1.4:compile
[INFO] +- com.sun.xml.ws:jaxws-local-transport:jar:2.2.8-promoted-b146:compile
[INFO] +- javax.jws:jsr181-api:jar:1.0-MR1:compile

However, in the Dependency Hierarchy view, 3 of us has this:

Szövegközi kép 1

And who has no problems, he can see this:

Szövegközi kép 2

We had problems with aether version 1.11, but each embedded maven contains 1.13.1 of aether.

Do anybody faced such problems? What should we try to solve this?

Best regards,

-- Vazul

Back to the top