My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads

Nexus Yum Plugin

A plugin for Sonatype Nexus 1.9.2.x or 2.0.x which recognizes RPMs in Nexus repositories and creates Yum metadata, so that RedHat-compatible system can use Nexus as software repository.

Audience

The Nexus Yum Plugin is for all guys, who are deploying Java application for RedHat-compatible servers and deploy via RPM.

How we use it - Continuous Live Deployment (CLD) at IS24

History

Normally, Sonatype Nexus is a common repository manager for Maven, used by many companies to manage their Java artifacts like JAR, WAR, pom.xml files. We at IS24 started to deploy our configurations and java applications via RPMs and needed a repository manager for our application RPMs. Ok, we already had Sonatype Nexus with its nice Maven integration, why don't we use it as Yum Repository. The plugin was born.

Content

Features

  • Use every nexus maven repository with RPMs in it as yum repository.
  • The yum repositories are automatically updated if you upload/deploy/delete a new RPM into nexus.
  • Use nexus group repositories to merge two or more yum repositories to one single yum repository
  • Have versionized views on repositories: http://your.nexus/nexus/service/local/yum/repos/releases/1.2.3/ gives you a yum repository with all packages in version 1.2.3 in repository releases.
  • You can define aliases for specific version eg. production=1.2 and testing=2.0 and access them via the alias: http://your.nexus/nexus/service/local/yum/repos/releases/testing/ and http://your.nexus/nexus/service/local/yum/repos/releases/production/ to get constant repository URLs for your servers. A new release is then applied to the server via setting the alias to a new version.

Releases

  • 2012-03-05: Release 2.0.1.0
    • fixed  ISSUE 8 : This version is compatible with Nexus 2.0, NOT compatible with Nexus 1.9.x anymore.
  • 2012-03-02: Release 1.17
    • New Feature: Maven yum group repositories, merge two or more repositories into one Nexus group repository.
  • 2012-01-31: Release 1.16
    • fixed  ISSUE 3 : could not build project because redline artifacts are not available in public
    • fixed  ISSUE 7 : update yum metadata when a rpm file is deleted
  • 2011-11-09: Release 1.15
    • fixed  ISSUE 2 : problem with javax.xml.bind.UnmarshalException - with linked Exception java.io.FileNotFoundException at nexus start
  • 2011-11-08: Release 1.14
    • fixed  ISSUE 1 : problem with java.net.MalformedURLException at nexus start
    • option to switch of alias and versionized view in yum.xml
  • 2011-11-04: Release 1.13 (first open source version)
Powered by Google Project Hosting