Java maven存储库的问题
我只是想知道,一旦我们将依赖项添加到pom.xml并保存它,maven是否会自动触发 因为我刚刚在现有pom.xml中添加了一个新的依赖项,所以它给了我以下错误Java maven存储库的问题,java,maven,Java,Maven,我只是想知道,一旦我们将依赖项添加到pom.xml并保存它,maven是否会自动触发 因为我刚刚在现有pom.xml中添加了一个新的依赖项,所以它给了我以下错误 ArtifactDescriptorException: Failed to read artifact descriptor for org.springframework:spring-oxm:jar:3.0.5.RELEASE: ArtifactResolutionException: Could not transfer art
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
是的,当您添加依赖项并调用maven编译阶段时,如果在本地缓存中找不到依赖项,它必须下载所有依赖项,如果您使用的是某种IDE(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.pom
取决于您的IDE。命令行maven仅在要求时运行。