{"action":"created","issue":{"url":"https://api.github.com/repos/danielflower/multi-module-maven-release-plugin/issues/2","labels_url":"https://api.github.com/repos/danielflower/multi-module-maven-release-plugin/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/danielflower/multi-module-maven-release-plugin/issues/2/comments","events_url":"https://api.github.com/repos/danielflower/multi-module-maven-release-plugin/issues/2/events","html_url":"https://github.com/danielflower/multi-module-maven-release-plugin/issues/2","id":79446759,"number":2,"title":"Authentication using github","user":{"login":"frizzlebit","id":11257807,"avatar_url":"https://avatars.githubusercontent.com/u/11257807?v=3","gravatar_id":"","url":"https://api.github.com/users/frizzlebit","html_url":"https://github.com/frizzlebit","followers_url":"https://api.github.com/users/frizzlebit/followers","following_url":"https://api.github.com/users/frizzlebit/following{/other_user}","gists_url":"https://api.github.com/users/frizzlebit/gists{/gist_id}","starred_url":"https://api.github.com/users/frizzlebit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frizzlebit/subscriptions","organizations_url":"https://api.github.com/users/frizzlebit/orgs","repos_url":"https://api.github.com/users/frizzlebit/repos","events_url":"https://api.github.com/users/frizzlebit/events{/privacy}","received_events_url":"https://api.github.com/users/frizzlebit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-05-22T13:00:11Z","updated_at":"2015-07-09T06:29:07Z","closed_at":null,"body":"Thanks for your work on this project Daniel.\r\n\r\nI am finding that I cannot release when using an SSH connection to a private enterprise GitHub installation. Authentication from the command line git client is established using public/private ssh keys. At first I thought that the passphrase on the key was this issue. However I removed the passphrase and still encountered the stack trace listed below:\r\n\r\n```\r\n[INFO] --- multi-module-maven-release-plugin:1.0.2:release (default-cli) @ serenity-build ---\r\n[ERROR] \r\n[ERROR] \r\n[ERROR] \r\n[ERROR] ************************************\r\n[ERROR] Could not execute the release plugin\r\n[ERROR] ************************************\r\n\r\n...\r\n\r\nCaused by: com.jcraft.jsch.JSchException: Auth fail\r\n\tat com.jcraft.jsch.Session.connect(Session.java:512)\r\n\tat org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)\r\n```\r\n\r\nDo you have any suggestions on how username/password is set for this plugin?"},"comment":{"url":"https://api.github.com/repos/danielflower/multi-module-maven-release-plugin/issues/comments/119839094","html_url":"https://github.com/danielflower/multi-module-maven-release-plugin/issues/2#issuecomment-119839094","issue_url":"https://api.github.com/repos/danielflower/multi-module-maven-release-plugin/issues/2","id":119839094,"user":{"login":"stromnet","id":668449,"avatar_url":"https://avatars.githubusercontent.com/u/668449?v=3","gravatar_id":"","url":"https://api.github.com/users/stromnet","html_url":"https://github.com/stromnet","followers_url":"https://api.github.com/users/stromnet/followers","following_url":"https://api.github.com/users/stromnet/following{/other_user}","gists_url":"https://api.github.com/users/stromnet/gists{/gist_id}","starred_url":"https://api.github.com/users/stromnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stromnet/subscriptions","organizations_url":"https://api.github.com/users/stromnet/orgs","repos_url":"https://api.github.com/users/stromnet/repos","events_url":"https://api.github.com/users/stromnet/events{/privacy}","received_events_url":"https://api.github.com/users/stromnet/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T06:29:07Z","updated_at":"2015-07-09T06:29:07Z","body":"Moving to a dedicated class would make sense, yes. I've got a few different ideas:\r\n\r\n1. Always call it, like my POC code does.\r\n2. Add a plugin config option where it can be turned on/off (default...on?).\r\n3. Move it to a separate plugin altogether, since the factory is static it would still affect this plugin. Most separated but might be over the top\r\n\r\nRegarding maven-release-plugin, I'm not sure but I **think** it just calls the git binary? In which case it would automatically pick up the SSH-agent support."}}