To make it easy for you to configure Maven to work with Artifactory, Artifactory can automatically generate a
settings.xmlfile which you can save under your Maven home directory.
The definitions in the generated
settings.xml file override the default central and snapshot repositories of Maven.
The Automatically Generating Settings will only allow to you to configure Virtual Maven repositories. While this is a best practice and the recommended method, you may change any repository by manually editing the
Once you have created your Maven repository, go to Application | Artifactory | Artifacts, select your Maven repository and click Set Me Up.
In the Set Me Up dialog, click Generate Maven Settings.
You can now specify the repositories you want to configure for Maven.
The repository from which to resolve releases
The repository from which to resolve snapshots
The repository from which to resolve plugin releases
The repository from which to resolve plugin snapshots
When set, you can select a repository that should mirror any other repository. For more details please refer to Additional Mirror Any Setup
Once you have configured the settings for Maven, click Generate Settings to generate and save the