UseJava: Copy resource files before compiling the jar (#13360)

Co-Author: Mary Ellen Foster <mefoster@gmail.com>
Merge topic 'UseJava-fix-resource-copy' into next

2abd8efe UseJava: Copy resource files before compiling the jar (#13360)