Hello Karl Heinz,
I do not see the point, why properties are bad here.
Overriding them on the command line is not the main
benefit, but in a child project you may override
versions with one line of code instead of at least 5 lines.
Say you have problems with latest surefire/failsafe.
Then it is
<surefire.version>2.22.2</surefire.version>
vs.
<pluginManagement>
<plugins>
<plugin>
<groupId>o.a.m.p</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
<plugin>
<groupId>o.a.m.</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.2</version>
</plugin>
</plugins>
</pluginManagement>
The latter are 14 lines of XML vs 1.
Best Regards
Mirko Friedenhagen
—
Sent from my mobile
Am 22.05.20 um 10:23 schrieb Karl Heinz Marbaise