Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-5374

Depency check fails if not valid license url is available

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.5.0
    • None
    • continuous integration
    • None
    • Not defined

      Problem:
      In cases of a missing license url the nightly dependency check fails with the following error:

      [2021-07-01T04:19:44.195Z] java.lang.RuntimeException: Could not obtain url for license Apache License, version 2.0.
      [2021-07-01T04:19:44.195Z] 	at org.camunda.optimize.MarkDownDependencyCreator.resolveLicenseUrl(MarkDownDependencyCreator.java:75)
      [2021-07-01T04:19:44.195Z] 	at org.camunda.optimize.MarkDownDependencyCreator.main(MarkDownDependencyCreator.java:54)
      [2021-07-01T04:19:44.195Z] 	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:254)
      [2021-07-01T04:19:44.195Z] 	at java.base/java.lang.Thread.run(Thread.java:834)
      

      Actual result :
      The whole dependency check aborts and fails if the url is missing from the dependency.

      Expected result:
      The License entry may still be added just without a link in such cases.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: