Skip to content

Steps for Creating a Release

Ranjan Dasgupta edited this page Apr 18, 2020 · 9 revisions

The Eclipse Hudson infrastructure has Paho builds: https://ci.eclipse.org/paho/

The Hudson job creates jars from the master branch and uploads them to: Paho repository in https://oss.sonatype.org/#nexus-search;quick~org.eclipse.paho

Steps to create a release:

  1. Merge all updates from the develop branch into the master branch
  2. mvn release:prepare on the master branch will update the pom files to new release version (??) If this step doesn't work, try mvn release:update-versions -DautoVersionSubmodules=true
  3. Review and update (if needed) version numbers in the following files: org.eclipse.paho.client.mqttv3.internal.traceformat/build.xml
    org.eclipse.paho.client.mqttv3.repository/category.xml
    org.eclipse.paho.client.mqttv3.repository/pom.xml
    org.eclipse.paho.client.mqttv3.test/pom.xml
    org.eclipse.paho.client.mqttv3/META-INF/MANIFEST.MF
    org.eclipse.paho.client.mqttv3/pom.xml
    org.eclipse.paho.sample.mqttclient/pom.xml
    org.eclipse.paho.sample.mqttclient/src/main/scripts/mqtt-client
    org.eclipse.paho.sample.utility/pom.xml
    pom.xml
    MQTTv3.md
    .github/ISSUE_TEMPLATE
    README.md
  4. Check to see if any other files need version number updates
  5. on Hudson
    • run paho-java-master-release-01
    • make note of repo ID orgeclipsepaho-????
      • example orgeclipsepaho-1023
  6. on Hudson
    • Update configuration of paho-java-master-release-02 with repo ID from step 5.
      Example build goal:
      nexus-staging:release -pl org.eclipse.paho.client.mqttv3 -am -DstagingRepositoryId=orgeclipsepaho-1023
    • run paho-java-master-release-02
  7. on Hudson
    • run paho-java-master-release-03
  8. Tag & sign release on Github:
    • Example: git tag -a -s v1.2.2 -m "Version 1.2.2 - service release"

On successful completion of step 8, new release in Maven central is published by nightly scheduled cron job. So it may take time to get a new release published in Maven central.
https://mvnrepository.com/artifact/org.eclipse.paho/org.eclipse.paho.client.mqttv3

Update the following sites with new release information:
https://projects.eclipse.org/projects/iot.paho/downloads
https://www.eclipse.org/paho/downloads.php

Put a message about new release in:
Paho Forum: http://eclipse.org/forums/eclipse.paho
and Paho mailing list: [email protected]

Clone this wiki locally