tree: 0dda1597a88d7704d1bce2006e45b3f3c98d20f9 [path history] [tgz]
  1. resources/
  2. .classpath
  3. .project
  4. bnd.bnd
  5. build.gradle
  7. rat.gradle

Apache Ace Release Guide

This document describes how to do a source release. It is based on the Apache Development [Release FAQ] 1.


To create a release you must:

  • Have Subversion installed on your system;

  • Have gpg installed on your system;

  • Have a public key added to the [KEYS file] 2;

  • If you are using an http proxy, configure the following:

    export GRADLE_OPTS=“ -Dhttps.proxyPort=8080”

Before you can start staging a release candidate, you must:

  • Make sure there are no dependencies on snapshots/unreleased versions;
  • Increment the version parameter in build/build.gradle, if not already done, and commit;
  • Under Bndtools, release (only) the bundles that needs to be released (using “Release workspace bundles” menu);
  • Create a tagged version of the sources in preparation of the release candidate.

Release only the necessary bundles

Click on the Bndtools “Release workspace bundles”, and release the bundles that have been modified and need to be released.

Do not release bundles that are not modified or do not need a release (such as integration test bundles, i.e., all projects ending in *.itest).

Once done, under the shell prompt, go to the cnf/releaserepo/ directory, run svn remove to remove the previous (old) versions of the released bundles, and run svn add to add the just released bundles.

Refresh the repositories using Bndtools, and commit all changes.

Create a tagged version

Creating a tagged version of the sources can be done directly through svn (replace r<n> by the actual release number, like “r1”):

v=<version> \
  svn copy \$v \
  -m "Release of Apache Ace $v"

Staging a release candidate

Staging a release starts by checking out a tagged version of the sources (again, replace <version> by the actual release version, like “2.0.0”):

v=<version> \
  svn co$v apache-ace-$v

The next step is to build/test the software and create the release/staging/ directory (where the source/jars will be packaged, again, replace <version> by the actual release number, like “2.0.0”):

Use Java 8 as JDK

$ cd apache-ace-<version>
$ ./gradlew rat
$ ./gradlew build runbundles export

Create the staging directory and artifacts (this will create ./build/staging/ directory containing the signed release archives):

$ ./gradlew makeStaging

You can upload the archives and the signatures to our development area, which we use to stage this release candidate. This development area can be found at and adding files to it can be done using “svnpubsub” which is taken care of by the following target:

$ ./gradlew commitToStaging

Voting on the release

Start a vote on the list, for example (be sure to replace <version> with the correct release number, like “1.0.0”):

To: "Ace Developers List" <>
Subject: [VOTE] Release of Apache Ace release r<n>


We solved N issues in this release:

There are still some outstanding issues:

Staging repository:<version>/

You can use this UNIX script to download the release and verify the signatures:

sh <version> /tmp/ace-staging

This script, unlike the original from Apache Felix,
will download staging artifacts from
instead of

Please vote to approve this release:

[ ] +1 Approve the release
[ ] -1 Veto the release (please provide specific comments)

This vote will be open for 72 hours.

Promoting the release:

Move the artifacts from the development area to the final release location at by invoking the following target:

$ ./gradlew promoteToRelease

Notify the list about the successful promotion and notify the list that a new release is available.

Update the JIRA issues

Close all issues in JIRA that were fixed as part of the release and create a new version for the next release. This probably means that you need to rename the existing next version to the released version of ACE and recreate a new next version.

Cancelling the release

To cancel the release for whatever reason, run:

$ ./gradlew deleteFromStaging

And notify the list to make everybody aware of this.