Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Latest commit

 

History

History
42 lines (34 loc) · 1.69 KB

CONTRIBUTING.md

File metadata and controls

42 lines (34 loc) · 1.69 KB

Contributing to Java for IBM Watson IoT Platform

Running the Tests

set JAVA_HOME=/path/to/java/sdk
set MAVEN_HOME=/path/to/maven
set WIOTP_API_KEY=a-xxxxx-xxxxxxxxxx
set WIOTP_API_TOKEN=xxxxxxxxxxxxxxxxxx
set WIOTP_IDENTITY_ORGID=xxxxx
set WIOTP_IDENTITY_TYPEID=test
set WIOTP_IDENTITY_DEVICEID=000001
set WIOTP_AUTH_TOKEN=passw0rd

Test results are automatically submitted to Coveralls. Ensure that new commits don't lower the code coverage %: https://coveralls.io/github/ibm-watson-iot/iot-java

Deploying to Maven

We live here: https://mvnrepository.com/artifact/com.ibm.wiotp

mvn versions:set -DnewVersion=0.1.0
mvn clean package -Dmaven.test.skip=true
mvn deploy -P sign-artifacts

Go to https://oss.sonatype.org/#stagingRepositories

  • Close the staging repo after verifying content
  • Promote the repo to release after it's closed

Useful links