Re: setting up Maven2 WSDL2Code Plug-in

robert lazarski <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CABpPLBVZPk-i=eX7t3QTYsg6=1jy_HP2ygcvyM+x-csa5E2=WA@mail.gmail.com>
On Sat, Mar 2, 2013 at 4:26 PM, Sam Carleton <[email protected]> wrote:
> I have been using Axis2/C for years and am now trying to figure out how to
> move to Axis2/Java using Mavin as the build system. My current process is to
> run a command line batch process to generate all the C code from the WSDL
> using WSDL2C.  Then I manually move over the new source code into the
> correct folder,.  Finally I go into the development environment and work on
> the code.
>
> Moving to the Axis2/Java world, I am hoping to find a way to use Mavin to
> generate the java classes as part of the build step and remove the manual
> process.  The problem is I cannot find a way to get the Maven2 WSDL2Code
> Plug-in to place the source code where I want it, it always put it first
> into a src file, I want to follow the Maven model of src\main\java.
>
> How do other folks use the Maven2 WSDL2Code Plug-in exactly in their build
> process?

I don't use the Maven2 WSDL2Code Plug-in, but I do use ant with
WSDL2Java. There are docs that explain how to use axis2 with ant.
Anyways, maven can execute ant via antrun you might consider that as
an option.

- R
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.