Thanks Dan-- I'm working on this now and have come across one thing
missing in your documentation: you also need to setup the
pluginRepository. Here's what I added to make the build work:
<pluginRepositories>
<pluginRepository>
<id>apache-plugin-snapshots</id>
<name>Apache Maven Plugin Snapshots</name>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
I'll let you know if I run into any other problems.
-Chris
-----Original Message-----
From: Dan Diephouse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 27, 2007 1:18 PM
To: [email protected]
Subject: Re: Maven2 Plugin?
Hi Christopher,
I wrote up some documentation on the wsdl2java plugin here:
http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html
Let me know if it needs corrections/improvements. The first two
dependencies
in the example given should be sufficient for your usage (jaxws & http).
Cheers,
- Dan
On 3/27/07, Christopher Moesel <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
>
>
> I'm a current XFire user interested in trying out the latest snapshot
of
> CXF. I have a WSDL-first service and need to do code generation in my
> build. Dan mentioned a Maven2 plugin on the XFire list-is there any
> documentation or an example of how to use this plugin? If not, is
there
> an ANT task? Or should I just wrap a call to wsdl2java?
>
>
>
> If possible, I would prefer a solution that requires "dozens of jars"
to
> be added to my classpath. I'm thinking at least 40 or 45. ;-)
>
>
>
> Thanks,
>
> Chris
>
>
--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog