On Thu, Nov 17, 2011 at 2:23 PM, zebahmad <[email protected]> wrote: > Hi, > > I am currently migrating my projects from my company's in-house build system > based on ant, to maven. We have a concept of deliverable, where a > deliverable may be a combination of projects. Two or more projects are > basically merged, to create a deliverable. The projects may be part of more > than 1 deliverable. > > e.g. Suppose we have 4 projects > ProjectA > ProjectB > ProjectC > ProjectD > and two deliverables > DeliverableX |--*ProjectA* > |--ProjectB > DeliverableY|--*ProjectA* > |--ProjectC > |--ProjectD > > Here ProjectA needs to be separated out as it is common code, yet it is part > of the DeliverableX and DeliverableY. I cannot change the structure of > DeliverableX and DeliverableY, as the existing codebase entirely depends > upon this packaging. How can I implement this with maven? I checked out > multi-module projects, but that seems to require me to embed the module into > a parent project. Any pointers are appreciated!!
Have you read the freely available books at http://maven.apache.org/articles.html You can try the assembly plugin http://maven.apache.org/plugins/maven-assembly-plugin/ That should be able to copy/layout on disk the contents of the artifacts for each project that DeliverableX depends upon allowing you to repackage however you see fit. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
