<br><div class="gmail_quote">On Mon, Mar 12, 2012 at 1:44 PM, ceki <span dir="ltr"><<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 12.03.2012 18:08, ceki wrote:<br>
<br>
As stated by Joel Orlina in OSSRH-3121 [1], configuration has been prepared for hosting a repository for logback on oss.sonatype.<br>
<br>
He writes:<br>
<br>
Configuration has been prepared, now you can:<br>
<br>
repo_1) Deploy snapshot artifacts into repository<br>
<a href="https://oss.sonatype.org/content/repositories/snapshots" target="_blank">https://oss.sonatype.org/<u></u>content/repositories/snapshots</a><br>
<br>
repo_2) Deploy release artifacts into the staging repository <a href="https://oss.sonatype.org/service/local/staging/deploy/maven2" target="_blank">https://oss.sonatype.org/<u></u>service/local/staging/deploy/<u></u>maven2</a><br>
<br>
Promote staged artifacts into repository 'Releases'<br>
<br>
repo_3) Download snapshot and release artifacts from group<br>
<a href="https://oss.sonatype.org/content/groups/public" target="_blank">https://oss.sonatype.org/<u></u>content/groups/public</a><br>
<br>
repo_4) Download snapshot, release and staged artifacts from staging group <a href="https://oss.sonatype.org/content/groups/staging" target="_blank">https://oss.sonatype.org/<u></u>content/groups/staging</a><br>
<br>
<br>
I can see use for repo_1 for deploying snapshots and repo_2 for releasing artifacts (to be subsequently synced with Maven Central). However, what use is there for repo_3 and repo_4?<br></blockquote><div><br></div><div><a href="https://oss.sonatype.org/index.html#view-repositories">https://oss.sonatype.org/index.html#view-repositories</a> provides some help in understanding this.<br>
</div><div><br></div><div>Repo 3 and 4 are both group repositories, which generally mean they are an aggregation of other repositories and don't actually hold content on their own. User's generally use these to limit the number of repositories they have to point to. As the comment indicates, repo 3 is where most users would go to get the actual release artifacts (if they don't go to Central) and it also includes the snapshot repository. Repo 4 contains the artifacts that have been staged. From the comments it apparently also includes the release and snapshot repos as well as staging.</div>
<div><br></div><div>Repositories that actually hold content are "hosted" while others are proxies for other Maven repositories hosted somewhere else.</div><div><br></div><div>Repo 1 and Repo 2 are where you will deploy to.</div>
<div><br></div><div>Repo 2.5 (The Releases repository mentioned) is actually <a href="https://oss.sonatype.org/content/repositories/releases/">https://oss.sonatype.org/content/repositories/releases/</a> and is included in Repo 3 and 4.</div>
<div><br></div><div>IOW (at least if I understand the comments in your note correctly) - Repo 3 is the aggregation of the Releases and Snapshots repositories while Repo 4 is the aggregation of the Releases, Snapshots and Staging repositories.</div>
</div>