Skip to content

Java Module

Configuration

Setting up a development environment

Manually uploading jars to https://packagecloud.io/

  • Clone the sigsci java module repo.
  • Install the Packagecloud Wagon plugin for Maven. The instructions can be found in the README (https://github.com/computology/maven-packagecloud-wagon).
  • You will need to grab the packagecloud api token from their website.
  • Run mvn deploy.
  • NOTE: There are 2 repositories in packagecloud for the java module. Use the Test repo to test the upload, and then do the upload to Stable.

Java module release procedure

  • Update the VERSION file
  • Update the CHANGELOG file
  • Update product.version in pom.xml
  • Update product.version in sigsci-module-java/pom.xml
  • Update moduleVersion field in sigsci-module-java/src/main/java/com/signalsciences/shared/SigSciConfig.java
  • Push the changes to repo, review any build errors in github actions tab, record build number
  • Login to voltron, type voltron in okta/web browser
  • Click on Releases
  • Click on Java module
  • Review the available builds
  • Click on the Release button of the correct build