{"action":"created","issue":{"url":"https://api.github.com/repos/apache/ambari-infra/issues/22","repository_url":"https://api.github.com/repos/apache/ambari-infra","labels_url":"https://api.github.com/repos/apache/ambari-infra/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/apache/ambari-infra/issues/22/comments","events_url":"https://api.github.com/repos/apache/ambari-infra/issues/22/events","html_url":"https://github.com/apache/ambari-infra/pull/22","id":386735012,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MzgyODMz","number":22,"title":"[AMBARI-18361] Avoid unnecessary compilation","user":{"login":"adoroszlai","id":6454655,"node_id":"MDQ6VXNlcjY0NTQ2NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/6454655?v=4","gravatar_id":"","url":"https://api.github.com/users/adoroszlai","html_url":"https://github.com/adoroszlai","followers_url":"https://api.github.com/users/adoroszlai/followers","following_url":"https://api.github.com/users/adoroszlai/following{/other_user}","gists_url":"https://api.github.com/users/adoroszlai/gists{/gist_id}","starred_url":"https://api.github.com/users/adoroszlai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adoroszlai/subscriptions","organizations_url":"https://api.github.com/users/adoroszlai/orgs","repos_url":"https://api.github.com/users/adoroszlai/repos","events_url":"https://api.github.com/users/adoroszlai/events{/privacy}","received_events_url":"https://api.github.com/users/adoroszlai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"adoroszlai","id":6454655,"node_id":"MDQ6VXNlcjY0NTQ2NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/6454655?v=4","gravatar_id":"","url":"https://api.github.com/users/adoroszlai","html_url":"https://github.com/adoroszlai","followers_url":"https://api.github.com/users/adoroszlai/followers","following_url":"https://api.github.com/users/adoroszlai/following{/other_user}","gists_url":"https://api.github.com/users/adoroszlai/gists{/gist_id}","starred_url":"https://api.github.com/users/adoroszlai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adoroszlai/subscriptions","organizations_url":"https://api.github.com/users/adoroszlai/orgs","repos_url":"https://api.github.com/users/adoroszlai/repos","events_url":"https://api.github.com/users/adoroszlai/events{/privacy}","received_events_url":"https://api.github.com/users/adoroszlai/received_events","type":"User","site_admin":false},"assignees":[{"login":"adoroszlai","id":6454655,"node_id":"MDQ6VXNlcjY0NTQ2NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/6454655?v=4","gravatar_id":"","url":"https://api.github.com/users/adoroszlai","html_url":"https://github.com/adoroszlai","followers_url":"https://api.github.com/users/adoroszlai/followers","following_url":"https://api.github.com/users/adoroszlai/following{/other_user}","gists_url":"https://api.github.com/users/adoroszlai/gists{/gist_id}","starred_url":"https://api.github.com/users/adoroszlai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adoroszlai/subscriptions","organizations_url":"https://api.github.com/users/adoroszlai/orgs","repos_url":"https://api.github.com/users/adoroszlai/repos","events_url":"https://api.github.com/users/adoroszlai/events{/privacy}","received_events_url":"https://api.github.com/users/adoroszlai/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-12-03T09:48:10Z","updated_at":"2018-12-03T09:49:14Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/ambari-infra/pulls/22","html_url":"https://github.com/apache/ambari-infra/pull/22","diff_url":"https://github.com/apache/ambari-infra/pull/22.diff","patch_url":"https://github.com/apache/ambari-infra/pull/22.patch"},"body":"## What changes were proposed in this pull request?\n\nFix for:\n\n1. all `ambari-infra-manager` classes are recompiled even if none has changed\n2. all classes are recompiled in each submodule that has any changed java source\n\n```\n$ mvn clean test-compile\n$ mvn test-compile\n...\n[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ ambari-infra-manager ---\n[INFO] Changes detected - recompiling the module!\n[INFO] Compiling 100 source files to ambari-infra-manager/target/classes\n...\n$ touch ambari-infra-manager/src/main/java/org/apache/ambari/infra/conf/InfraManagerDataConfig.java\n$ mvn test-compile\n...\n[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ ambari-infra-manager ---\n[INFO] Changes detected - recompiling the module!\n[INFO] Compiling 100 source files to ambari-infra-manager/target/classes\n```\n\n## How was this patch tested?\n\n```\n$ mvn clean test-compile\n$ mvn test-compile\n...\n[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ ambari-infra-manager ---\n[INFO] Nothing to compile - all classes are up to date\n...\n$ touch ambari-infra-manager/src/main/java/org/apache/ambari/infra/conf/InfraManagerDataConfig.java\n$ mvn test-compile\n...\n[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ ambari-infra-manager ---\n[INFO] Compiling 1 source file to ambari-infra-manager/target/classes\n```\n\n```\n$ mvn clean test\n...\n[INFO] BUILD SUCCESS\n$ mvn test\n...\n[INFO] BUILD SUCCESS\n```"},"comment":{"url":"https://api.github.com/repos/apache/ambari-infra/issues/comments/443649956","html_url":"https://github.com/apache/ambari-infra/pull/22#issuecomment-443649956","issue_url":"https://api.github.com/repos/apache/ambari-infra/issues/22","id":443649956,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzY0OTk1Ng==","user":{"login":"asfgit","id":1341245,"node_id":"MDQ6VXNlcjEzNDEyNDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1341245?v=4","gravatar_id":"","url":"https://api.github.com/users/asfgit","html_url":"https://github.com/asfgit","followers_url":"https://api.github.com/users/asfgit/followers","following_url":"https://api.github.com/users/asfgit/following{/other_user}","gists_url":"https://api.github.com/users/asfgit/gists{/gist_id}","starred_url":"https://api.github.com/users/asfgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asfgit/subscriptions","organizations_url":"https://api.github.com/users/asfgit/orgs","repos_url":"https://api.github.com/users/asfgit/repos","events_url":"https://api.github.com/users/asfgit/events{/privacy}","received_events_url":"https://api.github.com/users/asfgit/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T09:49:14Z","updated_at":"2018-12-03T09:49:14Z","author_association":"NONE","body":"\nRefer to this link for build results (access rights to CI server needed): \nhttps://builds.apache.org/job/Ambari-Infra-Github-PR-Builder/32/\nTest PASSed.\n"}}
{"actor":{"display_login":"asfgit"}}