{"action":"closed","issue":{"url":"https://api.github.com/repos/coursier/coursier/issues/482","repository_url":"https://api.github.com/repos/coursier/coursier","labels_url":"https://api.github.com/repos/coursier/coursier/issues/482/labels{/name}","comments_url":"https://api.github.com/repos/coursier/coursier/issues/482/comments","events_url":"https://api.github.com/repos/coursier/coursier/issues/482/events","html_url":"https://github.com/coursier/coursier/issues/482","id":219207448,"node_id":"MDU6SXNzdWUyMTkyMDc0NDg=","number":482,"title":"ExclusionRule classifier is not honoured","user":{"login":"caoilte","id":1500358,"node_id":"MDQ6VXNlcjE1MDAzNTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1500358?v=4","gravatar_id":"","url":"https://api.github.com/users/caoilte","html_url":"https://github.com/caoilte","followers_url":"https://api.github.com/users/caoilte/followers","following_url":"https://api.github.com/users/caoilte/following{/other_user}","gists_url":"https://api.github.com/users/caoilte/gists{/gist_id}","starred_url":"https://api.github.com/users/caoilte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caoilte/subscriptions","organizations_url":"https://api.github.com/users/caoilte/orgs","repos_url":"https://api.github.com/users/caoilte/repos","events_url":"https://api.github.com/users/caoilte/events{/privacy}","received_events_url":"https://api.github.com/users/caoilte/received_events","type":"User","site_admin":false},"labels":[{"id":225269283,"node_id":"MDU6TGFiZWwyMjUyNjkyODM=","url":"https://api.github.com/repos/coursier/coursier/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":311550069,"node_id":"MDU6TGFiZWwzMTE1NTAwNjk=","url":"https://api.github.com/repos/coursier/coursier/labels/sbt-coursier","name":"sbt-coursier","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-04T10:34:39Z","updated_at":"2018-11-30T14:50:51Z","closed_at":"2018-11-30T14:50:51Z","author_association":"NONE","body":"Just tried upgrading a project from Ivy to Coursier and it failed on a corner case. Specifcally an Exclusion rule applied to a classifier.\r\n\r\nI have created an example project which demonstrates the problem. \r\n\r\nhttps://github.com/caoilte/coursier-issue-example\r\n\r\nIf you run it with Ivy you get Connection Refused (probably). If you run it with Ivy you get a \r\n\r\n`java.lang.NoClassDefFoundError: org/json/JSONException`\r\n\r\nbecause of the way the sbt dependency is added. Specifically the `excludeAll(ExclusionRule(\"org.json\", \"json\", \"sources\"))` in,\r\n\r\n`libraryDependencies += \"com.github.tomakehurst\" % \"wiremock\" % \"1.56\" excludeAll(ExclusionRule(\"org.json\", \"json\", \"sources\"))`\r\n\r\nI am going to try and fix up my project to not require this Exclusion Rule, but it would be nice if coursier was a guaranteed drop in replacement for Ivy so I've raised this issue."}}
{"actor":{"display_login":"alexarchambault"}}