That's quite neat. I'll need to try it. I had worries about executing platform 
builds on incompatible platforms - do we have all dependencies to run 
clean/install like that. So I fixed the M3 via search and replace, but I'll add 
it to release instructions and we'll use it the next time.

Andrus 

On Sep 13, 2011, at 11:25 AM, Dzmitry Kazimirchyk wrote:

> On 09/13/2011 09:08 AM, Andrus Adamchik wrote:
>> Yes, the docbook is a special case - it is not yet ready for inclusion, so 
>> it is not linked to the main build. The bigger problem is all other modules 
>> that are conditionally added via profiles e.g. when building on a certain 
>> platform. E.g.:
>> 
>> <profile>
>>      <id>mac</id>
>>      <modules>
>>              <module>cayenne-modeler-mac-ext</module>
>>              <module>cayenne-modeler-mac</module>
>>      </modules>
>> </profile>
>> 
>> Andrus
> 
> I've probably find workaround for this. For me running release prepare like 
> this:
> 
>    mvn release:prepare -DpreparationGoals="clean install" 
> -DautoVersionSubmodules=true -Passembly,generic,mac,windows
> 
> set correct version for modules defined in selected profiles.
> 
> Dzmitry
> 

Reply via email to