slachiewicz opened a new pull request, #1806: URL: https://github.com/apache/maven-dependency-plugin/pull/1806
`dependency:copy -Dtransitive` (#1772) now accepts several artifact items. They are resolved together in one dependency graph, as if a project declared them, so a dependency they share is copied once, in the version Maven's mediation picks. The items must share one output directory, and naming one artifact in two versions fails the build. The single-item path is unchanged and still resolves the artifact as the graph root, like `dependency:get`. The two modes therefore differ in one respect: a single artifact keeps its optional dependencies, while several items leave them out, as a project would. The parameter javadoc says so and a test pins it. Fixes #1464 --- - [x] I hereby declare that I have filed an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
