我只想知道maven是否会在我们将依赖项添加到pom.xml并保存它时自动触发?
因为我刚刚在现有的pom.xml中添加了一个新的依赖项,所以出现了下面的错误
ArtifactDescriptorException: Failed to read artifact descriptor for org.springframework:spring-oxm:jar:3.0.5.RELEASE: ArtifactResolutionException: Could not transfer artifact org.springframework:spring-oxm:pom:3.0.5.RELEASE from/to nexus (http://vdidev-v1102-p:8081/nexus/content/groups/GroupMoodysFlexApps/): connection timed out to http://vdidev-v1102-p:8081/nexus/content/groups/GroupMoodysFlexApps/org/springframework/spring-oxm/3.0.5.RELEASE/spring-oxm-3.0.5.RELEASE.pom发布于 2014-02-03 09:18:33
是的,当您添加依赖项并调用maven编译阶段时,如果在本地缓存中找不到依赖项,则必须下载所有依赖项。如果您正在使用某些集成开发环境(eclipse或其他),则通常会在您保存pom.xml时触发编译
这里的问题是,它不能到达这个url。
connection timed out to http://vdidev-v1102-p:8081/nexus/content/groups/GroupMoodysFlexApps/org/springframework/spring-oxm/3.0.5.RELEASE/spring-oxm-3.0.5.RELEASE.pomhttps://stackoverflow.com/questions/21518401
复制相似问题