Conmi的正确答案——Maven项目的pom.xml配置阿里云

Conmi的正确答案——Maven项目的pom.xml配置阿里云_第1张图片

    <repositories>
        <repository>
            <id>publicid>
            <name>Aliyun Public Repositoryname>
            <url>https://maven.aliyun.com/repository/publicurl>
            <releases>
                <enabled>trueenabled>
            releases>
            <snapshots>
                <enabled>falseenabled>
            snapshots>
        repository>
        <repository>
            <id>springid>
            <name>Aliyun Spring Repositoryname>
            <url>https://maven.aliyun.com/repository/springurl>
            <releases>
                <enabled>trueenabled>
            releases>
            <snapshots>
                <enabled>falseenabled>
            snapshots>
        repository>
        <repository>
            <id>mavenid>
            <name>Maven Central Repositoryname>
            <url>https://repo.maven.apache.org/maven2url>
            <releases>
                <enabled>trueenabled>
            releases>
            <snapshots>
                <enabled>falseenabled>
            snapshots>
        repository>
        <repository>
            <id>sonatypeid>
            <name>Sonatype Repositoryname>
            <url>https://s01.oss.sonatype.org/content/groups/publicurl>
            <releases>
                <enabled>trueenabled>
            releases>
            <snapshots>
                <enabled>trueenabled>
                <updatePolicy>alwaysupdatePolicy>
            snapshots>
        repository>
    repositories>

你可能感兴趣的:(maven,xml,阿里云)