I want to use the maven-dependency-plugin to copy artifacts from all sub-modules of my multi-module project to a directory that is relative to the root directory of the enti
Since Maven 3.3.1, you can use ${maven.multiModuleProjectDirectory} for this purpose. (thanks to https://stackoverflow.com/a/48879554/302789)
${maven.multiModuleProjectDirectory}
edit: this seems to only work properly when you have a .mvn folder at the root of your project.
.mvn