With maven, I occasionally hit an artifact that comes from some 3rd-party repo that I haven\'t built or included in my repository yet.
I\'ll get an error message fr
While you can resolve this with a clean install (overriding any cached dependencies) as @Sanjeev-Gulgani suggests with mvn -U clean install
You can also simply remove the cached dependency that is causing the problem with
mvn dependency:purge-local-repository -DmanualInclude="groupId:artifactId"
See mvn docs for more info.