Error building Robolectric with GMS 7.8.0

22 views
Skip to first unread message

Christine

unread,
Sep 19, 2015, 10:03:20 AM9/19/15
to Robolectric
I want to build Robolectric with version 7.8.0 (or 7.5.0) of Google Play Services. I updated the version number in two pom files, now when I run "install-dependencies.sh" I get

Installing com.google.androidgms:play-services from /opt/sdk//extras/google/m2repository/com/google/android/gms/play-services/7.8.0/play-services-7.8.0.aar
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
[ERROR] The specified file '/tmp/robolectric-dependencies.DTptYu/classes.jar' not exists
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install-file (default-cli) on project robolectric-parent: The specified file '/tmp/robolectric-dependencies.DTptYu/classes.jar' not exists -> [Help 1]
org
.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install-file (default-cli) on project robolectric-parent: The specified file '/tmp/robolectric-dependencies.DTptYu/classes.jar' not exists
    at org
.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
    at org
.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org
.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org
.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org
.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org
.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org
.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org
.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org
.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org
.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org
.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org
.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun
.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java
.lang.reflect.Method.invoke(Method.java:497)
    at org
.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org
.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org
.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org
.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: The specified file '/tmp/robolectric-dependencies.DTptYu/classes.jar' not exists
    at org
.apache.maven.plugin.install.InstallFileMojo.execute(InstallFileMojo.java:179)
    at org
.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at org
.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
   
... 19 more
[ERROR]
[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/MojoFailureException






What am I doing wrong?


Reply all
Reply to author
Forward
Message has been deleted
0 new messages