Command to download the dependencies jar files into a folder,
Syntax is below
The above command show how the pom.xml dependency is translated to the command
This copies the spring-core-4.1.5.RELEASE.jar file to D:\libs
Syntax is below
mvn dependency:get -Dartifact=groupId:artifactId:version -Ddest=path_to_folder <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> </dependency> mvn dependency:get -Dartifact=commons-logging:commons-logging:1.1.1 -Ddest=D:\libs\mavanspring
The above command show how the pom.xml dependency is translated to the command
This copies the spring-core-4.1.5.RELEASE.jar file to D:\libs
No comments:
Post a Comment