maven: do not include module dependency
I've searched this for quite some time now and haven't found an answer I
need.
I'm working on a project which consists of 3 modules:
module (jar)
server (war)
client (war)
server and client depend on module. But client depends on the fact that
server is build before the client so it's wsdl's are generated before
client's wsimport can import them and generate client classes.
How can I set client project to be dependent on server project in a way
that server project will not be included in the client.war or overlayed in
any way and only instruct maven to build and package server before client?
And how to add a war-deploy to glassfish action during package phase of
the server project?
Right now I only have clean project which only depends on the module
project which can be embedded into server and client.
No comments:
Post a Comment