Reputation: 49
I have this artifact https://mvnrepository.com/artifact/com.android.tools.build/gradle/3.4.0-alpha07 and its all dependencies in my local repository (.m2/repository). Now how to copy this artifact with its all dependencies to specific folder?
dependency:copy-dependencies just copied jar files. i want to copy an artifact with its all dependencies like the structure of a local repository folder.
Any idea how to do this?
Upvotes: 0
Views: 661
Reputation: 35795
I would create a dummy project which has the named dependency as only dependency. Then you can do mvn dependency:copy-dependencies
to copy all (transitive) dependencies to a specific folder.
Upvotes: 1