Am 05.12.2016 um 15:09 schrieb Robert Patrick:
> Right, it looks at versions to try to find the latest version number.  
> 
> Another way that you might solve the problem is simply by chaining 
> properties.  In any one of the parent hierarchy POMs, set 
> <grandparent.version>...</grandparent.version> and then in the module POM, 
> just say <version>${grandparent.version}</version>.  

This will likely produce a warning like "version must be a constant".
Why not simply inherit the version from the parent? What exactly do you
need the grandparent's version for? If this is needed in child POMs, the
author of the grandparent should provide a way to inherit that information.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to