using nexus + yum plugin

5 views
Skip to first unread message

Max Kovgan

unread,
Mar 4, 2017, 9:27:07 AM3/4/17
to Nexus Yum Plugin
hi.
I'm toying with the idea of having nexus as the tool for the following process:
  1. "regular" maven pom.xml project:
    1. mvn clean install (which includes mvn package) builds its respective the RPM packages using rpm-maven-plugin
    2. mvn deploy uploads the respective rpm as maven artifact of type "rpm" into corresponding maven repository using maven semantics and methodology (mvn deploy, etc.)
    3. This artifact is not consumable conveniently by RPM/YUM/DNF based system
  2. "collection" maven pom.xml project:
    1. 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.
    2. 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
    3. Using command line tools (yumdownloader, repoclosure) I'm validating the repository is "good to go"
    4. 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?

Reply all
Reply to author
Forward
0 new messages