Download binaries like pom, jar and dependencies from an artifactory and save it in a local directory | Migrate dependencies from one repository to another | Using maven , pom.xml
Structure of pom.xml
https://github.com/shankhadeepk/dependencydownloader/blob/main/pom.xml
Then go the location where the project is and run command
mvn clean install
A folder will be created at the location ([project]/target/[location as shown below]) which is given by following properties in the pom.xml
<outputDirectory>${project.build.directory}/lib</outputDirectory>
Comments