ISPN-4948 Fixed version
Generate the component metadata file in the generated-resources directory, so that it doesn't force a recompile of the module every time.