Thingsboard Community Edition Build Source Code

Thingsboard is an IoT Platform developed for Open Source IoT Devices. You can read our article here to get information about Thingsboard.

The source code for the Community Edition of the Thingsboard IoT Platform is published on Github at: https://github.com/thingsboard/thingsboard

We have compiled the Source Code of Thingsboard IoT Platform Community Edition on Ubuntu 22.04.

The operations are listed below:

  1. sudo apt update && sudo apt install openjdk-17-jdk
  2. sudo update-alternatives –config java
  3. java -version
    • openjdk version “17.x.xx” OpenJDK Runtime Environment (…) OpenJDK 64-Bit Server VM (…)
  4. sudo apt-get install maven
  5. git clone -b release-4.0 https://github.com/thingsboard/thingsboard.git –depth 1
  6. cd thingsboard
  7. mvn clean install -DskipTests
  8. If the compilation process is completed successfully, files will appear under the application/target folder.

If you receive an error, follow these steps before starting again:

  1. mvn clean install
  2. rm -rf ~/.m2/repository
  3. rm -rf ~/.gradle/caches/
  4. rm -rf ui-ngx/node_modules
  5. mvn -T 0.8C license:format clean install -DskipTests -Ddockerfile.skip=false




The pictures show our progress.

Good luck. If you have any questions, please contact us. Good work.