How extract all the jars needed for a maven project to a folder?

jar, maven

Solution

You can use dependency:copy-dependencies goal of maven dependency plugin to achieve this.

In fact, just run `mvn dependency:dependencies` on your maven project and you should find a `dependencies` subfolder created under `target` folder and populated with all the dependencies including transitive ones.

Problem

I’m trying to de-mavenize a project. Is there a way to extract all the jars needed for this maven project to a folder? (I’m very newbie with maven, so please; instructions provided should be in dummy mode) Thanks! ;-)

Original source