Open andreaslarfors opened 3 years ago
Thanks for the report @andreaslarfors. We're currently looking at ways to stop this mix between Antenna and the ORT Analyzer altogether. May I ask what you use-case for using Antenna is? Specifically, would you still need to use Antenna if https://github.com/oss-review-toolkit/ort/pull/3313 was implemented?
Summary of the Bug
It is not currently possible to use analyzer_result.yml files from the latest version of ORT as input to Antenna with the ORT Downloader enabled. When updating the ort.rev value in pom.xml to any recent commit values, we get compilation errors:
This is due to the refactoring of the Kotlin code in ORT: https://github.com/oss-review-toolkit/ort/commit/67db194b225a5eb7ea835954daae020d57fbb570 From data classes to regular classes, which no longer support the component1(), component2(), component3() methods. We also cannot access the fields from Java because the @JvmField has not been used so the fields are private to Java.
The core/runtime/.../antenna/util/LicenseSupport.java logic needs to be updated.
Steps to reproduce
Acceptance Criteria
Definition of Done