You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Brian E. Fox" <br...@reply.infinity.nu> on 2008/04/09 19:05:51 UTC

RE: modify existing plugin dependencies [#MNG-2972] - workaround available?

2.0.9 has been staged and voted on. We are just looking into one thing before letting it into the wild.

-----Original Message-----
From: torsten.reinhard@gi-de.com [mailto:torsten.reinhard@gi-de.com] 
Sent: Wednesday, April 09, 2008 1:07 PM
To: users@maven.apache.org
Subject: modify existing plugin dependencies [#MNG-2972] - workaround available?

Hi, 

I need to use jaxws-maven-plugin with jaxb-impl-2.1.3 instead of the 
original dependency of the plugin
So i configured:

<plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jaxws-maven-plugin</artifactId>
        <version>1.8</version> 
        <dependency>
                <groupId>com.sun.xml.bind</groupId>
                <artifactId>jaxb-impl</artifactId>
                <version>[2.1.3,)</version>
                <scope>runtime</scope>
        </dependency>

but I couldnĀ“t get that to work

[DEBUG] 
com.sun.tools.xjc.maven2:maven-jaxb-plugin:maven-plugin:1.1:runtime 
(selected for runtime)
[DEBUG]   javax.xml.bind:jaxb-api:jar:2.1:runtime (selected for runtime)
[DEBUG]     javax.xml.stream:stax-api:jar:1.0-2:runtime (selected for 
runtime)
[DEBUG]     javax.activation:activation:jar:1.1:runtime (selected for 
runtime)
[DEBUG]   com.sun.xml.bind:jaxb-xjc:jar:2.0.2:runtime (selected for 
runtime)
[DEBUG]   com.sun.xml.bind:jaxb-xjc:jar:2.1.3:runtime (removed - nearer 
found: 2.0.2)
[DEBUG]   ant:ant:jar:1.6.5:runtime (selected for runtime)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for 
runtime)

is there any workaround available for [#MNG-2972] ?
When will Maven2.0.9 be available where this issue might be fixed?


Thanx, Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org