{"action":"opened","issue":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/2321","repository_url":"https://api.github.com/repos/robolectric/robolectric","labels_url":"https://api.github.com/repos/robolectric/robolectric/issues/2321/labels{/name}","comments_url":"https://api.github.com/repos/robolectric/robolectric/issues/2321/comments","events_url":"https://api.github.com/repos/robolectric/robolectric/issues/2321/events","html_url":"https://github.com/robolectric/robolectric/issues/2321","id":137431150,"number":2321,"title":"MultipleArtifactsNotFoundException depending on 3.1-SNAPSHOT using Gradle","user":{"login":"sjudd","id":1627211,"avatar_url":"https://avatars.githubusercontent.com/u/1627211?v=3","gravatar_id":"","url":"https://api.github.com/users/sjudd","html_url":"https://github.com/sjudd","followers_url":"https://api.github.com/users/sjudd/followers","following_url":"https://api.github.com/users/sjudd/following{/other_user}","gists_url":"https://api.github.com/users/sjudd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjudd/subscriptions","organizations_url":"https://api.github.com/users/sjudd/orgs","repos_url":"https://api.github.com/users/sjudd/repos","events_url":"https://api.github.com/users/sjudd/events{/privacy}","received_events_url":"https://api.github.com/users/sjudd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-01T01:09:26Z","updated_at":"2016-03-01T01:09:26Z","closed_at":null,"body":"You can reproduce by\r\n\r\n1. ``git clone https://github.com/bumptech/glide.git``\r\n2. Update the [Robolectric version][1] to ``3.1-SNAPSHOT``\r\n3. ./gradlew build\r\n\r\nThe primary error appears to be:\r\n\r\n```\r\nUnable to resolve artifact: Missing:\r\n----------\r\n1) org.robolectric:robolectric-resources:jar:3.1-SNAPSHOT\r\n\r\n  Try downloading the file manually from the project website.\r\n\r\n  Then, install it using the command: \r\n      mvn install:install-file -DgroupId=org.robolectric -DartifactId=robolectric-resources -Dversion=3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file\r\n\r\n  Alternatively, if you host your own repository you can deploy the file there: \r\n      mvn deploy:deploy-file -DgroupId=org.robolectric -DartifactId=robolectric-resources -Dversion=3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]\r\n\r\n  Path to dependency: \r\n  \t1) org.apache.maven:super-pom:pom:2.0\r\n  \t2) org.robolectric:shadows-core:jar:18:3.1-SNAPSHOT\r\n  \t3) org.robolectric:robolectric-resources:jar:3.1-SNAPSHOT\r\n\r\n----------\r\n1 required artifact is missing.\r\n\r\nfor artifact: \r\n  org.apache.maven:super-pom:pom:2.0\r\n\r\nfrom the specified remote repositories:\r\n  sonatype (https://oss.sonatype.org/content/groups/public/),\r\n  central (http://repo1.maven.org/maven2)\r\n\r\n\r\n\tat org.apache.maven.artifact.ant.DependenciesTask.doExecuteResolution(DependenciesTask.java:268)\r\n\tat org.apache.maven.artifact.ant.DependenciesTask.doExecute(DependenciesTask.java:168)\r\n\tat org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:751)\r\n\tat org.robolectric.internal.dependency.MavenDependencyResolver.getLocalArtifactUrls(MavenDependencyResolver.java:52)\r\n\tat org.robolectric.internal.dependency.CachedDependencyResolver.getLocalArtifactUrls(CachedDependencyResolver.java:43)\r\n\tat org.robolectric.internal.InstrumentingClassLoaderFactory.getSdkEnvironment(InstrumentingClassLoaderFactory.java:42)\r\n\tat org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:187)\r\n\tat org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n\tat org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:154)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)\r\n\tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)\r\n\tat org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)\r\n\tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)\r\n\tat org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:\r\n----------\r\n1) org.robolectric:robolectric-resources:jar:3.1-SNAPSHOT\r\n\r\n  Try downloading the file manually from the project website.\r\n\r\n  Then, install it using the command: \r\n      mvn install:install-file -DgroupId=org.robolectric -DartifactId=robolectric-resources -Dversion=3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file\r\n\r\n  Alternatively, if you host your own repository you can deploy the file there: \r\n      mvn deploy:deploy-file -DgroupId=org.robolectric -DartifactId=robolectric-resources -Dversion=3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]\r\n\r\n  Path to dependency: \r\n  \t1) org.apache.maven:super-pom:pom:2.0\r\n  \t2) org.robolectric:shadows-core:jar:18:3.1-SNAPSHOT\r\n  \t3) org.robolectric:robolectric-resources:jar:3.1-SNAPSHOT\r\n```\r\n\r\n[1]: https://github.com/bumptech/glide/blob/master/gradle.properties#L30"}}