{"action":"created","comment":{"url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/comments/46084547","id":46084547,"diff_hunk":"@@ -65,7 +65,7 @@ public void antTaskDocumentationIncludesAllProperties() throws IntrospectionExce\n         String documentation = FileUtils.readFileToString(new File(\"../jsonschema2pojo-ant/src/site/Jsonschema2PojoTask.html\"));\n \n         for (Field f : Jsonschema2PojoTask.class.getDeclaredFields()) {\n-            assertThat(documentation, containsString(f.getName()));\n+            assertThat(documentation, containsString(\">\"+f.getName()+\"<\"));","path":"jsonschema2pojo-integration-tests/src/test/java/org/jsonschema2pojo/integration/ant/Jsonschema2PojoTaskIT.java","position":5,"original_position":5,"commit_id":"9f6fbeec3431139f1d4ecfcba5e8e1d29754ceb2","original_commit_id":"9f6fbeec3431139f1d4ecfcba5e8e1d29754ceb2","user":{"login":"joelittlejohn","id":686384,"avatar_url":"https://avatars.githubusercontent.com/u/686384?v=3","gravatar_id":"","url":"https://api.github.com/users/joelittlejohn","html_url":"https://github.com/joelittlejohn","followers_url":"https://api.github.com/users/joelittlejohn/followers","following_url":"https://api.github.com/users/joelittlejohn/following{/other_user}","gists_url":"https://api.github.com/users/joelittlejohn/gists{/gist_id}","starred_url":"https://api.github.com/users/joelittlejohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelittlejohn/subscriptions","organizations_url":"https://api.github.com/users/joelittlejohn/orgs","repos_url":"https://api.github.com/users/joelittlejohn/repos","events_url":"https://api.github.com/users/joelittlejohn/events{/privacy}","received_events_url":"https://api.github.com/users/joelittlejohn/received_events","type":"User","site_admin":false},"body":"Good spot :smile: ","created_at":"2015-11-28T21:22:49Z","updated_at":"2015-11-28T21:22:49Z","html_url":"https://github.com/joelittlejohn/jsonschema2pojo/pull/454#discussion_r46084547","pull_request_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/454","_links":{"self":{"href":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/comments/46084547"},"html":{"href":"https://github.com/joelittlejohn/jsonschema2pojo/pull/454#discussion_r46084547"},"pull_request":{"href":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/454"}}},"pull_request":{"url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/454","id":51963565,"html_url":"https://github.com/joelittlejohn/jsonschema2pojo/pull/454","diff_url":"https://github.com/joelittlejohn/jsonschema2pojo/pull/454.diff","patch_url":"https://github.com/joelittlejohn/jsonschema2pojo/pull/454.patch","issue_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/454","number":454,"state":"open","locked":false,"title":"Specify target JVM version","user":{"login":"ctrimble","id":614753,"avatar_url":"https://avatars.githubusercontent.com/u/614753?v=3","gravatar_id":"","url":"https://api.github.com/users/ctrimble","html_url":"https://github.com/ctrimble","followers_url":"https://api.github.com/users/ctrimble/followers","following_url":"https://api.github.com/users/ctrimble/following{/other_user}","gists_url":"https://api.github.com/users/ctrimble/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrimble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrimble/subscriptions","organizations_url":"https://api.github.com/users/ctrimble/orgs","repos_url":"https://api.github.com/users/ctrimble/repos","events_url":"https://api.github.com/users/ctrimble/events{/privacy}","received_events_url":"https://api.github.com/users/ctrimble/received_events","type":"User","site_admin":false},"body":"Exposes a `target` property to the rules and test compiler, specifying the target Java version to generate for.\r\n\r\nThis fixes an issue during cross compilation where the source generated is valid for the JVM running the test suite but not for the JVM being targeted.  For instance, auto boxing a cast like `(int)value` works in `Java7` but not in `Java6`.\r\n\r\n__Interface Changes__:\r\n\r\n- Maven: adds a `target` config property, with a default value of `maven.compiler.target`.\r\n- Gradle: adds a `target` property, with a default value of `1.6`\r\n- Ant: adds a `target` property, with a default value of `1.6`\r\n- CLI: adds options `-tv` and `--target-version`, with a default value of `1.6`\r\n\r\n__Limitations__:  This patch does not set the bootclasspath from `toolchains.xml`.  So, there can still be issues where `Java7` classes and methods are referenced when generating code for `Java6`.  I attempted to add support using classes from Maven, but there is a classpath conflict with the testing for `Ant`.  `-Xlint:-options` has been set during testing, to suppress warnings related to this.\r\n\r\nThe changes here were taken from #386.","created_at":"2015-11-27T06:26:38Z","updated_at":"2015-11-28T21:22:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc1c435c9aead0b747b90bc46fb11933c9976be8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/454/commits","review_comments_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/454/comments","review_comment_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/454/comments","statuses_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/statuses/9f6fbeec3431139f1d4ecfcba5e8e1d29754ceb2","head":{"label":"ctrimble:feature_target-version","ref":"feature_target-version","sha":"9f6fbeec3431139f1d4ecfcba5e8e1d29754ceb2","user":{"login":"ctrimble","id":614753,"avatar_url":"https://avatars.githubusercontent.com/u/614753?v=3","gravatar_id":"","url":"https://api.github.com/users/ctrimble","html_url":"https://github.com/ctrimble","followers_url":"https://api.github.com/users/ctrimble/followers","following_url":"https://api.github.com/users/ctrimble/following{/other_user}","gists_url":"https://api.github.com/users/ctrimble/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrimble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrimble/subscriptions","organizations_url":"https://api.github.com/users/ctrimble/orgs","repos_url":"https://api.github.com/users/ctrimble/repos","events_url":"https://api.github.com/users/ctrimble/events{/privacy}","received_events_url":"https://api.github.com/users/ctrimble/received_events","type":"User","site_admin":false},"repo":{"id":18751397,"name":"jsonschema2pojo","full_name":"ctrimble/jsonschema2pojo","owner":{"login":"ctrimble","id":614753,"avatar_url":"https://avatars.githubusercontent.com/u/614753?v=3","gravatar_id":"","url":"https://api.github.com/users/ctrimble","html_url":"https://github.com/ctrimble","followers_url":"https://api.github.com/users/ctrimble/followers","following_url":"https://api.github.com/users/ctrimble/following{/other_user}","gists_url":"https://api.github.com/users/ctrimble/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrimble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrimble/subscriptions","organizations_url":"https://api.github.com/users/ctrimble/orgs","repos_url":"https://api.github.com/users/ctrimble/repos","events_url":"https://api.github.com/users/ctrimble/events{/privacy}","received_events_url":"https://api.github.com/users/ctrimble/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ctrimble/jsonschema2pojo","description":"Generates Java types from JSON Schema (or example JSON) and annotates those types for data-binding with Jackson 1.x or 2.x, Gson, etc","fork":true,"url":"https://api.github.com/repos/ctrimble/jsonschema2pojo","forks_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/forks","keys_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/teams","hooks_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/hooks","issue_events_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/issues/events{/number}","events_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/events","assignees_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/assignees{/user}","branches_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/branches{/branch}","tags_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/tags","blobs_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/statuses/{sha}","languages_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/languages","stargazers_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/stargazers","contributors_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/contributors","subscribers_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/subscribers","subscription_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/subscription","commits_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/contents/{+path}","compare_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/merges","archive_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/downloads","issues_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/issues{/number}","pulls_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/pulls{/number}","milestones_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/milestones{/number}","notifications_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/labels{/name}","releases_url":"https://api.github.com/repos/ctrimble/jsonschema2pojo/releases{/id}","created_at":"2014-04-14T07:00:23Z","updated_at":"2015-05-08T16:36:34Z","pushed_at":"2015-11-28T20:57:40Z","git_url":"git://github.com/ctrimble/jsonschema2pojo.git","ssh_url":"git@github.com:ctrimble/jsonschema2pojo.git","clone_url":"https://github.com/ctrimble/jsonschema2pojo.git","svn_url":"https://github.com/ctrimble/jsonschema2pojo","homepage":"http://www.jsonschema2pojo.org","size":2821,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"joelittlejohn:master","ref":"master","sha":"97f01ca19ca1a83cde159383c1f48c022fc71fba","user":{"login":"joelittlejohn","id":686384,"avatar_url":"https://avatars.githubusercontent.com/u/686384?v=3","gravatar_id":"","url":"https://api.github.com/users/joelittlejohn","html_url":"https://github.com/joelittlejohn","followers_url":"https://api.github.com/users/joelittlejohn/followers","following_url":"https://api.github.com/users/joelittlejohn/following{/other_user}","gists_url":"https://api.github.com/users/joelittlejohn/gists{/gist_id}","starred_url":"https://api.github.com/users/joelittlejohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelittlejohn/subscriptions","organizations_url":"https://api.github.com/users/joelittlejohn/orgs","repos_url":"https://api.github.com/users/joelittlejohn/repos","events_url":"https://api.github.com/users/joelittlejohn/events{/privacy}","received_events_url":"https://api.github.com/users/joelittlejohn/received_events","type":"User","site_admin":false},"repo":{"id":10873724,"name":"jsonschema2pojo","full_name":"joelittlejohn/jsonschema2pojo","owner":{"login":"joelittlejohn","id":686384,"avatar_url":"https://avatars.githubusercontent.com/u/686384?v=3","gravatar_id":"","url":"https://api.github.com/users/joelittlejohn","html_url":"https://github.com/joelittlejohn","followers_url":"https://api.github.com/users/joelittlejohn/followers","following_url":"https://api.github.com/users/joelittlejohn/following{/other_user}","gists_url":"https://api.github.com/users/joelittlejohn/gists{/gist_id}","starred_url":"https://api.github.com/users/joelittlejohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelittlejohn/subscriptions","organizations_url":"https://api.github.com/users/joelittlejohn/orgs","repos_url":"https://api.github.com/users/joelittlejohn/repos","events_url":"https://api.github.com/users/joelittlejohn/events{/privacy}","received_events_url":"https://api.github.com/users/joelittlejohn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joelittlejohn/jsonschema2pojo","description":"Generates Java types from JSON Schema (or example JSON) and annotates those types for data-binding with Jackson 1.x or 2.x, Gson, etc","fork":false,"url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo","forks_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/forks","keys_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/teams","hooks_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/hooks","issue_events_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/events{/number}","events_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/events","assignees_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/assignees{/user}","branches_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/branches{/branch}","tags_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/tags","blobs_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/git/refs{/sha}","trees_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/statuses/{sha}","languages_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/languages","stargazers_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/stargazers","contributors_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/contributors","subscribers_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/subscribers","subscription_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/subscription","commits_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/commits{/sha}","git_commits_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/git/commits{/sha}","comments_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/comments{/number}","issue_comment_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/comments{/number}","contents_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/contents/{+path}","compare_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/merges","archive_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/downloads","issues_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues{/number}","pulls_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls{/number}","milestones_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/milestones{/number}","notifications_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/labels{/name}","releases_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/releases{/id}","created_at":"2013-06-22T22:28:53Z","updated_at":"2015-11-28T07:10:05Z","pushed_at":"2015-11-28T20:57:43Z","git_url":"git://github.com/joelittlejohn/jsonschema2pojo.git","ssh_url":"git@github.com:joelittlejohn/jsonschema2pojo.git","clone_url":"https://github.com/joelittlejohn/jsonschema2pojo.git","svn_url":"https://github.com/joelittlejohn/jsonschema2pojo","homepage":"http://www.jsonschema2pojo.org","size":4732,"stargazers_count":1258,"watchers_count":1258,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":415,"mirror_url":null,"open_issues_count":63,"forks":415,"open_issues":63,"watchers":1258,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/454"},"html":{"href":"https://github.com/joelittlejohn/jsonschema2pojo/pull/454"},"issue":{"href":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/454"},"comments":{"href":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/454/comments"},"review_comments":{"href":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/454/comments"},"review_comment":{"href":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/454/commits"},"statuses":{"href":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/statuses/9f6fbeec3431139f1d4ecfcba5e8e1d29754ceb2"}}}}