commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [ALL] Commons Parent pom - any more changes needed?
Date Sat, 07 Jan 2012 14:14:19 GMT
sebb wrote:

> On 7 January 2012 13:19, Jörg Schaible <joerg.schaible@gmx.de> wrote:
>> sebb wrote:
>>
>>> I'd like to release the next version of CP, i.e. 23.
>>>
>>> Changes since 22 are:
>>>
>>> ====
>>>
>>> New features:
>>> o           added java-1.7 profile
>>> o           added ssh/scp support to maven-site-plugin in Maven3
>>>
>>> Changes:
>>> o           moved buildNumber plugin to profile activated by presence
>>> of .svn directory
>>
>> You realize that for submodules this will only work with M3, profile
>> activation fails for M2?
> 
> No, I did not (this was not contributed by me).
> 
> Is there a fix for M2?

No. The reactor works simply differently. The basedir in M3's reactor mode 
is always the current project root, while in M2 it was always the directory 
where the reactor had been started. Therefore the profile is activated in 
M3, but not in M2 for submodules.

However, in this special case it is not really relevant. The profile simply 
suppresses those unfriendly warnings starting the build from a source 
package - M2 users will simply have to endure them for submodules as it 
would be for all users without the profile.

[snip]

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message