{"action":"opened","issue":{"url":"https://api.github.com/repos/johnynek/bazel-deps/issues/124","repository_url":"https://api.github.com/repos/johnynek/bazel-deps","labels_url":"https://api.github.com/repos/johnynek/bazel-deps/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/johnynek/bazel-deps/issues/124/comments","events_url":"https://api.github.com/repos/johnynek/bazel-deps/issues/124/events","html_url":"https://github.com/johnynek/bazel-deps/issues/124","id":300042781,"number":124,"title":"Cannot use artifacts from Google Maven","user":{"login":"vmax","id":499267,"avatar_url":"https://avatars1.githubusercontent.com/u/499267?v=4","gravatar_id":"","url":"https://api.github.com/users/vmax","html_url":"https://github.com/vmax","followers_url":"https://api.github.com/users/vmax/followers","following_url":"https://api.github.com/users/vmax/following{/other_user}","gists_url":"https://api.github.com/users/vmax/gists{/gist_id}","starred_url":"https://api.github.com/users/vmax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmax/subscriptions","organizations_url":"https://api.github.com/users/vmax/orgs","repos_url":"https://api.github.com/users/vmax/repos","events_url":"https://api.github.com/users/vmax/events{/privacy}","received_events_url":"https://api.github.com/users/vmax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-25T17:10:27Z","updated_at":"2018-02-25T17:10:27Z","closed_at":null,"author_association":"NONE","body":"Attempting to include Android Support library (or, rather, any library from Google Maven) fails.\r\nReproducible example:\r\n\r\n`dependencies.yaml`:\r\n```\r\noptions:\r\n  languages: [ \"java\" ]\r\n  resolvers: \r\n    - id: \"google\"\r\n      url: https://dl.google.com/dl/android/maven2/\r\n  transitivity: runtime_deps\r\n  versionConflictPolicy: highest\r\n\r\ndependencies:\r\n  com.android.support:\r\n    design:\r\n      lang: java\r\n      version: \"27.0.2\"\r\n```\r\n\r\nCauses exception:\r\n```\r\nINFO: Analysed target //:parse (0 packages loaded).\r\nINFO: Found 1 target...\r\nTarget //src/scala/com/github/johnynek/bazel_deps:parseproject up-to-date:\r\n  bazel-bin/src/scala/com/github/johnynek/bazel_deps/parseproject\r\nINFO: Elapsed time: 0.154s, Critical Path: 0.01s\r\nINFO: Build completed successfully, 1 total action\r\n\r\nINFO: Running command line: bazel-bin/src/scala/com/github/johnynek/bazel_deps/parseproject generate -r /Users/vmax/tmp/ -s 3rdparty/workspace.bzl -d dependencies.yaml\r\nSLF4J: Failed to load class \"org.slf4j.impl.StaticLoggerBinder\".\r\nSLF4J: Defaulting to no-operation (NOP) logger implementation\r\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\r\nfailed to find sha of android.arch.core:common:1.0.0: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: android.arch.lifecycle:runtime:jar:1.0.3, com.android.support:support-fragment:jar:27.0.2, com.android.support:design:jar:27.0.2, com.android.support:transition:jar:27.0.2, com.android.support:support-core-utils:jar:27.0.2, com.android.support:support-v4:jar:27.0.2, com.android.support:support-compat:jar:27.0.2, com.android.support:support-media-compat:jar:27.0.2, com.android.support:appcompat-v7:jar:27.0.2, com.android.support:animated-vector-drawable:jar:27.0.2, com.android.support:support-core-ui:jar:27.0.2, com.android.support:recyclerview-v7:jar:27.0.2, com.android.support:support-vector-drawable:jar:27.0.2: Could not find artifact android.arch.lifecycle:runtime:jar:1.0.3 in google (https://dl.google.com/dl/android/maven2/)\r\nException in thread \"main\" org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: android.arch.lifecycle:runtime:jar:1.0.3, com.android.support:support-fragment:jar:27.0.2, com.android.support:design:jar:27.0.2, com.android.support:transition:jar:27.0.2, com.android.support:support-core-utils:jar:27.0.2, com.android.support:support-v4:jar:27.0.2, com.android.support:support-compat:jar:27.0.2, com.android.support:support-media-compat:jar:27.0.2, com.android.support:appcompat-v7:jar:27.0.2, com.android.support:animated-vector-drawable:jar:27.0.2, com.android.support:support-core-ui:jar:27.0.2, com.android.support:recyclerview-v7:jar:27.0.2, com.android.support:support-vector-drawable:jar:27.0.2: Could not find artifact android.arch.lifecycle:runtime:jar:1.0.3 in google (https://dl.google.com/dl/android/maven2/)\r\n\tat org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)\r\n\tat org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)\r\n\tat org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifacts(DefaultRepositorySystem.java:302)\r\n\tat com.github.johnynek.bazel_deps.Resolver$$anonfun$getExt$1$1.apply(Resolver.scala:94)\r\n\tat com.github.johnynek.bazel_deps.Resolver$$anonfun$getExt$1$1.apply(Resolver.scala:92)\r\n\tat scala.util.Try$.apply(Try.scala:192)\r\n\tat com.github.johnynek.bazel_deps.Resolver.getExt$1(Resolver.scala:92)\r\n\tat com.github.johnynek.bazel_deps.Resolver.getShas(Resolver.scala:106)\r\n\tat com.github.johnynek.bazel_deps.MakeDeps$.apply(MakeDeps.scala:88)\r\n\tat com.github.johnynek.bazel_deps.ParseProject$.main(ParseProject.scala:11)\r\n\tat com.github.johnynek.bazel_deps.ParseProject.main(ParseProject.scala)\r\nCaused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact android.arch.lifecycle:runtime:jar:1.0.3 in google (https://dl.google.com/dl/android/maven2/)\r\n\tat org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)\r\n\tat org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)\r\n\tat org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\nERROR: Non-zero return code '1' from command: Process exited with status 1\r\n```"}}
{"actor":{"display_login":"vmax"}}