As a Maven repository, Artifactory is both a source for artifacts needed for a build, and a target to deploy artifacts generated in the build process. Maven is configured using a settings.xml
file located under your Maven home directory (typically, this will be /user.home/.m2/settings.xml
). For more information on configuring Maven, please refer to the Apache Maven Project Settings Reference.
The default values in this file configure Maven to work with a default set of repositories used to resolve artifacts and a default set of plugins.
To work with Artifactory you need to configure Maven to perform the following steps:
Once your Maven build is configured, Artifactory provides tight integration with commonly used CI servers (such as Jenkins, TeamCity or Bamboo) through a set of plugins that you can install and use freely.
Read More:
JFrog Artifactory and Maven Repositories
How to set up a Private, Remote and Virtual Maven/Gradle Registry