Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.7, 2.9, 3.0.0, 3.1.0
-
None
-
None
-
Microsoft Windows 10, Maven 3.5.4, Azul OpenJDK8 or Azul OpenJDK7
Description
Maven allows to have managed dependencies without a version. This can be very useful, because this way you can change the scope of a transitive dependency without affecting the resolved version.
The dependency-management report however fails under such circumstances:
Error generating maven-project-info-reports-plugin:3.1.0:dependency-management report: For artifact {pirbugdemo:pirbug-transitive:null:jar}: The version cannot be empty
There has been a similar issue with the versions-maven-plugin: https://github.com/mojohaus/versions-maven-plugin/issues/114
The example mainly consists of a "consumer" module with a dependency to a "dependency" module wich in turn has a dependency to a third module "transitive". In the consumer module, the "transitive" dependency is managed without setting the version.
If there is a workaround, please let me know.
Thanks a lot!