To download Maven dependencies from Artifactory, you must configure your Maven settings.xml file to point to your Artifactory instance instead of the default Maven Central. This setup allows Artifactory to serve as a central proxy and caching layer for all project libraries. 1. Configure the settings.xml File
The most common way to link Maven and Artifactory is by modifying the settings.xml file located in your user's home directory (usually ~/.m2/settings.xml ). maven download dependency from artifactory