-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
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.