20250417
This commit is contained in:
33
maven-aliyun-mirror.code-snippets
Normal file
33
maven-aliyun-mirror.code-snippets
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"Print to console": {
|
||||
"scope": "xml",
|
||||
"prefix": "aliyun-mirror",
|
||||
"body": [
|
||||
"<repositories>",
|
||||
"\t<repository>",
|
||||
"\t\t<id>aliyun</id>",
|
||||
"\t\t<url>https://maven.aliyun.com/repository/public</url>",
|
||||
"\t\t<releases>",
|
||||
"\t\t\t<enabled>true</enabled>",
|
||||
"\t\t</releases>",
|
||||
"\t\t<snapshots>",
|
||||
"\t\t\t<enabled>false</enabled>",
|
||||
"\t\t</snapshots>",
|
||||
"\t</repository>",
|
||||
"</repositories>",
|
||||
"<pluginRepositories>",
|
||||
"\t<pluginRepository>",
|
||||
"\t\t<id>aliyun-plugin</id>",
|
||||
"\t\t<url>https://maven.aliyun.com/repository/public</url>",
|
||||
"\t\t<releases>",
|
||||
"\t\t\t<enabled>true</enabled>",
|
||||
"\t\t</releases>",
|
||||
"\t\t<snapshots>",
|
||||
"\t\t\t<enabled>false</enabled>",
|
||||
"\t\t</snapshots>",
|
||||
"\t</pluginRepository>",
|
||||
"</pluginRepositories>",
|
||||
],
|
||||
"description": "pom.xml 中配置阿里云镜像"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user