qoomon / maven-git-versioning-extension

This extension will set project version, based on current Git branch or tag.
GNU General Public License v3.0
305 stars 87 forks source link

Support overwriting properties defined in parent #235

Closed frelibert closed 1 year ago

frelibert commented 1 year ago

Current implementation supports overwriting properties that are defined in the pom itself (under the root or in profiles). If you want to overwrite a property that is defined in a parent of the pom, you first need to define that property itself again in the pom otherwise it doesn't get picked up. That means you need to alter the source of the pom and that is not what we want to do.

It would be better if properties, defined in the extension's configuration, get added if they are not yet in the pom so they can overwrite parent properties.

qoomon commented 1 year ago

released in version 9.6.1