Release guide for ServiceComb

This Guide helps you to do the release in Apache for ServiceComb projects.


To prepare or perform a released you MUST BE at least an Apache ServiceComb committer.

  1. The CI for the project should be green.
  2. Should have the version number for the project.
  3. Should have Sign Key for signing the release, the keys should be published to public key server.
  4. Get familiar with the release settings in the parent Apache POM

Maven 2 Setup

As ServiceComb Java Chassis and Saga are using maven for the release, you should do some maven 2 setup before releasing these two projects. Before you deploy anything to the maven repository using Maven 2, you should configure your ~/.m2/settings.xml file so that the file permissions of the deployed artifacts are group writable. If you do not do this, other developers will not able to overwrite your SNAPSHOT releases with newer versions. The settings follow the guidelines used by the Maven project. Please pay particular attention to the password encryption recommendations.

    <!-- Per -->

    <!-- To publish a snapshot of some part of Maven -->
      <username> <!-- YOUR APACHE LDAP USERNAME --> </username>
      <password> <!-- YOUR APACHE LDAP PASSWORD --> </password>
    <!-- To publish a website of some part of Maven -->
      <username> <!-- YOUR APACHE LDAP USERNAME --> </username>
    <!-- To stage a release of some part of Maven -->
      <username> <!-- YOUR APACHE LDAP USERNAME --> </username>
      <password> <!-- YOUR APACHE LDAP PASSWORD --> </password>
    <!-- To stage a website of some part of Maven -->
      <id>stagingSite</id> <!-- must match hard-coded repository identifier in site:stage-deploy -->
      <username> <!-- YOUR APACHE LDAP USERNAME --> </username>

        <gpg.passphrase><!-- YOUR GPG PASSPHRASE --></gpg.passphrase>


Major Steps for doing Service-Center Release

Make and Verify the Release

  1. Clone the service-center code.
    git clone
    cd servicecomb-service-center
    gvt restore
  2. Create a Tag from the master branch based on the version number which needs to be released.

  3. Run RAT tool to ensure no license issues are there, follow the guide over here

  4. Run the to make the release for windows and linux following the guide over here.

  5. Last Step will make the releases in root folder.

  6. Run the releases of frontend and service-center in both linux and windows.

  7. Run the integration test on the release.

  8. If all the test passes then send the release candidate to peers to test in different machines.

  9. Push the tag to master.

Sign the Release

  1. Once the tag is pushed then using the tag download the source code from git tag.

  2. Sign the 4 releases(linux, windows, darwin, src) and checksum.

  3. Create a new directory Apache dev Release SVN with release package name and release candidate number. (for example : if you want to release 1.0.0-m2 and this is the second attempt of the release then the folder structure will be 1.0.0-m2/rc02)

  4. Upload the release to the directory created in last step.

  5. Download all the releases from SVN and verify the signature and checksum.

PMC Approval

  1. Send the voting mail in for 1PMC approval.

  2. Wait for 72 hours or unless you get 3 +1 binding vote with no -1 vote. If you get even one -1 binding vote then fix the issue and start again from Step 1.

  3. Publish the result of the vote in


  1. Upload the releases to Apache release repository.

  2. Wait for 24 hours to replicate the release in all the mirrors.

  3. Delete old releases from dev and [release] ( and check for the old release in archive, update the same links in the website for old releases.

  4. Upload the release page of ServiceComb Website.

  5. Send the announcement mails to,

Major Steps for doing Java-Chassis Release

Before release, make sure all apache issues are closed. Log in apache issue website, click release and generate release notes.

Prepare the release code

clone java-chassis code to your development environment, change version to release version and push to github. Assume code version is 2.0.0-SNAPSHOT and release version is 2.0.0.


```shell script mvn versions:set -DgenerateBackupPoms=false -DnewVersion=2.0.0


```shell script
mvn clean install -Pit

If the build is successful, submit a PR and merge code after review.

Release maven artifacts

Prepare Linux environment, and make sure can upload artifacts to maven central.

  1. Copy GPG keys to ~/.gnupg

  2. Update PGR password in ~/.m2/settings.xml

  3. Update apache maven server user name and password in ~/.m2/settings.xml

  4. clone java-chassis

     git clone
  5. Run

     mvn clean deploy -DskipTests -Prelease -Pdistribution -Ppassphrase
  6. If failed in step 5, drop the temporary repository in apache Nexus and start from step 5 again.

  7. If step 5 is successful, all artifacts are uploaded to a temporary repository. Using your apache account and log in to Apache Nexus. Click Staging Repositories, search servicecomb, find the latest repository, click “close”, and get the staging repository link like

  8. In servicecomb-java-chassis release page,click release, do a pre release

Sign the distributions

  1. Download binary distributions from the temporary repository. e.g.

  2. Download source distributions from the temporary repository. e.g.

  3. generate checksum. e.g.

     sha512sum -b > apache-servicecomb-java-chassis-distribution-1.2.0-bin.zi.sha512  
     sha512sum -b >  
  4. upload all file to Apache development svn. Run

     svn co
     cd serviecomb-java-chassis
     mkdir -p 1.2.0/rc01
     cp xxx/* 1.2.0/rc01
     svn add 1.2.0
     svn ci 1.2.0
  5. download the files and verify the sign.

Sending mail for permission

  1. Send mail to and waiting for voting result.

  2. Waiting 72 hours and if got three + 1 and no -1, the voting is successful. If there are some problems, start a new round of release. (According to the problem, please notice to clean up release notes, temporary svn files, and temporary stating repositories. )

  3. Send the voting result to

Update documents and announcements

  1. In servicecomb-java-chassis github release page,set pre release to formal release and write release notes.

  2. Move dev to release

     cp dev/servicecomb/servicecomb-java-chassis/2.0.0/* release/servicecomb/servicecomb-java-chassis/2.0.0/
     cd release/servicecomb/servicecomb-java-chassis/
     svn add 2.0.0
     svn ci 2.0.0

    And delete dev

     svn rm 1.2.0
     svn ci .
  3. Log in to Apache Nexus, find Staging Repositories and search servicecomb,find the last closed repository, and click release. If there are any temporary Staging Repositories, drop them.

  4. Waiting for 24 hour for all mirror in sync.

  5. Update the servicecomb-website, see 1.3.0 RP or 2.0.0 RP

  6. Send announcements to

Major Steps for doing Pack Release

Please refer to ServiceComb Pack Release Guide


  • The whole process generally takes 1 weeks to complete assuming you don’t get any -1 from PMC, so please plan the release activity before hand.