Maven - Copying classes from different projects into same jar
-------------------------------------------------------------

         Key: MAVEN-1617
         URL: http://jira.codehaus.org/browse/MAVEN-1617
     Project: maven
        Type: Task
  Components: core  
    Versions: 1.0.2    
    Reporter: Kanakambaran
    Priority: Blocker


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to