My project structure is as below
Project
|-Project.xml and maven.xml
|-Client
|-Project.xml
|-Server
|-Project.xml
|-ValueObjects
|-Project.xml
where the ValueObjects (VO) are a dependency for both the client and server projects.
Also I require the VO classes to be present in both the client and server jars since the VOs would be referenced from both client and server. I require separate jars for client and server.
Maven does not allow to specify multiple source directories for a project. Since VO is given as a dependency for both client and server, the VO project is being built first. I want the classes generated here to be present in both the client and server jars.
How can this be achieved ?
Thanks in advance.
-
Maven - Copying classes from different projects into same jar (0 messages)
- Posted by: Kanakambaran Nair
- Posted on: June 09 2005 01:30 EDT