Re: Source code in multiple modules problem

2006-12-02 Thread Wendy Smoak
On 12/2/06, Petar Tahchiev <[EMAIL PROTECTED]> wrote: That really is an option but it seems time consuming(my project is very big) and not so ellegant. I hope someone suggests something else. Just curious: is there a maven goal for copying source files from one directory(module) to another? P.S

Re: Source code in multiple modules problem

2006-12-02 Thread Petar Tahchiev
On 02/12/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 12/1/06, Petar Tahchiev <[EMAIL PROTECTED]> wrote: > how to merge the two source-trees from moduleA and one of these: > moduleB or ModuleC? You could build a jar from module A, then use the dependency plugin to unpack the contents of it wh

Re: Source code in multiple modules problem

2006-12-02 Thread Wendy Smoak
On 12/1/06, Petar Tahchiev <[EMAIL PROTECTED]> wrote: how to merge the two source-trees from moduleA and one of these: moduleB or ModuleC? You could build a jar from module A, then use the dependency plugin to unpack the contents of it where you want them as you build modules B and C. -- Wend

Re: Source code in multiple modules problem

2006-12-02 Thread Petar Tahchiev
On 02/12/06, lars vonk <[EMAIL PROTECTED]> wrote: Petar, If I understand yoy correctly ModuleB and ModuleC are two artifacts both dependent on ModuleA. If so then you can create two projects for B and C which have a dependency on A. For replacing contents of files you can use filtering (see ht

Re: Source code in multiple modules problem

2006-12-02 Thread lars vonk
Petar, If I understand yoy correctly ModuleB and ModuleC are two artifacts both dependent on ModuleA. If so then you can create two projects for B and C which have a dependency on A. For replacing contents of files you can use filtering (see http://maven.apache.org/guides/getting-started/index.ht

Source code in multiple modules problem

2006-12-01 Thread Petar Tahchiev
Hello to everybody, I am currently trying to refactor a source tree that used to be built with Ant. The source tree contains of three modules ModuleA, ModuleB and ModuleC. At startup a property is being given, and based on that property only one of these modules is being built. The problem is tha