{"action":"created","issue":{"url":"https://api.github.com/repos/democracyworks/user-http-api/issues/5","labels_url":"https://api.github.com/repos/democracyworks/user-http-api/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/democracyworks/user-http-api/issues/5/comments","events_url":"https://api.github.com/repos/democracyworks/user-http-api/issues/5/events","html_url":"https://github.com/democracyworks/user-http-api/pull/5","id":101033358,"number":5,"title":"Do early lein immuntant war to fetch deps","user":{"login":"ericnormand","id":116172,"avatar_url":"https://avatars.githubusercontent.com/u/116172?v=3","gravatar_id":"","url":"https://api.github.com/users/ericnormand","html_url":"https://github.com/ericnormand","followers_url":"https://api.github.com/users/ericnormand/followers","following_url":"https://api.github.com/users/ericnormand/following{/other_user}","gists_url":"https://api.github.com/users/ericnormand/gists{/gist_id}","starred_url":"https://api.github.com/users/ericnormand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericnormand/subscriptions","organizations_url":"https://api.github.com/users/ericnormand/orgs","repos_url":"https://api.github.com/users/ericnormand/repos","events_url":"https://api.github.com/users/ericnormand/events{/privacy}","received_events_url":"https://api.github.com/users/ericnormand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cap10morgan","id":59748,"avatar_url":"https://avatars.githubusercontent.com/u/59748?v=3","gravatar_id":"","url":"https://api.github.com/users/cap10morgan","html_url":"https://github.com/cap10morgan","followers_url":"https://api.github.com/users/cap10morgan/followers","following_url":"https://api.github.com/users/cap10morgan/following{/other_user}","gists_url":"https://api.github.com/users/cap10morgan/gists{/gist_id}","starred_url":"https://api.github.com/users/cap10morgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cap10morgan/subscriptions","organizations_url":"https://api.github.com/users/cap10morgan/orgs","repos_url":"https://api.github.com/users/cap10morgan/repos","events_url":"https://api.github.com/users/cap10morgan/events{/privacy}","received_events_url":"https://api.github.com/users/cap10morgan/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-14T15:20:53Z","updated_at":"2015-08-17T14:37:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/democracyworks/user-http-api/pulls/5","html_url":"https://github.com/democracyworks/user-http-api/pull/5","diff_url":"https://github.com/democracyworks/user-http-api/pull/5.diff","patch_url":"https://github.com/democracyworks/user-http-api/pull/5.patch"},"body":"Running `lein immutant war` as the last step in the Dockerfile was downloading dependencies required for that plugin at the end. Because it was the last line, any change anywhere would cause a redownload.\r\n\r\nAfter talking to the immutant guys through chat, they suggested 2 options that worked:\r\n\r\n1. Add a dependency to wildfly, which entails all of the same dependencies as the immutant plugin. This worked in my tests, but required a new dependency that had to be kept in sync with the immutant plugin.\r\n\r\n2. Add a `lein immutant war` call higher up, before the code is copied over. It creates an uberjar with all the deps but no code. As a sideeffect, the dependencies are downloaded and cached.\r\n\r\nThis patch is an implementation of #2."},"comment":{"url":"https://api.github.com/repos/democracyworks/user-http-api/issues/comments/131843431","html_url":"https://github.com/democracyworks/user-http-api/pull/5#issuecomment-131843431","issue_url":"https://api.github.com/repos/democracyworks/user-http-api/issues/5","id":131843431,"user":{"login":"ericnormand","id":116172,"avatar_url":"https://avatars.githubusercontent.com/u/116172?v=3","gravatar_id":"","url":"https://api.github.com/users/ericnormand","html_url":"https://github.com/ericnormand","followers_url":"https://api.github.com/users/ericnormand/followers","following_url":"https://api.github.com/users/ericnormand/following{/other_user}","gists_url":"https://api.github.com/users/ericnormand/gists{/gist_id}","starred_url":"https://api.github.com/users/ericnormand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericnormand/subscriptions","organizations_url":"https://api.github.com/users/ericnormand/orgs","repos_url":"https://api.github.com/users/ericnormand/repos","events_url":"https://api.github.com/users/ericnormand/events{/privacy}","received_events_url":"https://api.github.com/users/ericnormand/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T14:37:30Z","updated_at":"2015-08-17T14:37:30Z","body":"Hey @cap10morgan.\r\n\r\nSorry, this was something I discussed on slack on Friday. Forgot to give you the context. Updated the description.\r\n"}}