Set up the Maven client
Azure DevOps Services | TFS 2018
To talk to Azure Artifacts feeds, you'll need a token on your local machine that Maven can pick up and pass to Azure DevOps Services.
From the Azure Artifacts page, select Connect to Feed.

From the Packages page, select Connect to Feed.

Open the Maven tab under the maven header.
Maven pulls credentials from your settings.xml file.
On Linux, the file path is usually
"${user.home}/.m2/settings.xml".On macOS, the file path is usually
"~/.m2/settings.xml".On Windows, the file path is usually
"%USERPROFILE%/.m2/settings.xml".If the file doesn't exist, create one now.
Tip
To make sure you create and save your new XML file in the correct format, set File Explorer to show file name extensions:
- In File Explorer, select the View tab.
- Under Show/hide, select the File name extensions check box to see your files extensions in File Explorer.
If you haven't installed Maven on your machine, you can select Get the tools to download and install it.
Follow the Project setup section including generating a personal access token.

You can find more information about the settings.xml file in the settings.xml reference.