Sorry to keep spamming this topic, it seems like its not correctly
installing the dependency to my local repo, after successfully running
the ant maven-install-jars I only get this in my repo:
C:\Users\ian.warwick\.m2\repository\com\google\android\maps\maps
\10_r1\
_maven.repositories
maps-10_r1.jar.lastUpdated
maps-10_r1.pom
but no jar :(
maven complains as follows:
$ mvn install
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Robolectric 1.0-RC2-SNAPSHOT
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/com/google/android/maps/maps/10_r1/ma
ps-10_r1.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.633s
[INFO] Finished at: Wed Jul 06 15:55:04 BST 2011
[INFO] Final Memory: 3M/15M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project robolectric: Could not
resolve depende
ncies for project com.pivotallabs:robolectric:jar:1.0-RC2-SNAPSHOT:
Could not fi
nd artifact com.google.android.maps:maps:jar:10_r1 in central (http://
repo1.mave
n.org/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException