Je suis en train de construire Droid-Fu comme indiqué sur la page GitHub, mais la construction échoue. Voici le message que je suis arrivé après l'exécution mvn package dans le dossier Droid-FuDroid-Fu construire erreur
[INFO] artifact junit:junit: checking for updates from central
Downloading: http://powermock.googlecode.com/svn/repo//com/google/android/maps/maps/9_r1/maps-9_r1.jar
[INFO] Unable to find resource 'com.google.android.maps:maps:jar:9_r1' in repository powermock-repo (http://powermock.googlecode.com/svn/repo/)
Downloading: http://repo1.maven.org/maven2/com/google/android/maps/maps/9_r1/maps-9_r1.jar
[INFO] Unable to find resource 'com.google.android.maps:maps:jar:9_r1' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) com.google.android.maps:maps:jar:9_r1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.google.android.maps -DartifactId=maps -Dversion=9_r1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.google.android.maps -DartifactId=maps -Dversion=9_r1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.github.droidfu:droid-fu:jar:1.0-SNAPSHOT
2) com.google.android.maps:maps:jar:9_r1
----------
1 required artifact is missing.
for artifact:
com.github.droidfu:droid-fu:jar:1.0-SNAPSHOT
Toute idée de ce que je peux faire mal?
ne fonctionne pas. Installé toutes les API. Je pense que maven est à la recherche du fichier sur le site du projet. – Abhinav
Je ne trouve pas ces pots sur le repo. avez-vous essayé de suivre les instructions ci-dessus pour installer manuellement ces pots localement? – dongshengcn
Impossible de trouver les pots n'importe où. Une idée où je devrais regarder? – Abhinav