How to build sub-modules selectively?

2010-12-20 Thread Pulkit Singhal
With a structure like the following: umbrella-module core-module optional-module-1 optional-module-2 How can the maven pom files be configured so that a user can build: 1) either, core-module with configuration and jar files from optional-module-1 as dependencies 2) or, core-module with

Re: How to build sub-modules selectively?

2010-12-20 Thread Wayne Fay
I'm guessing that some sort of condition will need to be put into place in the core-module's pom.xml file to let it know which dependency it needs? Based on what is specified in an env variable or Whenever you are looking for this kind of conditional building of your projects, you should

Re: How to build sub-modules selectively?

2010-12-20 Thread Ron Wheeler
On 20/12/2010 1:11 PM, Wayne Fay wrote: I'm guessing that some sort of condition will need to be put into place in the core-module's pom.xml file to let it know which dependency it needs? Based on what is specified in an env variable or Whenever you are looking for this kind of conditional