YUM repository for Maven managed repository


#1

Nexus 2 has spectacular capability to scan maven repository and create YUM repository for it.

This was used in our building and distribution process.
We are using rpm-maven-plugin with attached-rpm goal for building and deploying artifacts and rpms to the nexus repository.

Than Nexus creates YUM repositories and merges them into groups.

We just point YUM client to nexus manager and install our artifacts on desired server.

As far as I understand Nexus 3 does not have such capability.

Now it is mandatory to select Maven or YUM repository type.

Do you have any plans to implement this capability in Nexus 3?
Otherwise we will have to keep working with Nexus 2.


#2

That functionality is not planned for Nexus Repo 3, yum and maven repositories are separate entities in it.

I do have a few thoughts though…

If you’re using Jenkins for these deploys you could have the Nexus Platform plugin separately deploy the rpm file at the end of the maven build:

https://help.sonatype.com/display/NXI/Nexus+Platform+Plugin+for+Jenkins

Or, if you’re using Nexus Repo Pro you could tag the rpm files, and use staging to move them into a yum repository.

https://help.sonatype.com/display/NXRM3/Tagging
https://help.sonatype.com/display/NXRM3/Staging

Rich