{"action":"opened","issue":{"url":"https://api.github.com/repos/searchbox-io/Jest/issues/193","labels_url":"https://api.github.com/repos/searchbox-io/Jest/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/searchbox-io/Jest/issues/193/comments","events_url":"https://api.github.com/repos/searchbox-io/Jest/issues/193/events","html_url":"https://github.com/searchbox-io/Jest/issues/193","id":62975917,"number":193,"title":"Don't install jars into local repository during maven build","user":{"login":"jakub-bochenski","id":2794994,"avatar_url":"https://avatars.githubusercontent.com/u/2794994?v=3","gravatar_id":"","url":"https://api.github.com/users/jakub-bochenski","html_url":"https://github.com/jakub-bochenski","followers_url":"https://api.github.com/users/jakub-bochenski/followers","following_url":"https://api.github.com/users/jakub-bochenski/following{/other_user}","gists_url":"https://api.github.com/users/jakub-bochenski/gists{/gist_id}","starred_url":"https://api.github.com/users/jakub-bochenski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakub-bochenski/subscriptions","organizations_url":"https://api.github.com/users/jakub-bochenski/orgs","repos_url":"https://api.github.com/users/jakub-bochenski/repos","events_url":"https://api.github.com/users/jakub-bochenski/events{/privacy}","received_events_url":"https://api.github.com/users/jakub-bochenski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-19T12:53:30Z","updated_at":"2015-03-19T12:53:30Z","closed_at":null,"body":"Doing this is discouraged for a variety of reasons (e.g. you can't use a repository manager that way, it pollutes local setup).\r\n\r\nHosting a maven repository from github is super-easy. Here is a [short](http://kwebble.com/blog/2014/02/19/use-github-to-host-your-own-maven-repo) description of all you need to do,  and [here]( https://stackoverflow.com/questions/14013644/hosting-a-maven-repository-on-github) a more detailed one if you are curious.\r\n\r\nPlease note this is causing problems in some setups (Ubutbut 12.04 LTS with apt-get Java):\r\n```\r\n[INFO] --- exec-maven-plugin:1.3.2:exec (install-httpclientandroidlib) @ jest-parent ---                                                                                                                                                                                   \r\nError: JAVA_HOME is not defined correctly.                                                                                                                                                                                                                                 \r\n  We cannot execute /usr/lib/jvm/java-7-oracle/bin/java/bin/java   \r\n```\r\nThe workaround was to set JAVA_HOME to `/usr/lib/jvm/java-7-oracle/jre` (from ``/usr/lib/jvm/java-7-oracle`)"}}