Thursday, 6 September 2012
Force maven 3.x dependency resolution to local repository jars - just as a temporary measure.
Tore hair out for an hour...
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR] The project org.foo.repositories:xyz-customer-inventory-repository-parent:18.104.22.168.3-SNAPSHOT (C:\Users\bazbaz\workspaces\abc\xyz-customer-inventory
-repository-parent\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.foo.common:foo-common-parent:pom:2.0.7 in http://repo.maven.apache.org/maven2 was cached in the l
ocal repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at w
rong local POM @ line 2, column 10 -> [Help 2]
Just delete all the _maven.repositories files from your local repository and the problems goes away!