Documenting the magic of fixing nexus apt repos


Edward Warnicke
 

I wanted to take a moment to document the magic that happened that I believe fixed the issues with apt repos in nexus.

This was the patch:


The trick was hinted to by:


"The indexer cannot find packages when there is a main artifact with the same name: If the artifacts are named like:

nexus-apt-plugin-0.5.jar
nexus-apt-plugin-0.5.deb
The indexer won't index the debian package. In order to make the indexer index the debian package it needs a classifier:

nexus-apt-plugin-0.5.jar
nexus-apt-plugin-0.5-all.deb
This is fine."

The realization was that the *pom* file is an artifact with the same name... so the patch 2426 adds a classifier in the 'deb' case.  Once that was done the indexer started working.

Ed

Join ci-management-dev@lists.fd.io to automatically receive all group messages.