[MEAR-247] resource-ref in generated application.xml o Added the generation of resource-ref entries in application.xml