slachiewicz opened a new pull request, #1797: URL: https://github.com/apache/maven-dependency-plugin/pull/1797
Adds `useRepositoryLayout` (user property `mdep.useRepositoryLayout`, shared with `copy-dependencies`) to `build-classpath`. With `prefix` set, every entry becomes `prefix/<groupId path>/<artifactId>/<baseVersion>/<file name>`, reactor modules included, so the classpath matches a directory filled by `copy-dependencies -Dmdep.useRepositoryLayout=true`; `stripVersion`, `stripClassifier`, `prependGroupId` and `useBaseVersion` are ignored in that mode, as they are for `copy-dependencies`. Without `prefix` it has no effect. No existing option produced this: with `prefix` the entries are flat file names, and `localRepoProperty` rewrites only the local-repository part of external jars while reactor modules keep their `target/` paths. The `prefix` javadoc now says that without a prefix reactor modules point to their build output. Fixes #925 --- 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]
