{"action":"created","issue":{"url":"https://api.github.com/repos/pantsbuild/pants/issues/103","labels_url":"https://api.github.com/repos/pantsbuild/pants/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/pantsbuild/pants/issues/103/comments","events_url":"https://api.github.com/repos/pantsbuild/pants/issues/103/events","html_url":"https://github.com/pantsbuild/pants/issues/103","id":32915959,"number":103,"title":"jvm_binary resources are not jarred up","user":{"login":"jsirois","id":157586,"avatar_url":"https://avatars.githubusercontent.com/u/157586?v=3","gravatar_id":"","url":"https://api.github.com/users/jsirois","html_url":"https://github.com/jsirois","followers_url":"https://api.github.com/users/jsirois/followers","following_url":"https://api.github.com/users/jsirois/following{/other_user}","gists_url":"https://api.github.com/users/jsirois/gists{/gist_id}","starred_url":"https://api.github.com/users/jsirois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsirois/subscriptions","organizations_url":"https://api.github.com/users/jsirois/orgs","repos_url":"https://api.github.com/users/jsirois/repos","events_url":"https://api.github.com/users/jsirois/events{/privacy}","received_events_url":"https://api.github.com/users/jsirois/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pantsbuild/pants/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"jsirois","id":157586,"avatar_url":"https://avatars.githubusercontent.com/u/157586?v=3","gravatar_id":"","url":"https://api.github.com/users/jsirois","html_url":"https://github.com/jsirois","followers_url":"https://api.github.com/users/jsirois/followers","following_url":"https://api.github.com/users/jsirois/following{/other_user}","gists_url":"https://api.github.com/users/jsirois/gists{/gist_id}","starred_url":"https://api.github.com/users/jsirois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsirois/subscriptions","organizations_url":"https://api.github.com/users/jsirois/orgs","repos_url":"https://api.github.com/users/jsirois/repos","events_url":"https://api.github.com/users/jsirois/events{/privacy}","received_events_url":"https://api.github.com/users/jsirois/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2014-05-06T17:49:05Z","updated_at":"2015-02-24T09:22:39Z","closed_at":"2015-02-24T09:22:39Z","body":"By inspection, jvm_binary targets are skipped in the JarCreate task: The issue is specific to jvm_binary targets with resources ({java,scala}_library should work fine) - see: https://github.com/pantsbuild/pants/blob/master/src/python/pants/tasks/jar_create.py#L32\r\n\r\nThe binary task makes an attempt at getting the jvm_binary resources here: https://github.com/pantsbuild/pants/blob/master/src/python/pants/tasks/binary_create.py#L94\r\n\r\nBundleCreate however relies on the JarCreate products: https://github.com/pantsbuild/pants/blob/master/src/python/pants/tasks/bundle_create.py#L120\r\n\r\nSo sorting of all this across JarCreate, BinaryCreate & BundleCreate is needed."},"comment":{"url":"https://api.github.com/repos/pantsbuild/pants/issues/comments/75723350","html_url":"https://github.com/pantsbuild/pants/issues/103#issuecomment-75723350","issue_url":"https://api.github.com/repos/pantsbuild/pants/issues/103","id":75723350,"user":{"login":"jsirois","id":157586,"avatar_url":"https://avatars.githubusercontent.com/u/157586?v=3","gravatar_id":"","url":"https://api.github.com/users/jsirois","html_url":"https://github.com/jsirois","followers_url":"https://api.github.com/users/jsirois/followers","following_url":"https://api.github.com/users/jsirois/following{/other_user}","gists_url":"https://api.github.com/users/jsirois/gists{/gist_id}","starred_url":"https://api.github.com/users/jsirois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsirois/subscriptions","organizations_url":"https://api.github.com/users/jsirois/orgs","repos_url":"https://api.github.com/users/jsirois/repos","events_url":"https://api.github.com/users/jsirois/events{/privacy}","received_events_url":"https://api.github.com/users/jsirois/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T09:22:39Z","updated_at":"2015-02-24T09:22:39Z","body":"This work was completed in https://rbcommons.com/s/twitter/r/315/"}}