Axis2 sometimes changes its groupid. The latest is found here:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-wsdl2code-maven-plugin/1.3/
Give it a try.
Hth,
Nick Stolwijk
Andrew Strickland wrote:
Nick,
Thanks for the response!
I have looked at the axis2 maven plugin. Unfortunately it would appear that either support stopped for the stand-alone plugin back in version 1.1.1 or I just don't know what repository it's being maintained in now because I can't find one for versions 1.2 or 1.3. The only plugin I could find with later versions is the eclipse wizard plugin which is up to 1.3.
I could not get the 1.1.1 version of the plugin working, it has non-transitive dependencies that aren't even mentioned in the documentation and it fails to parse the wsdl whereas the axis2 codegen ant task parses it just fine.
The way I've resolved this for now is to continue to use my ant build with codegen ant task and to use the build-helper-maven-plugin to add my subdirectory of generated-sources to the maven build path. Like so:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>
target/generated-sources/wsdl2code
</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
And this works just fine I guess...though it *would* be nice if I could just
use the axis2 maven plugin. Do you know of a version beyond 1.1.1 and if so,
what maven repository it's in?
Thanks,
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]