infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Commented) (JIRA)" <>
Subject [jira] [Commented] (INFRA-4144) Allow Nexus to act as staging repo for /dist mirrors
Date Fri, 02 Dec 2011 15:47:40 GMT


Sebb commented on INFRA-4144:

> Are you proposing be used for non-maven artifacts that will NOT
be promoted to the releases repository?


> Are your looking for a way to stage both maven to 'releases' and non-maven to [only]
'/dist' for the same project?

Maven to releases repo and non-Maven to /dist.

> If so, is there benefit to this? 

Usually one Maven deploy command to upload all the files.
One staging directory for voting and checking.
One button to release or abandon all the artifacts.
Same process for all published artifacts.

> Why not stage/deploy all artifacts to 'release' ? (If they needing to be sync'd to /dist
that could be done as well)

AIUI, non-Maven artifacts must be published for download from the Apache mirror system, i.e
This is also how the archive system works; /dist is copied to

If they are also copied to the release repository as well, then requires a lot more space
on the repo servers, as binary releases in particular are often many times bigger than the

The Mirroring system relies on superseded releases being removed in order to prevent the mirrors
becoming too large.
AFAIK, this cannot happen with Maven Central as artifacts are never deleted.
> Allow Nexus to act as staging repo for /dist mirrors
> ----------------------------------------------------
>                 Key: INFRA-4144
>                 URL:
>             Project: Infrastructure
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Nexus
>            Reporter: Sebb
>            Assignee: Brian Demers
> Nexus is generally used to stage Maven artifacts for release votes.
> It's possible to use Nexus to store the non-Maven archives so that there is a single
public download location for the release vote.
> However, the non-Maven archives have to manually copid to the /dist mirror when the vote
> They then have to be deleted from the staging area before it is released/promoted.
> This is tedious and error-prone.
> It would be very useful if Nexus could also be used for staging the archives intended
for the dist mirrors (non-Maven)
> The process would be:
> - RM uploads both the Maven and non-Maven artifacts to Nexus, e.g. using "mvn deploy"
(but see below)
> - RM checks the contents and closes the staging repo
> - run the vote using the public staging repo as the source location for all release packages
> - if the vote succeeds, releasing/promoting the staging repo would publish the Maven
artifacts to the Maven releases repo, and publish the non-Maven archives to the /dist mirror
> The Nexus GUI needs to have some way to distinguish which packages are Maven packages,
and which are not.
> This is essential to ensure that the packages will be correctly deployed.
> Perhaps by using a different directory in the same part of the tree?
> It also needs to be possible to easily upload non-Maven packages without using Maven.
> The intention is to have a single staging location which can be used for all Apache releases,
whether using Maven or not.
> P.S. I'm happy to help with testing this. I suggest setting up a dummy project for the

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message