Yum hosted repository -> repomd.xml upload

Hi Everyone

I configured a yum hosted repo using Nexus Repository. I uploaded the packages I want to store locally to the hosted repo, and I plan to use the yum install command during development. However, since the repomd.xml file is missing, I cannot use the hosted repo to pull the packages.

So I tried to upload the repomd.xml file to the yum hosted repo, but an error occurred and it didn’t upload. What should I do?
please help me …

version : Nexus repository OSS 3.57.0-01

Nexus will automatically create the repomd and associated files based on the RPMs in the repository.