{"action":"created","issue":{"url":"https://api.github.com/repos/quantifind/wisp/issues/37","labels_url":"https://api.github.com/repos/quantifind/wisp/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/quantifind/wisp/issues/37/comments","events_url":"https://api.github.com/repos/quantifind/wisp/issues/37/events","html_url":"https://github.com/quantifind/wisp/issues/37","id":107706077,"number":37,"title":"How to package wisp as a fat jar?","user":{"login":"cacti77","id":12137521,"avatar_url":"https://avatars.githubusercontent.com/u/12137521?v=3","gravatar_id":"","url":"https://api.github.com/users/cacti77","html_url":"https://github.com/cacti77","followers_url":"https://api.github.com/users/cacti77/followers","following_url":"https://api.github.com/users/cacti77/following{/other_user}","gists_url":"https://api.github.com/users/cacti77/gists{/gist_id}","starred_url":"https://api.github.com/users/cacti77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cacti77/subscriptions","organizations_url":"https://api.github.com/users/cacti77/orgs","repos_url":"https://api.github.com/users/cacti77/repos","events_url":"https://api.github.com/users/cacti77/events{/privacy}","received_events_url":"https://api.github.com/users/cacti77/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-22T12:38:40Z","updated_at":"2015-09-25T11:01:59Z","closed_at":"2015-09-25T11:01:59Z","body":"I want to use wisp in Apache Zeppelin behind a corporate firewall but am having terrible trouble trying to fetch wisp's dependencies through the corporate proxy:(. So as a work-around I would like to package wisp and all its dependencies into a single fat/uber jar.\r\n\r\nI've tried reading through the [notes on sbt assembly](https://github.com/sbt/sbt-assembly), hacking with wisp/project/Build.scala and adding `addSbtPlugin(\"com.eed3si9n\" % \"sbt-assembly\" % \"0.11.2\")` to project/plugins.sbt but I can't even get Build.scala to compile with the changes I've made. Unfortunately I'm new to Scala and struggling with this. It would be great if you could please add the ability to package wisp as a fat jar, or explain here how I could do it. Thanks very much!"},"comment":{"url":"https://api.github.com/repos/quantifind/wisp/issues/comments/143187657","html_url":"https://github.com/quantifind/wisp/issues/37#issuecomment-143187657","issue_url":"https://api.github.com/repos/quantifind/wisp/issues/37","id":143187657,"user":{"login":"cacti77","id":12137521,"avatar_url":"https://avatars.githubusercontent.com/u/12137521?v=3","gravatar_id":"","url":"https://api.github.com/users/cacti77","html_url":"https://github.com/cacti77","followers_url":"https://api.github.com/users/cacti77/followers","following_url":"https://api.github.com/users/cacti77/following{/other_user}","gists_url":"https://api.github.com/users/cacti77/gists{/gist_id}","starred_url":"https://api.github.com/users/cacti77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cacti77/subscriptions","organizations_url":"https://api.github.com/users/cacti77/orgs","repos_url":"https://api.github.com/users/cacti77/repos","events_url":"https://api.github.com/users/cacti77/events{/privacy}","received_events_url":"https://api.github.com/users/cacti77/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T11:01:59Z","updated_at":"2015-09-25T11:01:59Z","body":"Thank you; you're absolutely right! We discovered this independently yesterday too. When I ran `util.Properties.versionString` in Zeppelin 0.5.0 it reported version 2.10.4 of Scala. By default `sbt 'project wisp' assembly` is compiling using Scala 2.11.6, as defined in your Build.scala file. But, luckily for me, it also cross-compiles against 2.10.5: `crossScalaVersions := Seq(\"2.10.5\", \"2.11.6\")`.\r\n\r\nSo, after looking [here](http://www.scala-sbt.org/0.13/docs/Cross-Build.html#Cross-Building+a+Project), I just did `sbt 'project wisp' +assembly` to build the fat jars for both Scala versions.  Then I imported wisp/core/target/__scala-2.10__/Wisp-assembly-0.0.4.jar into Zeppelin using `z.load()` and then I could successfully create Wisp plots from within Zeppelin - yippee!"}}