Copy Maven dependencies to lib folder
Problem: How can I copy all maven dependencies to a target folder say lib
sometimes all you want is to copy all dependencies (jars) to a destination-folder. TheMaven Dependency Plug-In will kindly assist you to copy maven dependencies to a target folder.
Include the following plugin in your pom file:
From command prompt run : mvn dependency:copy-dependencies
You will now have a target folder with all your jars!