Alternatively, you could do.

cd common
mvn install
cd ../parentPOM1
mvn install

2008/12/4 Rusty Wright <[EMAIL PROTECTED]>

> If you haven't looked at it yet, try this:
>
> http://books.sonatype.com/maven-book/reference/multimodule-web-spring.html
>
>
> solo1970 wrote:
>
>> This is my dilemna, ca anyone shed some light?
>>
>> I have the following configuration of POMs
>>
>> bigparentPOM ---> common
>>                   ----> parentPOM 1 (depends on common)
>>                   ----> parentPOM 2 (depends on common)
>>
>> ParentPOM 1 and 2 are dependent on common, but sometimes they also need to
>> be compiled separately.  I I want to build only parentPOM1 and need to
>> recompile common, how can I do it???  For now we have to recompile
>> everything from bigparentPOM.
>>
>> Can I configure my POM hierarchies in another way to be able to compile
>> ONLY
>> parentPOM1 and common OR ONLY parentPOM2 and common
>>
>> Thanks in advance for your help!!!!
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to