Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure DevOps Services | Azure DevOps Server 2022 | Azure DevOps Server 2020
Azure Artifacts provides a centralized way to host and manage your packages in a single feed. This article guides you through connecting to an Azure Artifacts feed and publishing your Maven packages.
Prerequisites
Product | Requirements |
---|---|
Azure DevOps | - An Azure DevOps organization. - An Azure DevOps project. - Download and Install Maven. |
Create a feed
If you already have a feed, you can skip this section. Otherwise, follow the steps below to create a new feed:
Sign in to your Azure DevOps organization, and navigate to your project.
Select Artifacts, and then select Create Feed.
Enter a Name for your feed, choose its Visibility, then select its Scope. To include packages from public registries, select the Upstream sources checkbox.
Select Create when you're done.
Publish packages
If you haven’t already authenticated with your feed, follow the steps in Project setup to connect to your feed.
Run the following command in your project directory to publish your package:
mvn deploy
Once published, navigate to your feed. You should see your packages listed, as shown in the example below: