Hello,
I used to override code-generator plugin dependencies to set a
custom generator version :

example :

          <groupId>org.codehaus.mojo</groupId>
          <artifactId>axistools-maven-plugin</artifactId>
          <version>1.2-SNAPSHOT</version>
          <dependencies>
            <dependency>
                <groupId>axis</groupId>
                <artifactId>axis</artifactId>
                <version>${axis.version}</version>
            </dependency>

Using maven 2.0.8, this doesn't seem to work anymore.
I don't know how to dump the plugin classpath.  mvn -X shows :

[DEBUG] Configuring mojo '
org.codehaus.mojo:axistools-maven-plugin:1.2-SNAPSHOT:wsdl2java' -->
[DEBUG]   (f) pluginArtifacts = [axis:axis:jar:1.4:runtime, (...)
axis:axis:jar:1.1:runtime, org.apache.maven:maven-core:jar:2.0:runtime]

Please note there is 2 axis:axis:jar in the list !!

I have not investigated more to understand how the plugin classpath is
built, but this seems to be a regression from maven 2.0.x (x<8)

is this REALLY expected, or just a side effect of another fix ?


Nico.

Reply via email to