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:

org.apache.maven.plugins maven-dependency-plugin copy-dependencies package copy-dependencies ${}/alternateLocation false false true

From command prompt run : mvn dependency:copy-dependencies

You will now have a target folder with all your jars!


Popular posts from this blog

XPATH for IE / internet explorer

RPA - Blue Prism, OpenSpan, Automation Anywhere vs UIPath