If, in my maven project's parent pom.xml, it has some property like this:
<properties>
<argLine>some args</argLine>
</properties>
Is it possible in the child to somehow just "augment" that, like
<properties>
<argLine>${parent.argLine} some more args</argLine>
</properties>
Similarly for say, plugin settings, wish I could do something like
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>${parent.plugin.maven-surefire-plugin.argLine} -Xmx1G</argLine>
</configuration>
I am basically just adding to some setting specified in the parent?
The impetus for this question is I'm wondering how to use the jacoco plugin, and, in the root pom specify some general settings "-Xmx1G" while in the children they can add other child specific parameters to that general one, where necessary. ref: https://stackoverflow.com/a/29975159/32453
I suppose I could just rename the parameter jacoco generates (https://stackoverflow.com/a/25571295/32453 "propertyName" setting, to change it from argLine
) and then I could use the parent's ${argLine} and add it to the jacococ one, but my question is still interesting...