Skip to content

license-check-2-ditto-client-javascript_works-with

License check via the Dash-Licenses tool provided by the Eclipse Foundation.
  • Clones the latest "master" of the dash-licenses GitHub project
  • Clones the latest "master" of Eclipse Ditto-Clients
  • Builds the dash-licenses tool with Maven
  • Excecutes the dash-licenses tool with the package-lock.json dependencies from the Ditto JavaScript client
  • Attaches the results to the build

If there are error logs (SEVERE) in the output because of some error logs, you can do the following:

  1. Comment out the last shell step that calls the dash jar
  2. Adjust the archived artifacts to **/package-lock.json (or **/*/package-lock.json, I dont remember)
  3. Clone https://github.boschdevcloud.com/bosch-iot-things/dash-licenses locally
  4. Copy the package-locks to local folder in the cloned repo, adjust Main.java to point to the package-locks and run it
  5. Profit