sinarf
sinarf

Reputation: 120

ERROR: Could not find local repository for 2.X.X

I have some error message on some my Jenkins builds

ERROR: Could not find local repository for 2.0.8
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Mon Jun 17 09:16:50 CEST 2013
[INFO] Final Memory: 29M/281M
[INFO] ------------------------------------------------------------------------

I search for the error message but Google cannot find any item for the following search: maven "Could not find local repository for"

Without the quotes there is a lot of answer but I could not find a relevant one. The log appears only on 2.x builds, maven 3.x seems immune to this. I suspect that the source of the error is that I'm using several versions of maven on the same environment (the version are : 2.0.8, 2.2.1, 3.0.4).

There's no answer probably because nothing seems broken: the artifact is correctly installed in the local maven repository. But, in my humble opinion, a log with a ERROR level must be fixed.

Edit: the issue remains in Jenkins version 1.560.

Upvotes: 3

Views: 1866

Answers (1)

Caolan
Caolan

Reputation: 148

Check bug #18441. It was supposedly fixed in Jenkins 1.509.4 (2013/10/09) release.

http://jenkins-ci.org/changelog-stable

I say supposedly because we're still encountering it.

Upvotes: 1

Related Questions