{"action":"created","issue":{"url":"https://api.github.com/repos/hekonsek/zed/issues/30","labels_url":"https://api.github.com/repos/hekonsek/zed/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/hekonsek/zed/issues/30/comments","events_url":"https://api.github.com/repos/hekonsek/zed/issues/30/events","html_url":"https://github.com/hekonsek/zed/issues/30","id":53664952,"number":30,"title":"[maven-plugin] Try to read filtered deploy file from the target directory","user":{"login":"hekonsek","id":822903,"avatar_url":"https://avatars.githubusercontent.com/u/822903?v=3","gravatar_id":"","url":"https://api.github.com/users/hekonsek","html_url":"https://github.com/hekonsek","followers_url":"https://api.github.com/users/hekonsek/followers","following_url":"https://api.github.com/users/hekonsek/following{/other_user}","gists_url":"https://api.github.com/users/hekonsek/gists{/gist_id}","starred_url":"https://api.github.com/users/hekonsek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hekonsek/subscriptions","organizations_url":"https://api.github.com/users/hekonsek/orgs","repos_url":"https://api.github.com/users/hekonsek/repos","events_url":"https://api.github.com/users/hekonsek/events{/privacy}","received_events_url":"https://api.github.com/users/hekonsek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-07T18:32:48Z","updated_at":"2015-01-21T21:21:14Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/hekonsek/zed/issues/comments/70924078","html_url":"https://github.com/hekonsek/zed/issues/30#issuecomment-70924078","issue_url":"https://api.github.com/repos/hekonsek/zed/issues/30","id":70924078,"user":{"login":"hekonsek","id":822903,"avatar_url":"https://avatars.githubusercontent.com/u/822903?v=3","gravatar_id":"","url":"https://api.github.com/users/hekonsek","html_url":"https://github.com/hekonsek","followers_url":"https://api.github.com/users/hekonsek/followers","following_url":"https://api.github.com/users/hekonsek/following{/other_user}","gists_url":"https://api.github.com/users/hekonsek/gists{/gist_id}","starred_url":"https://api.github.com/users/hekonsek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hekonsek/subscriptions","organizations_url":"https://api.github.com/users/hekonsek/orgs","repos_url":"https://api.github.com/users/hekonsek/repos","events_url":"https://api.github.com/users/hekonsek/events{/privacy}","received_events_url":"https://api.github.com/users/hekonsek/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T21:21:14Z","updated_at":"2015-01-21T21:21:14Z","body":"Currently Maven plugin looks up only in the `src/main/resources/META-INF/zed/deploy` directory to find the `deploy` file. We should try to look for the deploy file in the `target/classes/META-INF/zed/deploy` in the first place, then fallback to `src/main/resources/META-INF/zed/deploy` if `target/classes/META-INF/zed/deploy` doesn't exist.\r\n\r\nWe need to follow this approach to take advantage of the Maven resource filtering [1]. If we do it, then with resource filtering enabled, we will be able to use versions placeholders in deploy scripts:\r\n\r\n    deploy mvn:com.example/foo/${foo.version}\r\n\r\n[1] http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html"}}