{"action":"created","issue":{"url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/172","labels_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/172/comments","events_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/172/events","html_url":"https://github.com/jcabi/jcabi-aspects/pull/172","id":95946383,"number":172,"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},"labels":[{"url":"https://api.github.com/repos/jcabi/jcabi-aspects/labels/15%20mins","name":"15 mins","color":"eb6421"},{"url":"https://api.github.com/repos/jcabi/jcabi-aspects/labels/@ggajos","name":"@ggajos","color":"009801"},{"url":"https://api.github.com/repos/jcabi/jcabi-aspects/labels/CR","name":"CR","color":"bfd4f3"}],"state":"open","locked":false,"assignee":{"login":"ggajos","id":988790,"avatar_url":"https://avatars.githubusercontent.com/u/988790?v=3","gravatar_id":"","url":"https://api.github.com/users/ggajos","html_url":"https://github.com/ggajos","followers_url":"https://api.github.com/users/ggajos/followers","following_url":"https://api.github.com/users/ggajos/following{/other_user}","gists_url":"https://api.github.com/users/ggajos/gists{/gist_id}","starred_url":"https://api.github.com/users/ggajos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggajos/subscriptions","organizations_url":"https://api.github.com/users/ggajos/orgs","repos_url":"https://api.github.com/users/ggajos/repos","events_url":"https://api.github.com/users/ggajos/events{/privacy}","received_events_url":"https://api.github.com/users/ggajos/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2015-07-19T20:31:23Z","updated_at":"2015-07-23T18:04:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/172","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"},"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"},"comment":{"url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/comments/124188095","html_url":"https://github.com/jcabi/jcabi-aspects/pull/172#issuecomment-124188095","issue_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/172","id":124188095,"user":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T18:04:15Z","updated_at":"2015-07-23T18:04:15Z","body":"@rultor try to merge again"}}