簡體   English   中英

Maven存儲庫問題

[英]issue with maven repository

我只想知道在將依賴項添加到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 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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM