{"action":"created","comment":{"url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/comments/66111662","id":66111662,"diff_hunk":"@@ -520,6 +522,30 @@ private void alterContentJar(File p2repository) throws FileNotFoundException, IO\n \t\tcontentStream.close();\n \t\toutContentStream.closeEntry();\n \t\toutContentStream.close();\n+\n+\t\t// JBDS-3929 overwrite the content.xml.xz file too\n+\t\t// see also https://bugs.eclipse.org/bugs/show_bug.cgi?id=464614\n+\t\t//getLog().debug(\"delete old content.xml.xz\");\n+\t\tFile contentXmlXz = new File(p2repository,\"content.xml.xz\");\n+\t\tFileUtils.forceDelete(contentXmlXz);\n+\t\t//getLog().debug(\"create content.xml from transformed XML\");\n+\t\tFile contentXml = new File(p2repository, \"content.xml\");\n+\t\tFileOutputStream outContentStreamXml = new FileOutputStream(contentXml);\n+\t\tStreamResult resultXml = new StreamResult(outContentStreamXml);\n+\t\ttransformer.transform(source, resultXml);\n+\t\toutContentStreamXml.close();\n+\t\t//getLog().debug(\"stream content.xml to content.xml.xz\");\n+\t\tBufferedInputStream in = new BufferedInputStream(new FileInputStream(contentXml));\n+\t\tXZCompressorOutputStream out = new XZCompressorOutputStream(new FileOutputStream(contentXmlXz));\n+\t\tfinal byte[] buffer = new byte[1024];\n+\t\tint n = 0;\n+\t\twhile (-1 != (n = in.read(buffer))) {\n+\t\t    out.write(buffer, 0, n);\n+\t\t}\n+\t\tout.close();","path":"tycho-plugins/repository-utils/src/main/java/org/jboss/tools/tycho/sitegenerator/GenerateRepositoryFacadeMojo.java","position":40,"original_position":40,"commit_id":"e8cb0bdbcec980704a5657741f50a51e21c8ec53","original_commit_id":"e8cb0bdbcec980704a5657741f50a51e21c8ec53","user":{"login":"maxandersen","id":54129,"avatar_url":"https://avatars.githubusercontent.com/u/54129?v=3","gravatar_id":"","url":"https://api.github.com/users/maxandersen","html_url":"https://github.com/maxandersen","followers_url":"https://api.github.com/users/maxandersen/followers","following_url":"https://api.github.com/users/maxandersen/following{/other_user}","gists_url":"https://api.github.com/users/maxandersen/gists{/gist_id}","starred_url":"https://api.github.com/users/maxandersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxandersen/subscriptions","organizations_url":"https://api.github.com/users/maxandersen/orgs","repos_url":"https://api.github.com/users/maxandersen/repos","events_url":"https://api.github.com/users/maxandersen/events{/privacy}","received_events_url":"https://api.github.com/users/maxandersen/received_events","type":"User","site_admin":false},"body":"no try/catch or similar to report to user what file possibly failed","created_at":"2016-06-07T17:07:18Z","updated_at":"2016-06-07T17:07:18Z","html_url":"https://github.com/jbosstools/jbosstools-maven-plugins/pull/56#discussion_r66111662","pull_request_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/comments/66111662"},"html":{"href":"https://github.com/jbosstools/jbosstools-maven-plugins/pull/56#discussion_r66111662"},"pull_request":{"href":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/56","id":72887248,"html_url":"https://github.com/jbosstools/jbosstools-maven-plugins/pull/56","diff_url":"https://github.com/jbosstools/jbosstools-maven-plugins/pull/56.diff","patch_url":"https://github.com/jbosstools/jbosstools-maven-plugins/pull/56.patch","issue_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/issues/56","number":56,"state":"open","locked":false,"title":"JBDS-3929 apply the same content.xml...","user":{"login":"nickboldt","id":227597,"avatar_url":"https://avatars.githubusercontent.com/u/227597?v=3","gravatar_id":"","url":"https://api.github.com/users/nickboldt","html_url":"https://github.com/nickboldt","followers_url":"https://api.github.com/users/nickboldt/followers","following_url":"https://api.github.com/users/nickboldt/following{/other_user}","gists_url":"https://api.github.com/users/nickboldt/gists{/gist_id}","starred_url":"https://api.github.com/users/nickboldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickboldt/subscriptions","organizations_url":"https://api.github.com/users/nickboldt/orgs","repos_url":"https://api.github.com/users/nickboldt/repos","events_url":"https://api.github.com/users/nickboldt/events{/privacy}","received_events_url":"https://api.github.com/users/nickboldt/received_events","type":"User","site_admin":false},"body":"JBDS-3929 apply the same content.xml transformations in content.jar as in content.xml.xz","created_at":"2016-06-07T14:39:12Z","updated_at":"2016-06-07T17:07:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18765f754ef14014df17ff6c598332d2843bf844","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/56/commits","review_comments_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/56/comments","review_comment_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/issues/56/comments","statuses_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/statuses/e8cb0bdbcec980704a5657741f50a51e21c8ec53","head":{"label":"nickboldt:JBDS-3929_440x","ref":"JBDS-3929_440x","sha":"e8cb0bdbcec980704a5657741f50a51e21c8ec53","user":{"login":"nickboldt","id":227597,"avatar_url":"https://avatars.githubusercontent.com/u/227597?v=3","gravatar_id":"","url":"https://api.github.com/users/nickboldt","html_url":"https://github.com/nickboldt","followers_url":"https://api.github.com/users/nickboldt/followers","following_url":"https://api.github.com/users/nickboldt/following{/other_user}","gists_url":"https://api.github.com/users/nickboldt/gists{/gist_id}","starred_url":"https://api.github.com/users/nickboldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickboldt/subscriptions","organizations_url":"https://api.github.com/users/nickboldt/orgs","repos_url":"https://api.github.com/users/nickboldt/repos","events_url":"https://api.github.com/users/nickboldt/events{/privacy}","received_events_url":"https://api.github.com/users/nickboldt/received_events","type":"User","site_admin":false},"repo":{"id":6358771,"name":"jbosstools-maven-plugins","full_name":"nickboldt/jbosstools-maven-plugins","owner":{"login":"nickboldt","id":227597,"avatar_url":"https://avatars.githubusercontent.com/u/227597?v=3","gravatar_id":"","url":"https://api.github.com/users/nickboldt","html_url":"https://github.com/nickboldt","followers_url":"https://api.github.com/users/nickboldt/followers","following_url":"https://api.github.com/users/nickboldt/following{/other_user}","gists_url":"https://api.github.com/users/nickboldt/gists{/gist_id}","starred_url":"https://api.github.com/users/nickboldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickboldt/subscriptions","organizations_url":"https://api.github.com/users/nickboldt/orgs","repos_url":"https://api.github.com/users/nickboldt/repos","events_url":"https://api.github.com/users/nickboldt/events{/privacy}","received_events_url":"https://api.github.com/users/nickboldt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickboldt/jbosstools-maven-plugins","description":"Various Maven/Tycho plugins used by JBoss Tools ","fork":true,"url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins","forks_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/forks","keys_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/teams","hooks_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/hooks","issue_events_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/events","assignees_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/tags","blobs_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/languages","stargazers_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/stargazers","contributors_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/contributors","subscribers_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/subscribers","subscription_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/subscription","commits_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/merges","archive_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/downloads","issues_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/labels{/name}","releases_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/nickboldt/jbosstools-maven-plugins/deployments","created_at":"2012-10-23T19:44:55Z","updated_at":"2015-07-14T19:10:19Z","pushed_at":"2016-06-07T15:02:53Z","git_url":"git://github.com/nickboldt/jbosstools-maven-plugins.git","ssh_url":"git@github.com:nickboldt/jbosstools-maven-plugins.git","clone_url":"https://github.com/nickboldt/jbosstools-maven-plugins.git","svn_url":"https://github.com/nickboldt/jbosstools-maven-plugins","homepage":"","size":315,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"jbosstools:jbosstools-4.4.0.x","ref":"jbosstools-4.4.0.x","sha":"37f0dc9eaf98a3bb32f695f08176c0fe4b4575ca","user":{"login":"jbosstools","id":619871,"avatar_url":"https://avatars.githubusercontent.com/u/619871?v=3","gravatar_id":"","url":"https://api.github.com/users/jbosstools","html_url":"https://github.com/jbosstools","followers_url":"https://api.github.com/users/jbosstools/followers","following_url":"https://api.github.com/users/jbosstools/following{/other_user}","gists_url":"https://api.github.com/users/jbosstools/gists{/gist_id}","starred_url":"https://api.github.com/users/jbosstools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbosstools/subscriptions","organizations_url":"https://api.github.com/users/jbosstools/orgs","repos_url":"https://api.github.com/users/jbosstools/repos","events_url":"https://api.github.com/users/jbosstools/events{/privacy}","received_events_url":"https://api.github.com/users/jbosstools/received_events","type":"Organization","site_admin":false},"repo":{"id":6308287,"name":"jbosstools-maven-plugins","full_name":"jbosstools/jbosstools-maven-plugins","owner":{"login":"jbosstools","id":619871,"avatar_url":"https://avatars.githubusercontent.com/u/619871?v=3","gravatar_id":"","url":"https://api.github.com/users/jbosstools","html_url":"https://github.com/jbosstools","followers_url":"https://api.github.com/users/jbosstools/followers","following_url":"https://api.github.com/users/jbosstools/following{/other_user}","gists_url":"https://api.github.com/users/jbosstools/gists{/gist_id}","starred_url":"https://api.github.com/users/jbosstools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbosstools/subscriptions","organizations_url":"https://api.github.com/users/jbosstools/orgs","repos_url":"https://api.github.com/users/jbosstools/repos","events_url":"https://api.github.com/users/jbosstools/events{/privacy}","received_events_url":"https://api.github.com/users/jbosstools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jbosstools/jbosstools-maven-plugins","description":"Various Maven/Tycho plugins used by JBoss Tools ","fork":false,"url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins","forks_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/forks","keys_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/teams","hooks_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/hooks","issue_events_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/events","assignees_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/tags","blobs_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/languages","stargazers_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/stargazers","contributors_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/contributors","subscribers_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/subscribers","subscription_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/subscription","commits_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/merges","archive_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/downloads","issues_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/labels{/name}","releases_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/deployments","created_at":"2012-10-20T11:23:00Z","updated_at":"2016-04-26T16:18:04Z","pushed_at":"2016-06-07T15:02:53Z","git_url":"git://github.com/jbosstools/jbosstools-maven-plugins.git","ssh_url":"git@github.com:jbosstools/jbosstools-maven-plugins.git","clone_url":"https://github.com/jbosstools/jbosstools-maven-plugins.git","svn_url":"https://github.com/jbosstools/jbosstools-maven-plugins","homepage":"","size":384,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":5,"forks":18,"open_issues":5,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/56"},"html":{"href":"https://github.com/jbosstools/jbosstools-maven-plugins/pull/56"},"issue":{"href":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/issues/56"},"comments":{"href":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/jbosstools/jbosstools-maven-plugins/statuses/e8cb0bdbcec980704a5657741f50a51e21c8ec53"}}}}
{"actor":{"display_login":"maxandersen"}}