Skip to content

Commit 6e4b5a0

Browse files
committed
Since the move from Sonatype Nexus to Maven Central, we do not publish any SNAPSHOT versions anymore
1 parent 40ba87d commit 6e4b5a0

File tree

5 files changed

+12
-87
lines changed

5 files changed

+12
-87
lines changed

cargo/Building.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ <h3 id="Building-ArtifactTransferExceptionwithMaven3.8.1onwards"><code>ArtifactT
327327
Blocked mirror for repositories: [ow2-snapshot (http://repository.ow2.org/nexus/content/repositories/snapshots, default, snapshots)]</pre>
328328
</div>
329329
</div>
330-
<p>To work around the issue, create a <code>settings.xml</code> file in your <code>.m2</code> home which overrides the HTTP-based OW2 SNAPSHOTS repository:</p>
330+
<p>To work around the issue, create a <code>settings.xml</code> file in your <code>.m2</code> home which overrides the HTTP-based OW2 snapshots repository:</p>
331331
<div class="code panel pdl conf-macro output-block" style="border-width: 1px;">
332332
<div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;">
333333
<b>settings.xml sample</b>

cargo/Cookies.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -289,11 +289,7 @@ <h3 id="Navigation-Development">Development</h3>
289289
<li>As you visit the various pages of the Codehaus Cargo website, Google Analytics helps us track the activity on the Codehaus Cargo website, to see where people click, how they navigate between sections, so that we can understand and optimize our content structure and make it easier to use. Google Analytics' privacy policy is part of the Google Global Privacy Policy, <a href="https://www.google.com/policies/privacy/">accessible here</a>.</li>
290290
<li>Our mailing lists use Google Groups, for which the <a href="https://www.google.com/policies/privacy/">Google Global Privacy Policy</a> also applies.</li>
291291
<li>For the Documentation as well as the Issue Tracker (JIRA), Codehaus Cargo relies on the Atlassian Cloud services. Their privacy policy can be accessed <a href="https://www.atlassian.com/legal/privacy-policy/">using this link</a>.</li>
292-
<li>The downloadable content (tagged and also SNAPSHOT binaries in particular) are hosted in two places:
293-
<ul>
294-
<li>The tagged versions are stored mostly on the Apache Maven repository. Their privacy policy can be read <a href="https://maven.apache.org/privacy-policy.html">here</a>.</li>
295-
<li>The SNAPSHOT versions are hosted on the Sonatype repository, who publish their privacy policy <a href="http://www.sonatype.com/usage/privacy-policy">here</a>.</li>
296-
</ul></li>
292+
<li>The downloadable content are hosted on the Apache Maven (central) repository. Their privacy policy can be read <a href="https://maven.apache.org/privacy-policy.html">here</a>.</li>
297293
<li>Finally, our Continous Integration system, Semaphore, have their privacy policy published <a href="https://semaphoreci.com/privacy">on their website</a>.</li>
298294
</ul>
299295
<p>Other parts of Codehaus Cargo with Web interfaces, in particular the <a href="Cargo+Daemon.html">Cargo Daemon</a>, do not use any cookies nor do they track users in any way.</p>

cargo/Downloads.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -617,11 +617,8 @@ <h3 id="Downloads-Documentation">Documentation</h3>
617617
<p>Documentation for Codehaus Cargo 1.10.19 can be found&nbsp;<a href="attachments/CARGO-1.10.19.zip">here</a>.</p>
618618
<p><span class="confluence-anchor-link conf-macro output-inline" id="Downloads-continousBuilds"><span class="confluence-anchor-link" id="continousBuilds"> </span></span></p>
619619
<h3 id="Downloads-Versioncurrentlybeingdeveloped">Version currently being developed</h3>
620-
<p>If you want to get access to the version currently being developed, you have two options:</p>
621-
<ul>
622-
<li>Every time there is a code change, the <a href="https://codehaus-cargo.semaphoreci.com/projects/cargo">Continous Integration system</a> will build and deploy it onto the <a href="https://oss.sonatype.org/content/repositories/snapshots/org/codehaus/cargo/">Sonatype snapshot repository</a>.</li>
623-
<li>You can also build the latest <code>SNAPSHOT</code> version yourself by referring to the instructions in the <a href="Building.html">Building</a> page.</li>
624-
</ul>
620+
<p>If you want to get access to the version currently being developed, please refer to the instructions in the <a href="Building.html">Building</a> page to build the latest <code>SNAPSHOT</code> version yourself.</p>
621+
<p>Since the move from Sonatype Nexus to Maven Central, we do not publish any <code>SNAPSHOT</code> versions anymore.</p>
625622
<h3 id="Downloads-Olderversions">Older versions</h3>
626623
<p>Older downloads can be found in the <a href="Archived+Downloads.html">Archived Downloads</a> section.</p>
627624
<h3 id="Downloads-VersionStatus">Version Status</h3>

cargo/Maven+3+Plugin+Installation.html

Lines changed: 4 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -286,79 +286,11 @@ <h1 id="Maven3PluginInstallation-Installation">Installation</h1>
286286
<p>This plugin has been built exclusively for Maven 3.x, and our <a href="https://codehaus-cargo.semaphoreci.com/projects/cargo">Continous Integration system</a> tests it on Maven version 3.5.4.</p>
287287
<h3 id="Maven3PluginInstallation-Releases">Releases</h3>
288288
<p>The Codehaus Cargo&nbsp;Maven 3 Plugin (and all other Cargo artifacts) are hosted at <a href="https://repo.maven.org/maven2/org/codehaus/cargo/">Maven central</a>. As Maven is configured for Maven central by default, no additional installation or repository configuration is necessary to use the plugin.</p>
289-
<p><span class="confluence-anchor-link conf-macro output-inline" id="Maven3PluginInstallation-snapshots"><span class="confluence-anchor-link" id="snapshots"> </span></span></p>
289+
<p>
290+
<br>
291+
</p>
290292
<h3 id="Maven3PluginInstallation-Snapshots">Snapshots</h3>
291-
<p>There are also snapshot releases of the Codehaus Cargo&nbsp;Maven 3 plugin (and all other Cargo artifacts) available through the <a href="https://oss.sonatype.org/content/repositories/snapshots/">Sonatype snapshot repository</a>. Snapshot releases are deployed automatically by the <a href="https://codehaus-cargo.semaphoreci.com/projects/cargo">Continous Integration system</a>.</p>
292-
<p>If you want use snapshot versions of the Cargo Maven Plugin, you'll need to add this repository to your POM, settings file, or repository manager:</p>
293-
<div class="code panel pdl conf-macro output-block" style="border-width: 1px;">
294-
<div class="codeContent panelContent pdl">
295-
<pre class="syntaxhighlighter-pre">[...]
296-
&lt;pluginRepositories&gt;
297-
&lt;pluginRepository&gt;
298-
&lt;id&gt;sonatype-snapshots&lt;/id&gt;
299-
&lt;name&gt;Sonatype Snapshots&lt;/name&gt;
300-
&lt;url&gt;https://oss.sonatype.org/content/repositories/snapshots/&lt;/url&gt;
301-
&lt;releases&gt;
302-
&lt;enabled&gt;false&lt;/enabled&gt;
303-
&lt;/releases&gt;
304-
&lt;snapshots&gt;
305-
&lt;enabled&gt;true&lt;/enabled&gt;
306-
&lt;/snapshots&gt;
307-
&lt;/pluginRepository&gt;
308-
&lt;/pluginRepositories&gt;
309-
310-
&lt;repositories&gt;
311-
&lt;repository&gt;
312-
&lt;id&gt;sonatype-snapshots&lt;/id&gt;
313-
&lt;name&gt;Sonatype Snapshots&lt;/name&gt;
314-
&lt;url&gt;https://oss.sonatype.org/content/repositories/snapshots/&lt;/url&gt;
315-
&lt;releases&gt;
316-
&lt;enabled&gt;false&lt;/enabled&gt;
317-
&lt;/releases&gt;
318-
&lt;snapshots&gt;
319-
&lt;enabled&gt;true&lt;/enabled&gt;
320-
&lt;/snapshots&gt;
321-
&lt;/repository&gt;
322-
&lt;/repositories&gt;
323-
[...]
324-
</pre>
325-
</div>
326-
</div>
327-
<div class="confluence-information-macro confluence-information-macro-information conf-macro output-block">
328-
<p class="title">&lt;pluginRepository&gt; and &lt;repository&gt; declarations</p>
329-
<span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"> </span>
330-
<div class="confluence-information-macro-body">
331-
<p>Note that you need to declare both the <code>pluginRepository</code> and <code>repository</code>, due to the way how the Codehaus Cargo Maven 3 plugin's container artifact loading mechanism works.</p>
332-
<p>When you do not do that properly, you will be getting errors such as:</p>
333-
<pre>Cannot create configuration. There's no registered configuration for the parameters (container [id = [tomcat9x], type = [installed]], configuration type [standalone]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it?</pre>
334-
<p>In case the errors persist even after adding the <code>SNAPSHOT</code> repositories, you can install the associated container artifact. Example (with the Codehaus Cargo Tomcat container):</p>
335-
<pre>mvn dependency:get -Dartifact=org.codehaus.cargo:cargo-core-container-tomcat:1.10.20-SNAPSHOT -DremoteRepositories=https://oss.sonatype.org/content/repositories/snapshots/</pre>
336-
</div>
337-
</div>
338-
<p>Then, you should decide which <code>SNAPSHOT</code> version to use:</p>
339-
<ul>
340-
<li>To find out what the latest <code>SNAPSHOT</code> version is, you can simply look at <a href="https://github.com/codehaus-cargo/cargo/blob/master/pom.xml">the root POM file for Codehaus Cargo</a>.</li>
341-
<li>Configure the Cargo Maven Plugin by specifying the <code>SNAPSHOT</code> version you want.</li>
342-
</ul>
343-
<p>For example, to use version <code>1.10.20-SNAPSHOT</code> you would declare something similar to the following in your POM:</p>
344-
<div class="code panel pdl conf-macro output-block" style="border-width: 1px;">
345-
<div class="codeContent panelContent pdl">
346-
<pre class="syntaxhighlighter-pre">[...]
347-
&lt;build&gt;
348-
&lt;plugins&gt;
349-
&lt;plugin&gt;
350-
&lt;groupId&gt;org.codehaus.cargo&lt;/groupId&gt;
351-
&lt;artifactId&gt;cargo-maven3-plugin&lt;/artifactId&gt;
352-
&lt;version&gt;1.10.20-SNAPSHOT&lt;/version&gt;
353-
[...]
354-
&lt;/plugin&gt;
355-
[...]
356-
&lt;/plugins&gt;
357-
&lt;/build&gt;
358-
[...]
359-
</pre>
360-
</div>
361-
</div>
293+
<p>Since the move from Sonatype Nexus to Maven Central, we do not publish any <code>SNAPSHOT</code> versions anymore.</p>
362294
</td>
363295
</tr>
364296
</tbody>

cargo/Release+procedure.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,20 +289,20 @@ <h3 id="Releaseprocedure-Prerequisites">Prerequisites</h3>
289289
<li>Maven 3.6.3 or newer, though it is for sure a good idea to use the latest Maven version available.
290290
<br>
291291
With Maven 3.8.1 onwards, you might have some <code>ArtifactTransferException</code>s with the OW2 snapshot repository (which was defined as HTTP over a decade back). You can work around these using the instructions in the chapter <a href="Building.html#Building-ow2override"><code>ArtifactTransferException</code> with Maven 3.8.1 onwards</a>.</li>
292-
<li>An access to the Sonatype Nexus instance as a manager for the Codehaus Cargo project. Read more about it on the&nbsp;<strong>Initial Setup</strong> section of the <a href="http://central.sonatype.org/pages/ossrh-guide.html">OSSRH guide</a>.</li>
292+
<li>An access to the Sonatype Maven Central as a manager for the Codehaus Cargo project.</li>
293293
<li><a href="http://www.gnupg.org/">The GNU privacy guard (GPG)</a> installed on your machine and at least one secret key.
294294
<ul>
295295
<li>The secret key's public part must have been uploaded to the <a href="http://pgp.mit.edu/">MIT PGP Public Key Server</a>.</li>
296296
</ul></li>
297297
<li>
298-
<p>Your&nbsp;Sonatype Nexus credentials provided using your <code>settings.xml</code> file (in the <code>${user.home}/.m2/</code> directory). Here's an example <code>settings.xml</code>:</p>
298+
<p>Your Sonatype Maven Central token provided using your <code>settings.xml</code> file (in the <code>${user.home}/.m2/</code> directory). Here's an example <code>settings.xml</code>:</p>
299299
<div class="code panel pdl conf-macro output-block" style="border-width: 1px;">
300300
<div class="codeContent panelContent pdl">
301301
<pre class="syntaxhighlighter-pre">&lt;settings&gt;
302302
[...]
303303
&lt;servers&gt;
304304
&lt;server&gt;
305-
&lt;id&gt;ossrh&lt;/id&gt;
305+
&lt;id&gt;central&lt;/id&gt;
306306
&lt;username&gt;USERNAME&lt;/username&gt;
307307
&lt;password&gt;PASSWORD&lt;/password&gt;
308308
&lt;/server&gt;
@@ -378,7 +378,7 @@ <h3 id="Releaseprocedure-Promotingthestagedversion">Promoting the staged version
378378
<u>Note</u>: The source file (that you need to&nbsp;import using the&nbsp;<strong>Insert</strong> -&gt;&nbsp;<strong>Wiki markup</strong> option manually) is generated in <code>core/documentation/target/project-structure.log</code></li>
379379
</ul></li>
380380
<li>Modify the <a href="Home.html">Home</a> page to update the available version number, the release notes URL the checkbox is pointing to and the release date</li>
381-
<li>Modify the&nbsp;<a href="Building.html">Building</a> and <a href="Maven+3+Plugin+Installation.html">Maven 3 Plugin Installation</a> pages to update the <code>SNAPSHOT</code> version</li>
381+
<li>Modify the&nbsp;<a href="Building.html">Building</a> page to update the <code>SNAPSHOT</code> version</li>
382382
<li>Create a <a href="https://codehaus-cargo.atlassian.net/wiki/pages/createblogpost.action?spaceKey=CARGO">blog post</a></li>
383383
<li><a href="https://codehaus-cargo.atlassian.net/wiki/spaces/exportspacehtml.action?key=CARGO">Export the wiki to a zipped HTML file</a> (select all pages except for the <em>Downloads</em> (including all subsections) page) and add it the <a href="Downloads.html">Downloads</a> page</li>
384384
<li>Move the old version to the <a href="Archived+Downloads.html">Archived Downloads</a> page

0 commit comments

Comments
 (0)