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-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org

Reply via email to