The eclass variable JAVA_RESOURCE_DIRS is currently used to copy recursively a folder from ${S} to the target folder to generate the jar archive later. Sometimes the resources are hidden among the folders containing the sources, with this patch it is possible to "extract" single file resources copying them to the destination recreating the full path. I have created a simple patch, PR available