将Maven镜子应用于原型

时间:2016-07-01 08:21:33

标签: maven maven-archetype

在我的settings.xml中,我通过设置

将所有内容重定向到我自己的存储库
<mirrors>
    <mirror>
        <id>nexus</id>
        <mirrorOf>*</mirrorOf>
        <url>http://dox4453:8084/nexus/content/groups/public</url>
    </mirror>
</mirrors>

但是当我使用archetype:generate时,我会收到警告:

[WARNING] Error reading archetype catalog http://repo.maven.apache.org/maven2

这种镜像不适用于原型吗?或者有什么东西可以覆盖镜像设置吗?

0 个答案:

没有答案