{"action":"opened","number":62,"pull_request":{"url":"https://api.github.com/repos/policeman-tools/forbidden-apis/pulls/62","id":41111371,"html_url":"https://github.com/policeman-tools/forbidden-apis/pull/62","diff_url":"https://github.com/policeman-tools/forbidden-apis/pull/62.diff","patch_url":"https://github.com/policeman-tools/forbidden-apis/pull/62.patch","issue_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/issues/62","number":62,"state":"open","locked":false,"title":"Add \"failOnViolation\" setting to optionally fail builds","user":{"login":"joschi","id":43951,"avatar_url":"https://avatars.githubusercontent.com/u/43951?v=3","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"body":"Sometimes it is desired to let a build succeed, even if violations have been found (e. g. for a gradual roll-out of the forbidden-apis checker in builds).\r\n\r\nThe \"failOnViolation\" setting for the Ant task and the Maven Mojo enables the user to let their builds succeed even if violations have been found by the forbidden APIs checker.\r\n\r\nThis functionality is also provided by other broadly used static code analyzer plugins, like [PMD](https://maven.apache.org/plugins/maven-pmd-plugin/check-mojo.html#failOnViolation), [Checkstyle](https://maven.apache.org/plugins/maven-checkstyle-plugin/check-mojo.html#failOnViolation), and [FindBugs](https://gleclaire.github.io/findbugs-maven-plugin/check-mojo.html#failOnError).","created_at":"2015-07-29T11:11:04Z","updated_at":"2015-07-29T11:11:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/pulls/62/commits","review_comments_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/pulls/62/comments","review_comment_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/issues/62/comments","statuses_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/statuses/5175156acfe8dc37ae71d297e8ea41c22caab004","head":{"label":"joschi:optional-fail","ref":"optional-fail","sha":"5175156acfe8dc37ae71d297e8ea41c22caab004","user":{"login":"joschi","id":43951,"avatar_url":"https://avatars.githubusercontent.com/u/43951?v=3","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"repo":{"id":39889169,"name":"forbidden-apis","full_name":"joschi/forbidden-apis","owner":{"login":"joschi","id":43951,"avatar_url":"https://avatars.githubusercontent.com/u/43951?v=3","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joschi/forbidden-apis","description":"Policeman's Forbidden API Checker","fork":true,"url":"https://api.github.com/repos/joschi/forbidden-apis","forks_url":"https://api.github.com/repos/joschi/forbidden-apis/forks","keys_url":"https://api.github.com/repos/joschi/forbidden-apis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joschi/forbidden-apis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joschi/forbidden-apis/teams","hooks_url":"https://api.github.com/repos/joschi/forbidden-apis/hooks","issue_events_url":"https://api.github.com/repos/joschi/forbidden-apis/issues/events{/number}","events_url":"https://api.github.com/repos/joschi/forbidden-apis/events","assignees_url":"https://api.github.com/repos/joschi/forbidden-apis/assignees{/user}","branches_url":"https://api.github.com/repos/joschi/forbidden-apis/branches{/branch}","tags_url":"https://api.github.com/repos/joschi/forbidden-apis/tags","blobs_url":"https://api.github.com/repos/joschi/forbidden-apis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joschi/forbidden-apis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joschi/forbidden-apis/git/refs{/sha}","trees_url":"https://api.github.com/repos/joschi/forbidden-apis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joschi/forbidden-apis/statuses/{sha}","languages_url":"https://api.github.com/repos/joschi/forbidden-apis/languages","stargazers_url":"https://api.github.com/repos/joschi/forbidden-apis/stargazers","contributors_url":"https://api.github.com/repos/joschi/forbidden-apis/contributors","subscribers_url":"https://api.github.com/repos/joschi/forbidden-apis/subscribers","subscription_url":"https://api.github.com/repos/joschi/forbidden-apis/subscription","commits_url":"https://api.github.com/repos/joschi/forbidden-apis/commits{/sha}","git_commits_url":"https://api.github.com/repos/joschi/forbidden-apis/git/commits{/sha}","comments_url":"https://api.github.com/repos/joschi/forbidden-apis/comments{/number}","issue_comment_url":"https://api.github.com/repos/joschi/forbidden-apis/issues/comments{/number}","contents_url":"https://api.github.com/repos/joschi/forbidden-apis/contents/{+path}","compare_url":"https://api.github.com/repos/joschi/forbidden-apis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joschi/forbidden-apis/merges","archive_url":"https://api.github.com/repos/joschi/forbidden-apis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joschi/forbidden-apis/downloads","issues_url":"https://api.github.com/repos/joschi/forbidden-apis/issues{/number}","pulls_url":"https://api.github.com/repos/joschi/forbidden-apis/pulls{/number}","milestones_url":"https://api.github.com/repos/joschi/forbidden-apis/milestones{/number}","notifications_url":"https://api.github.com/repos/joschi/forbidden-apis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joschi/forbidden-apis/labels{/name}","releases_url":"https://api.github.com/repos/joschi/forbidden-apis/releases{/id}","created_at":"2015-07-29T11:07:42Z","updated_at":"2015-07-29T11:07:42Z","pushed_at":"2015-07-29T11:08:03Z","git_url":"git://github.com/joschi/forbidden-apis.git","ssh_url":"git@github.com:joschi/forbidden-apis.git","clone_url":"https://github.com/joschi/forbidden-apis.git","svn_url":"https://github.com/joschi/forbidden-apis","homepage":"","size":1135,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"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":"policeman-tools:master","ref":"master","sha":"331eac4a95bea407efa6edce0e32c8260e2b37bf","user":{"login":"policeman-tools","id":11466466,"avatar_url":"https://avatars.githubusercontent.com/u/11466466?v=3","gravatar_id":"","url":"https://api.github.com/users/policeman-tools","html_url":"https://github.com/policeman-tools","followers_url":"https://api.github.com/users/policeman-tools/followers","following_url":"https://api.github.com/users/policeman-tools/following{/other_user}","gists_url":"https://api.github.com/users/policeman-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/policeman-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/policeman-tools/subscriptions","organizations_url":"https://api.github.com/users/policeman-tools/orgs","repos_url":"https://api.github.com/users/policeman-tools/repos","events_url":"https://api.github.com/users/policeman-tools/events{/privacy}","received_events_url":"https://api.github.com/users/policeman-tools/received_events","type":"Organization","site_admin":false},"repo":{"id":32184830,"name":"forbidden-apis","full_name":"policeman-tools/forbidden-apis","owner":{"login":"policeman-tools","id":11466466,"avatar_url":"https://avatars.githubusercontent.com/u/11466466?v=3","gravatar_id":"","url":"https://api.github.com/users/policeman-tools","html_url":"https://github.com/policeman-tools","followers_url":"https://api.github.com/users/policeman-tools/followers","following_url":"https://api.github.com/users/policeman-tools/following{/other_user}","gists_url":"https://api.github.com/users/policeman-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/policeman-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/policeman-tools/subscriptions","organizations_url":"https://api.github.com/users/policeman-tools/orgs","repos_url":"https://api.github.com/users/policeman-tools/repos","events_url":"https://api.github.com/users/policeman-tools/events{/privacy}","received_events_url":"https://api.github.com/users/policeman-tools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/policeman-tools/forbidden-apis","description":"Policeman's Forbidden API Checker","fork":false,"url":"https://api.github.com/repos/policeman-tools/forbidden-apis","forks_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/forks","keys_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/teams","hooks_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/hooks","issue_events_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/issues/events{/number}","events_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/events","assignees_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/assignees{/user}","branches_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/branches{/branch}","tags_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/tags","blobs_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/git/refs{/sha}","trees_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/statuses/{sha}","languages_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/languages","stargazers_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/stargazers","contributors_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/contributors","subscribers_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/subscribers","subscription_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/subscription","commits_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/commits{/sha}","git_commits_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/git/commits{/sha}","comments_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/comments{/number}","issue_comment_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/issues/comments{/number}","contents_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/contents/{+path}","compare_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/merges","archive_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/downloads","issues_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/issues{/number}","pulls_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/pulls{/number}","milestones_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/milestones{/number}","notifications_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/labels{/name}","releases_url":"https://api.github.com/repos/policeman-tools/forbidden-apis/releases{/id}","created_at":"2015-03-13T22:50:03Z","updated_at":"2015-07-16T12:34:26Z","pushed_at":"2015-07-21T13:38:21Z","git_url":"git://github.com/policeman-tools/forbidden-apis.git","ssh_url":"git@github.com:policeman-tools/forbidden-apis.git","clone_url":"https://github.com/policeman-tools/forbidden-apis.git","svn_url":"https://github.com/policeman-tools/forbidden-apis","homepage":"","size":1135,"stargazers_count":21,"watchers_count":21,"language":"Java","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":9,"forks":4,"open_issues":9,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/policeman-tools/forbidden-apis/pulls/62"},"html":{"href":"https://github.com/policeman-tools/forbidden-apis/pull/62"},"issue":{"href":"https://api.github.com/repos/policeman-tools/forbidden-apis/issues/62"},"comments":{"href":"https://api.github.com/repos/policeman-tools/forbidden-apis/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/policeman-tools/forbidden-apis/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/policeman-tools/forbidden-apis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/policeman-tools/forbidden-apis/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/policeman-tools/forbidden-apis/statuses/5175156acfe8dc37ae71d297e8ea41c22caab004"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":83,"deletions":8,"changed_files":9}}