Dependencies Maven can';t从archiva repo解决项目的依赖关系

Dependencies Maven can';t从archiva repo解决项目的依赖关系,dependencies,maven-3,archiva,Dependencies,Maven 3,Archiva,我们使用archiva和maven已经很长时间了。到目前为止一切正常。一个新的开发人员在我们公司开始工作,当他试图设置他的环境时,他会出现以下错误: 13:41:50 [ERROR] Failed to execute goal on project our_project-util: Could not resolve dependencies for project net.corpintra.our_project:our_project-util:jar:2012.1: Failed

我们使用archiva和maven已经很长时间了。到目前为止一切正常。一个新的开发人员在我们公司开始工作,当他试图设置他的环境时,他会出现以下错误:

13:41:50  [ERROR] Failed to execute goal on project our_project-util: Could not resolve dependencies for project net.corpintra.our_project:our_project-util:jar:2012.1: Failed to collect dependencies for [net.corpintra.our_project:our_project-mda:pom:2012.1 (runtime?), commons-beanutils:commons-beanutils:jar:1.8.3 (compile), org.jboss.logging:jboss-logging:jar:3.1.1.GA (compile), commons-lang:commons-lang:jar:2.6 (compile), com.jcraft:jsch:jar:0.1.38 (compile), org.quartz-scheduler:quartz:jar:2.1.0 (compile), aspectj:aspectjrt:jar:1.5.3 (compile), jboss:jboss-j2ee:jar:4.2.2.GA (provided), commons-net:commons-net:jar:1.4.1 (compile), org.apache.commons:commons-compress:jar:1.3 (compile), org.apache.commons:commons-exec:jar:1.1 (compile), org.codehaus.xfire:xfire-core:jar:1.2.6 (compile), org.codehaus.xfire:xfire-aegis:jar:1.2.6 (compile), org.apache.activemq:activemq-all:jar:5.5.0 (compile), org.apache.activemq:activemq-pool:jar:5.5.0 (compile), net.corpintra.client.util:rar:jar:1.1 (compile), org.bouncycastle:bcprov-jdk15on:jar:1.47 (compile), org.bouncycastle:bcpg-jdk15on:jar:1.47 (compile), com.lowagie:itext:jar:2.1.7 (compile), commons-io:commons-io:jar:2.0.1 (compile), log4j:log4j:jar:1.2.16 (compile)]: Failed to read artifact descriptor for org.andromda.profiles.uml2:andromda-profile:xml.zip:3.4-SNAPSHOT: Could not transfer artifact org.andromda:andromda:pom:3.4-20120529.073812-11 from/to archiva.default (http://svn.ssc-services.de/archiva/repository/internal/): Failed to transfer file: http://svn.ssc-services.de/archiva/repository/internal/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-20120529.073812-11.pom. Return code is: 500, ReasonPhrase:Unable to fetch artifact resource.. -> [Help 1]
13:41:50  [ERROR] 
13:41:50  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
13:41:50  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
13:41:50  [ERROR] 
13:41:50  [ERROR] For more information about the errors and possible solutions, please read the following articles:
13:41:50  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
13:41:50  [ERROR] 
13:41:50  [ERROR] After correcting the problems, you can resume the build with the command
13:41:50  [ERROR]   mvn <goals> -rf :our_project-util
13:41:50[ERROR]未能在项目上执行目标我们的\u项目-util:无法解析项目net.corpintra的依赖项。我们的\u项目:我们的\u项目-util:jar:2012.1:未能收集[net.corpintra]的依赖项。我们的\u项目:我们的\u项目-mda:pom:2012.1(运行时?),commons beanutils:commons beanutils:jar:1.8.3(编译),org.jboss.logging:jboss-logging:jar:3.1.1.GA(编译),commons-lang:commons-lang:jar:2.6(编译),com.jcraft:jsch:jar:0.1.38(编译),org.quartz-scheduler:quartz:jar:2.1.0(编译),aspectj:aspectjrt:jar:1.5.3(编译),jboss:jboss:jboss-j2ee:jar:4.2.2.GA(提供),commons-net:commons-commons-net:jar:1.4.1(编译),org.apache.commons:commons-compress:jar:1.3(编译),org.apache.commons:commons-exec:jar:1.1(编译),org.codehaus.xfire:xfire-core:jar:1.2.6(编译),org.apache.activemq:activemq-all:jar:5.5.0(编译),org.apache.activemq:activemq-pool:jar:5.5.0(编译),net.corpintra.client.util:rar:jar:1.1(编译),org.bouncycastle:bcprov-jdk15on:jar:1.47(编译),org.bouncycastle:bcpg-jdk15on:jar:1.47(编译),com.lowagie:itext:jar:2.1.7(编译),commons-io:commons-io:jar:2.0.1(编译),log4j:log4j:jar:1.2.16(编译)]:无法读取org.andromda.profiles.uml2:andromda profile:xml.zip:3.4-SNAPSHOT:无法将项目org.andromda:andromda:pom:3.4-20120529.073812-11从/传输到archiva.default(http://svn.ssc-services.de/archiva/repository/internal/):无法传输文件:http://svn.ssc-services.de/archiva/repository/internal/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-20120529.073812-11.pom. 返回代码为:500,原因短语:无法获取工件资源..->[帮助1]
13:41:50[错误]
13:41:50[ERROR]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。
13:41:50[错误]使用-X开关重新运行Maven以启用完整调试日志记录。
13:41:50[错误]
13:41:50[错误]有关错误和可能的解决方案的更多信息,请阅读以下文章:
13:41:50[错误][帮助1]http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
13:41:50[错误]
13:41:50[错误]更正问题后,可以使用命令恢复生成
13:41:50[错误]mvn-rf:our_project-util
我们使用archiva作为本地存储库。Archiva包含所有外部项目和我们的内部内容。如果新开发人员从我那里获得.m2回购协议,一切都很好。如果他删除了我的.m2回购协议,他会得到同样的错误。如果删除存储库,也会发生同样的情况

他的settings.xml如下所示:

<settings>
    <mirrors>
        <mirror>
            <id>archiva.default</id>
            <url>http://svn.our_company.com/archiva/repository/internal/</url>
            <mirrorOf>*</mirrorOf>
        </mirror>
    </mirrors>
    <profiles>
            [... some profile stuff ...]
    </profiles>
</settings>

默认值
http://svn.our_company.com/archiva/repository/internal/
*
[…一些个人资料…]

有人知道这个问题并能告诉我如何解决吗?

Hm。根据给定的错误消息

Return code is: 500, ReasonPhrase:Unable to fetch artifact resource.. -> [Help 1]
这意味着内部服务器错误您在访问存档时遇到问题…您是否尝试通过浏览器访问给定的工件?

工件“andromda-3.4-20120529.073812-11”在我们的存储库中不可用,因为此快照不存在。问题是,为什么maven想要这个快照版本而不是“andromda-3.4”?这个工件是可用的,并由所有其他开发人员使用。