有沒有辦法告訴maven(在執行 mvn package , mvn site 或...時)不解析本地存儲庫中的依賴項?
Background of this question: Sometimes I get into problems, when previously cached dependencies (e.g. SomeProject-0.7-ALPHA) are no longer available in the remote repository. In my local build everything still works fine as the dependency has been cached before. As soon as I share my pom with others, they may get into trouble, as they dont have a cached version of that dependency and the dependency can no longer be resolved from the remote repository.
任何幫助將不勝感激。提前致謝!