Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE Missing org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE
Eclipse 建立專案時使用自訂 Maven 倉庫(如 Nexus),但 Nexus 服務未啟動。Maven 嘗試下載原型失敗後,將失敗記錄於本地倉庫的 .lastUpdated 檔案,後續即使 Nexus 啟動,Maven 在更新間隔內不會重試。
.lastUpdated 檔)。was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
同樣是首次下載失敗留下快照,Maven 拒絕在更新間隔內重試。
$NEXUS_WORK/storage/central。.lastUpdated、.error 等標記檔。mvn clean install -U 強制更新。settings.xml 中配置 <updatePolicy>always</updatePolicy> 針對快照倉庫。mvn dependency:purge-local-repository 定期清理無效快取。