Я пытаюсь установить файл в мой локальный репозиторий Maven (следуя шагам https://gist.github.com/4211293), хотя, я всегда получая следующее сообщение об ошибке:
PS C:\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib> mvn install:install-file -DgroupId=com.google.android.gms -DartifactId=google-play-services-jar -Dversion=4 -Dpackaging=jar -Dfile=.\libs\google-play-services.jar
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building google-play-services 4
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ google-play-services ---
[INFO] Installing C:\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib to C:\Users\Juliano\.m2\repository\com\google-play-services-jar\4\google-play-services-jar-4.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping google-play-services
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.534s
[INFO] Finished at: Mon Dec 24 00:05:04 BRST 2012
[INFO] Final Memory: 6M/89M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install-file (default-cli) on project google-play-services: Error installing artifact 'com:google-play-services-jar:jar': Failed to install artifact com:google-play-services-jar:jar:4: C:\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib
(Access is denied) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Я не уверен, что ошибка связана с тем, что google-play-services пропускается, если вы так считаете, пожалуйста, помогите разоблачить его.