How to prevent maven to resolve dependencies in local repository
Posted
by Nils Schmidt
on Stack Overflow
See other posts from Stack Overflow
or by Nils Schmidt
Published on 2010-05-05T11:04:10Z
Indexed on
2010/05/05
11:08 UTC
Read the original article
Hit count: 219
maven-2
Is there a way to tell maven (when doing mvn package, mvn site or ...) not to resolve the dependencies from the local repository?
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.
Any help will be appreciated. Thanks in advance!
© Stack Overflow or respective owner