The problem with the resources target approach is ...
# general
e
The problem with the resources target approach is I was assuming the resources target would get processed by pants before your entity target, but I think that's wrong and it gets processed at the same time - which is too late for javac (IOW: the resources target will not be on the entity target classpath during compilation)