You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/site/xdoc/developer-guide.xml
+22-15Lines changed: 22 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -226,15 +226,29 @@ align="middle" />
226
226
227
227
<p>In order to prepare the release artifacts for vote, execute the following steps:</p>
228
228
229
+
<p>If not yet done, export your public key and <ahref="https://dist.apache.org/repos/dist/release/axis/axis2/java/rampart/KEYS"> append it there. </a></p>
230
+
231
+
<p>If not yet done, also export your public key to the dev area and <ahref="https://dist.apache.org/repos/dist/release/axis/axis2/java/rampart/KEYS"> append it there. </a></p>
232
+
233
+
<p>The command to export a public key is as follows:</p>
234
+
235
+
<code>gpg --armor --export key_id</code>
236
+
237
+
<p>If you have multiple keys, you can define a ~/.gnupg/gpg.conf file for a default. Note that while 'gpg --list-keys' will show your public keys, using maven-release-plugin with the command 'release:perform' below requires 'gpg --list-secret-keys' to have a valid entry that matches your public key, in order to create 'asc' files that are used to verify the release artifcats. 'release:prepare' creates the sha512 checksum files.</p>
238
+
239
+
<p>The created artifacts i.e. zip files can be checked with, for example, sha512sum 'rampart-dist-1.8.0-bin.zip' which should match the generated sha512 files. In that example, use 'gpg --verify rampart-dist-1.8.0-bin.zip.asc rampart-dist-1.8.0-bin.zip' to verify the artifacts were signed correctly</p>
240
+
229
241
<p>If necessary, update the copyright date in the top level NOTICE file.</p>
230
242
231
-
<p>Start the release process with the following command - use 'mvn release:rollback' to undo:</p>
243
+
<p>Start the release process with the following command - use 'mvn release:rollback' to undo and be aware that in the main pom.xml there is an apache parent that defines some plugin versions, documented at https://maven.apache.org/pom/asf/:</p>
244
+
245
+
<p>Start the release process with the following command - use 'mvn release:rollback' to undo and be aware that in the main pom.xml there is an apache parent that defines some plugin versions<ahref="https://maven.apache.org/pom/asf/"> documented here. </a></p>
232
246
233
247
<code>mvn release:prepare</code>
234
248
235
249
<p>When asked for the "SCM release tag or label", keep the default value (x.y.z) </p>
236
250
237
-
<p>The above command will create a tag in Subversion and increment the version number of the trunk to the next development version. It will also create a release.properties file that will be used in the next step.</p>
251
+
<p>The above command will create a tag in Git and increment the version number of the trunk to the next development version. It will also create a release.properties file that will be used in the next step.</p>
238
252
239
253
<p>Perform the release using the following command: </p>
240
254
@@ -246,24 +260,18 @@ align="middle" />
246
260
247
261
<p>Execute the target/checkout/etc/dist.py script to upload the source and binary distributions to the development area of the <ahref="https://dist.apache.org/repos/dist/"> repository. </a></p>
248
262
249
-
<p>If not yet done, export your public key and <ahref="https://dist.apache.org/repos/dist/release/axis/axis2/java/rampart/KEYS"> append it here. </a></p>
250
-
251
-
<p>The command to export a public key is as follows:</p>
<p>This step can be skipped if the staging area has already been created earlier (e.g. to test a snapshot version of the site).</p>
265
+
<p>Create a new staging area for the site, clone from https://github.com/apache/axis-site and commit a copy of the dir axis2/java/rampart to axis2/java/rampart-staging.</p>
260
266
261
267
<p>Change to the target/checkout directory and prepare the site using the following commands:</p>
<p>The staging area will be checked out to target/scmpublish-checkout (relative to target/checkout). Do a sanity check on the changes and then commit them.</p>
266
272
273
+
<p>The root dir of axis-site has a .asf.yaml file, referenced here at target/scmpublish-checkout/.asf.yaml, that is <ahref="https://github.com/apache/infrastructure-asfyaml/blob/main/README.md"> documented here. </a></p>
274
+
267
275
<p>Start the release vote by sending a mail to java-dev@axis.apache.org . The mail should mention the list of issues solved in the release (by linking to the relevant JIRA view).</p>
268
276
269
277
<p>Include a link to the location of the Nexus staging repository, and a link to the <ahref="https://dist.apache.org/repos/dist/dev/axis/axis2/java/rampart/"> source and binary distributions. </a></p>
<p>It may take several hours before all the updates have been synchronized to the relevant ASF systems. Before proceeding, check that the Maven artifacts for the release are available from the Maven central repository, and the <ahref="https://axis.apache.org/axis2/java/rampart/"> Rampart Maven site has been synchronized.</a></p>
0 commit comments