Thanks that is an excellent resource.

I think parent poms is what i was looking for.

The way i understand it parent poms are used to simply install the proper
modules?  so for each product its possible to have a parent pom which ties
various modules into the repro.  

If module1 depends on module2 & module3, but module4 only needs to be
visible to module2.  How can i do this hierarchy with parent poms?  Will the
parent pom have all the modules, and module4 have module2 as it's
dependency?


Patrick Turcotte-3 wrote:
> 
> 
> Part of your problem could/(should?) be resolved with parent poms.
> 
> A good read is the sonatype maven book (
> http://www.sonatype.com/products/maven/documentation/book-defguide)
> 
> Patrick
> 
> On 10-03-02 02:18 PM, user09772 wrote:
>>
>>
>> dahoffer wrote:
>>   
>>> Without knowing details all I can give are general suggestions...
>>>
>>> - Things you want to version/branch as a unit go in the same project
>>> (may have several modules).
>>> - Common things that are used in more than one project go in a
>>> separate project (may have several modules) and are depended on as
>>> needed.
>>>
>>> -Dave
>>>
>>>
>>>
>>>     
>> Thanks for the response. 
>>
>> Right.  so all the projects i mentioned would need to be versioning (the
>> commands will change that the services use, the services will change that
>> the rest projects use etc.).  That is at a high level point of view
>> right. 
>> I'm probably thinking more on how to use Maven modules to provide
>> separation
>> between each of the components.
>>
>> The main thing i would like to accomplish is have the ability to switch
>> out
>> any of the projects (modules?) with another one and build the system
>> using
>> those new modules.
>>   
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Newbie-Maven-layout-question-tp27759332p27771944.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to