gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: mvn Question: Artifact Version and Inheritance
Date Fri, 30 Jul 2010 11:57:46 GMT
On 2010-07-29, Jörg Schaible wrote:

> Stefan Bodewig wrote:

>> This assumes that if a POM doesn't specify a version it must inherit the
>> one from the parent POM.  Unfortunately I don't find any documentation
>> on the maven site that would explicitly confirm this assumption (even
>> though it seems to be true).

>> Can anybody more familiar with mvn than me confirm this is correct?

> This is right.

Good.

> However, some folks use properties for /project/version:

>  <version>${myBestIdeaToManageVersionInfo}</version>

> In that case you should bail out also.

True.  I'll explicitly document this as a case where the version
attribute of the builder is required and look for "${" inside the
version's value, that should be enough.

Thanks

        Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message