I solved the immediate problem. My fault. The #requireResource that pulled in my web-resource was incorrect. In my atlassian-plugin.xml it is defined with ${atlassian.plugin.key} and when I expanded that out, I found an extra element tacked on the end.
I’m able to run the javascript now BUT it does not see any of the Velocity variables defined in the .vm. This was not a problem when the javascript was inlined. Does anyone know how this is supposed to work?
Thanks