You need to enable JavaScript to run this app.
Container Registry

Container Registry

Copy page
Download PDF
Downloading packages
Downloading packages (command line)
Copy page
Download PDF
Downloading packages (command line)
Downloading packages is one of the fundamental functions of an artifact repository, enabling you to download packages from the artifact repository to your local environment. This section explains how to download packages from the artifact repository to your local environment.​
Prerequisites​
  • Have registered a Volcano Engine root user and activated the artifact repository Service.​
  • A repository instance has been created. For details, refer to Creating basic edition instances.​
  • An artifact repository has been created. For details, please refer to Creating Maven repositories.​
  • The target package already exists in the artifact repository.​
Procedure​
  1. Copy and add the following configuration to the settings.xml file.​
warning​
The top-level tag <settings> in the settings.xml file can only appear once. Therefore, if your settings.xml file already contains configurations, please copy only the content within the <profiles> </profiles> tags as shown below.​
​
<settings>​
<profiles>​
<profile>​
<id>REPOSITORY_ID</id>​
<activation>​
<activeByDefault>true</activeByDefault>​
</activation>​
<repositories>​
<repository>​
<id>REPOSITORY_ID</id>​
<name>REPOSTITORY_NAME</name>​
<url>REPOSITORY_URL</url>​
<releases>​
<enabled>true</enabled>​
</releases>​
<snapshots>​
<enabled>true</enabled>​
</snapshots>​
</repository>​
</repositories>​
</profile>​
</profiles>​
</settings>​
​
​
Parameter​
Description​
REPOSITORY_ID​
Configure the name of the artifact repository instance, e.g., Free-Share.​
REPOSTITORY_NAME​
Configure the name of the artifact repository. For example, releases, snapshot, or a custom artifact repository name you define.​
REPOSITORY_URL​
Configure the access URL address of the artifact repository. This can be obtained from the artifact repository details. For details, please refer to Managing Repository.​
​
  1. Copy and add the following configuration to the pom.xml file.​
warning​
The top-level tag <project> in the settings.xml file can only appear once. Therefore, if your pom.xml file already contains configurations, please copy only the content within the <dependencies> </dependencies> tags as shown below.​
​
<project>​
<dependencies>​
<dependency>​
<groupId>GROUP_ID</groupId>​
<artifactId>ARTIFACT_ID</artifactId>​
<version>VERSION</version>​
</dependency>​
</dependencies>​
</project>​
​
​
Parameter​
Description​
GROUP_ID​
The name of the project where the package is located.​
ARTIFACT_ID​
The name of the package.​
VERSION​
The version of the package.​
​
  1. Execute the following command to package and download packages.​
​
mvn package​
​
​
Last updated: 2025.10.24 11:20:39