Oliver Hecker opened MDEP-800 and commented
Under certain circumstances setting excludeTransitive to true in copy-dependencies goal might result in even direct dependencies to by excluded from copying.
The issue seems to be related to the fact that - depending on the setup of the maven project and history of builds - snapshot dependencies might internally be represented by artifacts with version info containing timestamps. When checking whether a dependency is a direct dependency by using ProjectTransitivityFilter this might result in missing to correctly recognize such a dependency as a direct dependency and thus excluding it from copying.
https://github.com/ohecker/dependency-plugin-issue gives a setup and description to reproduce the issue.
Affects: 3.3.0
Oliver Hecker opened MDEP-800 and commented
Under certain circumstances setting
excludeTransitivetotruein copy-dependencies goal might result in even direct dependencies to by excluded from copying.The issue seems to be related to the fact that - depending on the setup of the maven project and history of builds - snapshot dependencies might internally be represented by artifacts with version info containing timestamps. When checking whether a dependency is a direct dependency by using ProjectTransitivityFilter this might result in missing to correctly recognize such a dependency as a direct dependency and thus excluding it from copying.
https://github.com/ohecker/dependency-plugin-issue gives a setup and description to reproduce the issue.
Affects: 3.3.0