I see maven-dependency-plugin does this; however, it seems to copy everything (including test jars) to the destination directory. Anyone know how to configure this plugin to exclude test jars?
I see maven-dependency-plugin does this; however, it seems to copy everything (including test jars)
Share
It is not clear if you wanted to exclude jars with
testscope or test related jars (testclassifier). In either case, there are two properties of dependency:copy-dependencies which can help you.