hi.
- "regular" maven pom.xml project:
- mvn clean install (which includes mvn package) builds its respective the RPM packages using rpm-maven-plugin
- mvn deploy uploads the respective rpm as maven artifact of type "rpm" into corresponding maven repository using maven semantics and methodology (mvn deploy, etc.)
- This artifact is not consumable conveniently by RPM/YUM/DNF based system
- "collection" maven pom.xml project:
- is generated from a simplified .yml file containing thin metadata for RPMs finding (pom.xml is generated by a tool) it is in fact just a lit of dependencies and RPM constraints.
- Using repositorytools python tools I am collecting the RPMs at current latest version and create a "current" (timestamp based or version based) local YUM repository
- Using command line tools (yumdownloader, repoclosure) I'm validating the repository is "good to go"
- Now I want to create a Nexus served YUM repository of the collection I have now checked and happy with, TBD :)
Ideally at 2.4 I would want to do something like "create virtual REPO using the following RPM artifacts: a==1.2.3,b==1.25.54, etc."
What would be REST API Call list to do this?
Is there a ready python tool to wrap this?