Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7
-
None
Description
My pom.xml specifies all plugin versions including the ones for plugins used in the reporting section via pluginManagement. Accoring to http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Version_Resolution and the ticket MSITE-443 this is fully supported by the maven-site-plugin.
Unfortunately the maven-project-info-report-plugin does not seem to adhere this version resolution which results in a wrong version in the report.
The attached example gives a pom.xml, the log file when generating the site, and the resulting plugins.html. The version to look at is from the maven-surefire-report-plugin, which has 2.16 specified in the pluginManagement section (and this version is actually used for generating the surefire report) but the plugins.html report says 2.17 (the latest version).