Friday, 9 August 2013

Import package into other module of the same maven project

Import package into other module of the same maven project

I've got a maven parent project that has two child modules (spring ws
archetypes) each one is intend to be deployed in its own application
server. One of the modules exposes a ws endpoint that is used by a ws
client in the other module. My problem is that i will have the java
objects generated by jaxb and xsd in both modules, unless i find the way
to share this set of classes without replicating it. Is there any way to
import an specific package from one module to the other? Is there other
more appropriate way to deal with this problem? Cheers!

No comments:

Post a Comment