(apologies, if you get this twice - I tried posting on nabble, but get
"This post has NOT been accepted by the mailing list yet." - dont know why
- so now trying directly to the mailing-list)


I need some advice on how to setup maven-build
of the client-jar for java-first webservices...

Previously, I have been working with wsdl-first webservices,
where you simply save the wsdl in version-control
and then generate the java client classes from it.

But now I have switched to another project,
where most webservices are already existing as *java-first*,
and we should now convert the builds from Ant to Maven.

What is the best way to set this up in maven and version-control
to ensure you get the latest version of the wsdl?

Obviously you dont want to save the wsdl into version-control,
since it is generated at runtime...

I guess one way is in your maven-build to start app-server on localhost,
deploy the webservice to it,
then build the client-jar from the localhost-url.
Problem is the build might then fail if some dependencies
(db-connections, other webservice, etc) are not available at build-time.

So is there some better way to do this?

Reply via email to