slachiewicz opened a new pull request, #1799: URL: https://github.com/apache/maven-dependency-plugin/pull/1799
Adds the `get-classpath` goal: like `get` it needs no project and takes `-Dartifact=groupId:artifactId:version[:packaging[:classifier]]`, and like `build-classpath` it logs the classpath of that artifact and its transitive runtime dependencies or writes it to `-Dmdep.outputFile`, with the same `prefix`, `pathSeparator`, `fileSeparator` and `outputFilterFile` options. The artifact is resolved as for a project that depends on it, so its test, provided and optional dependencies are left out and versions follow the running Maven's dependency management rules; the result can therefore differ from `get -Dtransitive`. It is a new goal rather than a project-less mode of `build-classpath`, which keeps reactor builds unaffected. Fixes #1258 --- To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) check one of the following: - [ ] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) - [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]
