Novice Q: Why Does My App Look in the Wrong Repository?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Novice Q: Why Does My App Look in the Wrong Repository?

insom
I set up a Maven environment as outlined here: http://docs.codehaus.org/display/MAVENUSER/Creating+the+repositories

My problem is that mvn is trying to find dependencies in the repositories I created instead of in the central Maven repository. When I run "mvn package" on my app, I get this:

Downloading: http://wicketstuff.org/maven/repository/org/apache/wicket/wicket-ex
tensions/1.3.6/wicket-extensions-1.3.6.pom
Downloading: http://{MY_REPO_SERVER}/maven2_repositories/inhouse/org
/apache/wicket/wicket-extensions/1.3.6/wicket-extensions-1.3.6.pom
516b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '688870b891
b8c1ecaafc4d50cd95a9ccb0e53921'; remote = '<!DOCTYPE' - RETRYING

Why is Maven looking for wicket-extensions-1.3.6.pom inside my server? Should it have found it over at http://wicketstuff.org/maven/repository/org/apache/wicket/wicket-ex
tensions, which is where it lives?