1

我在http://repository.jboss.org上的所有 maven 依赖项上都遇到了禁止错误。有谁知道,原因是什么以及如何解决这些警告。

[WARNING] Could not transfer metadata org.springframework:spring-aop:3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml from/to jboss-public-repo (http://repository.jboss.org/maven2/): Access denied to: http://repository.jboss.org/maven2/org/springframework/spring-aop/3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading: http://repository.jboss.org/maven2/org/springframework/spring-context/3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml

存储库部分:

<repositories>
        <repository>
            <id>spring-maven-release</id>
            <name>Spring Maven Release Repository</name>
            <url>http://maven.springframework.org/release</url>
        </repository>
        <repository>
            <id>spring-maven-snapshot</id>
            <name>Spring Maven Snapshot Repository</name>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <url>http://maven.springframework.org/snapshot</url>
        </repository>
        <repository>
            <id>spring-maven-milestone</id>
            <name>Spring Maven Milestone Repository</name>
            <url>http://maven.springframework.org/milestone</url>
        </repository>
        <repository>
            <id>jboss-public-repo</id>
            <url>http://repository.jboss.org/maven2/</url>
            <name>JBoss public available repo</name>
        </repository>
        <repository>
            <id>sonatype-snapshots</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        </repository>
    </repositories>
4

0 回答 0