{"action":"created","issue":{"url":"https://api.github.com/repos/paulp/sbt-extras/issues/245","repository_url":"https://api.github.com/repos/paulp/sbt-extras","labels_url":"https://api.github.com/repos/paulp/sbt-extras/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/paulp/sbt-extras/issues/245/comments","events_url":"https://api.github.com/repos/paulp/sbt-extras/issues/245/events","html_url":"https://github.com/paulp/sbt-extras/pull/245","id":465349688,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk1NDA4Mjgy","number":245,"title":"Add support for coursier-based sbt launcher (WIP)","user":{"login":"alexarchambault","id":7063723,"node_id":"MDQ6VXNlcjcwNjM3MjM=","avatar_url":"https://avatars0.githubusercontent.com/u/7063723?v=4","gravatar_id":"","url":"https://api.github.com/users/alexarchambault","html_url":"https://github.com/alexarchambault","followers_url":"https://api.github.com/users/alexarchambault/followers","following_url":"https://api.github.com/users/alexarchambault/following{/other_user}","gists_url":"https://api.github.com/users/alexarchambault/gists{/gist_id}","starred_url":"https://api.github.com/users/alexarchambault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexarchambault/subscriptions","organizations_url":"https://api.github.com/users/alexarchambault/orgs","repos_url":"https://api.github.com/users/alexarchambault/repos","events_url":"https://api.github.com/users/alexarchambault/events{/privacy}","received_events_url":"https://api.github.com/users/alexarchambault/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-07-08T16:21:28Z","updated_at":"2019-11-04T20:42:33Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/paulp/sbt-extras/pulls/245","html_url":"https://github.com/paulp/sbt-extras/pull/245","diff_url":"https://github.com/paulp/sbt-extras/pull/245.diff","patch_url":"https://github.com/paulp/sbt-extras/pull/245.patch"},"body":"Enabled if the environment variable SBTX_COURSIER is set to \"true\".\r\n\r\nI'll look into adding some tests if those changes seems ok to you, @dwijnand (and CI is fine)."},"comment":{"url":"https://api.github.com/repos/paulp/sbt-extras/issues/comments/549537843","html_url":"https://github.com/paulp/sbt-extras/pull/245#issuecomment-549537843","issue_url":"https://api.github.com/repos/paulp/sbt-extras/issues/245","id":549537843,"node_id":"MDEyOklzc3VlQ29tbWVudDU0OTUzNzg0Mw==","user":{"login":"sideeffffect","id":9019485,"node_id":"MDQ6VXNlcjkwMTk0ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/9019485?v=4","gravatar_id":"","url":"https://api.github.com/users/sideeffffect","html_url":"https://github.com/sideeffffect","followers_url":"https://api.github.com/users/sideeffffect/followers","following_url":"https://api.github.com/users/sideeffffect/following{/other_user}","gists_url":"https://api.github.com/users/sideeffffect/gists{/gist_id}","starred_url":"https://api.github.com/users/sideeffffect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sideeffffect/subscriptions","organizations_url":"https://api.github.com/users/sideeffffect/orgs","repos_url":"https://api.github.com/users/sideeffffect/repos","events_url":"https://api.github.com/users/sideeffffect/events{/privacy}","received_events_url":"https://api.github.com/users/sideeffffect/received_events","type":"User","site_admin":false},"created_at":"2019-11-04T20:42:33Z","updated_at":"2019-11-04T20:42:33Z","author_association":"NONE","body":"@dwijnand this doesn't work behind a caching proxy like Nexus or Artifactory, even with `-sbt-launch-repo` and tweaked\r\n```sh\r\nmake_coursier_url () {\r\n  local version=\"$1\"\r\n  echo \"https://company.com/artifactory/maven/io/get-coursier/sbt-launcher_2.12/$version/sbt-launcher_2.12-$version.jar\"\r\n}\r\n```\r\nfails with\r\n```\r\nException in thread \"main\" java.lang.NoClassDefFoundError: scala/MatchError\r\n\tat coursier.sbtlauncher.MainApp.main(MainApp.scala)\r\nCaused by: java.lang.ClassNotFoundException: scala.MatchError\r\n\tat java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)\r\n\tat java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)\r\n\tat java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)\r\n\t... 1 more\r\nProcess exited with code 1\r\n```"}}
{"actor":{"display_login":"sideeffffect"}}