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
What basically happens is,According to default updatePolicy of maven.Maven will fetch the jars from repo on daily basis.So if during 1st attempt your internet was not working then it would not try to fetch this jar again untill 24hours spent.
Resolution :
Either use
mvn -U clean install
where -U will force update the repo
or use
...
myRepo
My Repository
false
always
warn
...
in your settings.xml