gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
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.


> 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.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message