ISPN-4524 Query should not reindex cache entries on preload or activation
Generate the component metadata file in the generated-resources directory, so that it doesn't force a recompile of the module every time.