{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/comments/51956848","id":51956848,"diff_hunk":"@@ -302,7 +302,11 @@ public String call() throws IOException {\n                 if (originalJdk == null) { // so we only try this once\n                     for (Throwable t = x; t != null; t = t.getCause()) {\n                         if (t instanceof UnsupportedClassVersionError || t instanceof SocketException) {\n-                            listener.error(\"[JENKINS-18403] JDK 5 not supported to run Maven; retrying with slave Java and setting compile/test properties to point to \" + jdk.getHome());\n+                            listener.error(\"[JENKINS-18403][JENKINS-28294] JDK '\" + jdk.getName() +\n+                                    \"' not supported to run Maven projects; retrying with slave Java and setting compile/test properties to point to \" +\n+                                    jdk.getHome() +\n+                                    \". Maven projects have to be launched with a Java version greater or equal to the one used by the slave. \" +","path":"src/main/java/hudson/maven/AbstractMavenProcessFactory.java","position":8,"original_position":8,"commit_id":"b28243ce7637d058f05631c57758a34cd879140f","original_commit_id":"b28243ce7637d058f05631c57758a34cd879140f","user":{"login":"jglick","id":154109,"avatar_url":"https://avatars.githubusercontent.com/u/154109?v=3","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"body":"What Daniel said. AFAIK","created_at":"2016-02-04T23:41:50Z","updated_at":"2016-02-04T23:41:50Z","html_url":"https://github.com/jenkinsci/maven-plugin/pull/58#discussion_r51956848","pull_request_url":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/comments/51956848"},"html":{"href":"https://github.com/jenkinsci/maven-plugin/pull/58#discussion_r51956848"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/58","id":58361740,"html_url":"https://github.com/jenkinsci/maven-plugin/pull/58","diff_url":"https://github.com/jenkinsci/maven-plugin/pull/58.diff","patch_url":"https://github.com/jenkinsci/maven-plugin/pull/58.patch","issue_url":"https://api.github.com/repos/jenkinsci/maven-plugin/issues/58","number":58,"state":"open","locked":false,"title":"[fix JENKINS-28294] Improve the ERROR message when a Maven project is launched with a java version < to the one of the slave.","user":{"login":"aheritier","id":174600,"avatar_url":"https://avatars.githubusercontent.com/u/174600?v=3","gravatar_id":"","url":"https://api.github.com/users/aheritier","html_url":"https://github.com/aheritier","followers_url":"https://api.github.com/users/aheritier/followers","following_url":"https://api.github.com/users/aheritier/following{/other_user}","gists_url":"https://api.github.com/users/aheritier/gists{/gist_id}","starred_url":"https://api.github.com/users/aheritier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheritier/subscriptions","organizations_url":"https://api.github.com/users/aheritier/orgs","repos_url":"https://api.github.com/users/aheritier/repos","events_url":"https://api.github.com/users/aheritier/events{/privacy}","received_events_url":"https://api.github.com/users/aheritier/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-02-04T22:45:28Z","updated_at":"2016-02-04T23:41:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fd52194dae9d181a60060976091ac78d6580394","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/58/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/58/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/maven-plugin/issues/58/comments","statuses_url":"https://api.github.com/repos/jenkinsci/maven-plugin/statuses/b28243ce7637d058f05631c57758a34cd879140f","head":{"label":"aheritier:fix/JENKINS-28294","ref":"fix/JENKINS-28294","sha":"b28243ce7637d058f05631c57758a34cd879140f","user":{"login":"aheritier","id":174600,"avatar_url":"https://avatars.githubusercontent.com/u/174600?v=3","gravatar_id":"","url":"https://api.github.com/users/aheritier","html_url":"https://github.com/aheritier","followers_url":"https://api.github.com/users/aheritier/followers","following_url":"https://api.github.com/users/aheritier/following{/other_user}","gists_url":"https://api.github.com/users/aheritier/gists{/gist_id}","starred_url":"https://api.github.com/users/aheritier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheritier/subscriptions","organizations_url":"https://api.github.com/users/aheritier/orgs","repos_url":"https://api.github.com/users/aheritier/repos","events_url":"https://api.github.com/users/aheritier/events{/privacy}","received_events_url":"https://api.github.com/users/aheritier/received_events","type":"User","site_admin":false},"repo":{"id":44695857,"name":"maven-plugin","full_name":"aheritier/maven-plugin","owner":{"login":"aheritier","id":174600,"avatar_url":"https://avatars.githubusercontent.com/u/174600?v=3","gravatar_id":"","url":"https://api.github.com/users/aheritier","html_url":"https://github.com/aheritier","followers_url":"https://api.github.com/users/aheritier/followers","following_url":"https://api.github.com/users/aheritier/following{/other_user}","gists_url":"https://api.github.com/users/aheritier/gists{/gist_id}","starred_url":"https://api.github.com/users/aheritier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheritier/subscriptions","organizations_url":"https://api.github.com/users/aheritier/orgs","repos_url":"https://api.github.com/users/aheritier/repos","events_url":"https://api.github.com/users/aheritier/events{/privacy}","received_events_url":"https://api.github.com/users/aheritier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aheritier/maven-plugin","description":"","fork":true,"url":"https://api.github.com/repos/aheritier/maven-plugin","forks_url":"https://api.github.com/repos/aheritier/maven-plugin/forks","keys_url":"https://api.github.com/repos/aheritier/maven-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aheritier/maven-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aheritier/maven-plugin/teams","hooks_url":"https://api.github.com/repos/aheritier/maven-plugin/hooks","issue_events_url":"https://api.github.com/repos/aheritier/maven-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/aheritier/maven-plugin/events","assignees_url":"https://api.github.com/repos/aheritier/maven-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/aheritier/maven-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/aheritier/maven-plugin/tags","blobs_url":"https://api.github.com/repos/aheritier/maven-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aheritier/maven-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aheritier/maven-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/aheritier/maven-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aheritier/maven-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/aheritier/maven-plugin/languages","stargazers_url":"https://api.github.com/repos/aheritier/maven-plugin/stargazers","contributors_url":"https://api.github.com/repos/aheritier/maven-plugin/contributors","subscribers_url":"https://api.github.com/repos/aheritier/maven-plugin/subscribers","subscription_url":"https://api.github.com/repos/aheritier/maven-plugin/subscription","commits_url":"https://api.github.com/repos/aheritier/maven-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/aheritier/maven-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/aheritier/maven-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/aheritier/maven-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/aheritier/maven-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/aheritier/maven-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aheritier/maven-plugin/merges","archive_url":"https://api.github.com/repos/aheritier/maven-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aheritier/maven-plugin/downloads","issues_url":"https://api.github.com/repos/aheritier/maven-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/aheritier/maven-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/aheritier/maven-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/aheritier/maven-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aheritier/maven-plugin/labels{/name}","releases_url":"https://api.github.com/repos/aheritier/maven-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/aheritier/maven-plugin/deployments","created_at":"2015-10-21T18:23:20Z","updated_at":"2015-10-21T18:23:22Z","pushed_at":"2016-02-04T22:44:48Z","git_url":"git://github.com/aheritier/maven-plugin.git","ssh_url":"git@github.com:aheritier/maven-plugin.git","clone_url":"https://github.com/aheritier/maven-plugin.git","svn_url":"https://github.com/aheritier/maven-plugin","homepage":"","size":3412,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"f3f1f1123a727958b59ea3a731f9cae77b94ab0f","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":13022394,"name":"maven-plugin","full_name":"jenkinsci/maven-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/maven-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/maven-plugin","forks_url":"https://api.github.com/repos/jenkinsci/maven-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/maven-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/maven-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/maven-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/maven-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/maven-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/maven-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/maven-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/maven-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/maven-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/maven-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/maven-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/maven-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/maven-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/maven-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/maven-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/maven-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/maven-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/maven-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/maven-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/maven-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/maven-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/maven-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/maven-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/maven-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/maven-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/maven-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/maven-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/maven-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/maven-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/maven-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/maven-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/maven-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/maven-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/maven-plugin/deployments","created_at":"2013-09-22T22:52:27Z","updated_at":"2016-02-04T22:51:37Z","pushed_at":"2016-02-04T22:51:35Z","git_url":"git://github.com/jenkinsci/maven-plugin.git","ssh_url":"git@github.com:jenkinsci/maven-plugin.git","clone_url":"https://github.com/jenkinsci/maven-plugin.git","svn_url":"https://github.com/jenkinsci/maven-plugin","homepage":"","size":4328,"stargazers_count":14,"watchers_count":14,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":90,"mirror_url":null,"open_issues_count":10,"forks":90,"open_issues":10,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/58"},"html":{"href":"https://github.com/jenkinsci/maven-plugin/pull/58"},"issue":{"href":"https://api.github.com/repos/jenkinsci/maven-plugin/issues/58"},"comments":{"href":"https://api.github.com/repos/jenkinsci/maven-plugin/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/maven-plugin/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/maven-plugin/statuses/b28243ce7637d058f05631c57758a34cd879140f"}}}}