{"action":"opened","number":172,"pull_request":{"url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/172","id":40314494,"html_url":"https://github.com/jcabi/jcabi-aspects/pull/172","diff_url":"https://github.com/jcabi/jcabi-aspects/pull/172.diff","patch_url":"https://github.com/jcabi/jcabi-aspects/pull/172.patch","issue_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/172","number":172,"state":"open","locked":false,"title":"Use proper source-filtering instead of resource-filtering","user":{"login":"Suseika","id":4467948,"avatar_url":"https://avatars.githubusercontent.com/u/4467948?v=3","gravatar_id":"","url":"https://api.github.com/users/Suseika","html_url":"https://github.com/Suseika","followers_url":"https://api.github.com/users/Suseika/followers","following_url":"https://api.github.com/users/Suseika/following{/other_user}","gists_url":"https://api.github.com/users/Suseika/gists{/gist_id}","starred_url":"https://api.github.com/users/Suseika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Suseika/subscriptions","organizations_url":"https://api.github.com/users/Suseika/orgs","repos_url":"https://api.github.com/users/Suseika/repos","events_url":"https://api.github.com/users/Suseika/events{/privacy}","received_events_url":"https://api.github.com/users/Suseika/received_events","type":"User","site_admin":false},"body":"The issue was that in pom.xml, `src/main/java` was marked as a resource directory in order to use resource filtering to insert project version and buildNumber into some classes at build time. And that made IntelliJ IDEA (and probably other IDEs, too) treat all the sources as resource directories, disabling some source editing features.\n\nIn #167, I suggested to use `replacer` plugin instead of standard resource filtering, but later found an even better alternative, which is `templating-maven-plugin`.\n\nI moved all the templates for sources in a separate java-templates directory and set up source generation with `templating-maven-plugin` so IntelliJ IDEA treats the rest of sources as actual Java source code.\n\nFixes #167","created_at":"2015-07-19T20:31:23Z","updated_at":"2015-07-19T20:31:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/172/commits","review_comments_url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/172/comments","review_comment_url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/172/comments","statuses_url":"https://api.github.com/repos/jcabi/jcabi-aspects/statuses/1f31118748aa55fc638051bad62c043d4474c992","head":{"label":"Suseika:167","ref":"167","sha":"1f31118748aa55fc638051bad62c043d4474c992","user":{"login":"Suseika","id":4467948,"avatar_url":"https://avatars.githubusercontent.com/u/4467948?v=3","gravatar_id":"","url":"https://api.github.com/users/Suseika","html_url":"https://github.com/Suseika","followers_url":"https://api.github.com/users/Suseika/followers","following_url":"https://api.github.com/users/Suseika/following{/other_user}","gists_url":"https://api.github.com/users/Suseika/gists{/gist_id}","starred_url":"https://api.github.com/users/Suseika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Suseika/subscriptions","organizations_url":"https://api.github.com/users/Suseika/orgs","repos_url":"https://api.github.com/users/Suseika/repos","events_url":"https://api.github.com/users/Suseika/events{/privacy}","received_events_url":"https://api.github.com/users/Suseika/received_events","type":"User","site_admin":false},"repo":{"id":38757082,"name":"jcabi-aspects","full_name":"Suseika/jcabi-aspects","owner":{"login":"Suseika","id":4467948,"avatar_url":"https://avatars.githubusercontent.com/u/4467948?v=3","gravatar_id":"","url":"https://api.github.com/users/Suseika","html_url":"https://github.com/Suseika","followers_url":"https://api.github.com/users/Suseika/followers","following_url":"https://api.github.com/users/Suseika/following{/other_user}","gists_url":"https://api.github.com/users/Suseika/gists{/gist_id}","starred_url":"https://api.github.com/users/Suseika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Suseika/subscriptions","organizations_url":"https://api.github.com/users/Suseika/orgs","repos_url":"https://api.github.com/users/Suseika/repos","events_url":"https://api.github.com/users/Suseika/events{/privacy}","received_events_url":"https://api.github.com/users/Suseika/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Suseika/jcabi-aspects","description":"Collection of AOP/AspectJ Java Aspects","fork":true,"url":"https://api.github.com/repos/Suseika/jcabi-aspects","forks_url":"https://api.github.com/repos/Suseika/jcabi-aspects/forks","keys_url":"https://api.github.com/repos/Suseika/jcabi-aspects/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Suseika/jcabi-aspects/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Suseika/jcabi-aspects/teams","hooks_url":"https://api.github.com/repos/Suseika/jcabi-aspects/hooks","issue_events_url":"https://api.github.com/repos/Suseika/jcabi-aspects/issues/events{/number}","events_url":"https://api.github.com/repos/Suseika/jcabi-aspects/events","assignees_url":"https://api.github.com/repos/Suseika/jcabi-aspects/assignees{/user}","branches_url":"https://api.github.com/repos/Suseika/jcabi-aspects/branches{/branch}","tags_url":"https://api.github.com/repos/Suseika/jcabi-aspects/tags","blobs_url":"https://api.github.com/repos/Suseika/jcabi-aspects/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Suseika/jcabi-aspects/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Suseika/jcabi-aspects/git/refs{/sha}","trees_url":"https://api.github.com/repos/Suseika/jcabi-aspects/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Suseika/jcabi-aspects/statuses/{sha}","languages_url":"https://api.github.com/repos/Suseika/jcabi-aspects/languages","stargazers_url":"https://api.github.com/repos/Suseika/jcabi-aspects/stargazers","contributors_url":"https://api.github.com/repos/Suseika/jcabi-aspects/contributors","subscribers_url":"https://api.github.com/repos/Suseika/jcabi-aspects/subscribers","subscription_url":"https://api.github.com/repos/Suseika/jcabi-aspects/subscription","commits_url":"https://api.github.com/repos/Suseika/jcabi-aspects/commits{/sha}","git_commits_url":"https://api.github.com/repos/Suseika/jcabi-aspects/git/commits{/sha}","comments_url":"https://api.github.com/repos/Suseika/jcabi-aspects/comments{/number}","issue_comment_url":"https://api.github.com/repos/Suseika/jcabi-aspects/issues/comments{/number}","contents_url":"https://api.github.com/repos/Suseika/jcabi-aspects/contents/{+path}","compare_url":"https://api.github.com/repos/Suseika/jcabi-aspects/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Suseika/jcabi-aspects/merges","archive_url":"https://api.github.com/repos/Suseika/jcabi-aspects/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Suseika/jcabi-aspects/downloads","issues_url":"https://api.github.com/repos/Suseika/jcabi-aspects/issues{/number}","pulls_url":"https://api.github.com/repos/Suseika/jcabi-aspects/pulls{/number}","milestones_url":"https://api.github.com/repos/Suseika/jcabi-aspects/milestones{/number}","notifications_url":"https://api.github.com/repos/Suseika/jcabi-aspects/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Suseika/jcabi-aspects/labels{/name}","releases_url":"https://api.github.com/repos/Suseika/jcabi-aspects/releases{/id}","created_at":"2015-07-08T13:52:06Z","updated_at":"2015-07-08T13:52:07Z","pushed_at":"2015-07-19T20:20:47Z","git_url":"git://github.com/Suseika/jcabi-aspects.git","ssh_url":"git@github.com:Suseika/jcabi-aspects.git","clone_url":"https://github.com/Suseika/jcabi-aspects.git","svn_url":"https://github.com/Suseika/jcabi-aspects","homepage":"aspects.jcabi.com","size":4160,"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":"jcabi:master","ref":"master","sha":"d1803e1d6b7cf922c682cb6fbd5fac5b2e0583ca","user":{"login":"jcabi","id":5272640,"avatar_url":"https://avatars.githubusercontent.com/u/5272640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcabi","html_url":"https://github.com/jcabi","followers_url":"https://api.github.com/users/jcabi/followers","following_url":"https://api.github.com/users/jcabi/following{/other_user}","gists_url":"https://api.github.com/users/jcabi/gists{/gist_id}","starred_url":"https://api.github.com/users/jcabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcabi/subscriptions","organizations_url":"https://api.github.com/users/jcabi/orgs","repos_url":"https://api.github.com/users/jcabi/repos","events_url":"https://api.github.com/users/jcabi/events{/privacy}","received_events_url":"https://api.github.com/users/jcabi/received_events","type":"Organization","site_admin":false},"repo":{"id":12590126,"name":"jcabi-aspects","full_name":"jcabi/jcabi-aspects","owner":{"login":"jcabi","id":5272640,"avatar_url":"https://avatars.githubusercontent.com/u/5272640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcabi","html_url":"https://github.com/jcabi","followers_url":"https://api.github.com/users/jcabi/followers","following_url":"https://api.github.com/users/jcabi/following{/other_user}","gists_url":"https://api.github.com/users/jcabi/gists{/gist_id}","starred_url":"https://api.github.com/users/jcabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcabi/subscriptions","organizations_url":"https://api.github.com/users/jcabi/orgs","repos_url":"https://api.github.com/users/jcabi/repos","events_url":"https://api.github.com/users/jcabi/events{/privacy}","received_events_url":"https://api.github.com/users/jcabi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jcabi/jcabi-aspects","description":"Collection of AOP/AspectJ Java Aspects","fork":false,"url":"https://api.github.com/repos/jcabi/jcabi-aspects","forks_url":"https://api.github.com/repos/jcabi/jcabi-aspects/forks","keys_url":"https://api.github.com/repos/jcabi/jcabi-aspects/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcabi/jcabi-aspects/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcabi/jcabi-aspects/teams","hooks_url":"https://api.github.com/repos/jcabi/jcabi-aspects/hooks","issue_events_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/events{/number}","events_url":"https://api.github.com/repos/jcabi/jcabi-aspects/events","assignees_url":"https://api.github.com/repos/jcabi/jcabi-aspects/assignees{/user}","branches_url":"https://api.github.com/repos/jcabi/jcabi-aspects/branches{/branch}","tags_url":"https://api.github.com/repos/jcabi/jcabi-aspects/tags","blobs_url":"https://api.github.com/repos/jcabi/jcabi-aspects/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcabi/jcabi-aspects/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcabi/jcabi-aspects/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcabi/jcabi-aspects/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcabi/jcabi-aspects/statuses/{sha}","languages_url":"https://api.github.com/repos/jcabi/jcabi-aspects/languages","stargazers_url":"https://api.github.com/repos/jcabi/jcabi-aspects/stargazers","contributors_url":"https://api.github.com/repos/jcabi/jcabi-aspects/contributors","subscribers_url":"https://api.github.com/repos/jcabi/jcabi-aspects/subscribers","subscription_url":"https://api.github.com/repos/jcabi/jcabi-aspects/subscription","commits_url":"https://api.github.com/repos/jcabi/jcabi-aspects/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcabi/jcabi-aspects/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcabi/jcabi-aspects/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcabi/jcabi-aspects/contents/{+path}","compare_url":"https://api.github.com/repos/jcabi/jcabi-aspects/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcabi/jcabi-aspects/merges","archive_url":"https://api.github.com/repos/jcabi/jcabi-aspects/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcabi/jcabi-aspects/downloads","issues_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues{/number}","pulls_url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls{/number}","milestones_url":"https://api.github.com/repos/jcabi/jcabi-aspects/milestones{/number}","notifications_url":"https://api.github.com/repos/jcabi/jcabi-aspects/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcabi/jcabi-aspects/labels{/name}","releases_url":"https://api.github.com/repos/jcabi/jcabi-aspects/releases{/id}","created_at":"2013-09-04T12:25:37Z","updated_at":"2015-07-07T13:55:15Z","pushed_at":"2015-07-09T10:23:38Z","git_url":"git://github.com/jcabi/jcabi-aspects.git","ssh_url":"git@github.com:jcabi/jcabi-aspects.git","clone_url":"https://github.com/jcabi/jcabi-aspects.git","svn_url":"https://github.com/jcabi/jcabi-aspects","homepage":"aspects.jcabi.com","size":5597,"stargazers_count":128,"watchers_count":128,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":53,"mirror_url":null,"open_issues_count":28,"forks":53,"open_issues":28,"watchers":128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/172"},"html":{"href":"https://github.com/jcabi/jcabi-aspects/pull/172"},"issue":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/172"},"comments":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/172/comments"},"review_comments":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/172/comments"},"review_comment":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/172/commits"},"statuses":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/statuses/1f31118748aa55fc638051bad62c043d4474c992"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":262,"deletions":19,"changed_files":8}}