-
Notifications
You must be signed in to change notification settings - Fork 352
Closed
Labels
analyzerAbout the analyzer toolAbout the analyzer tool
Description
Currently the Docker image and the artifacts published to Maven Central are both built with Java 17. This can cause two kinds of issues:
- Docker: As the Maven and Gradle analyzers are built into ORT and compiled with the same Java version, sometimes projects cannot be analyzed that require a different Java version. For example, the project could use a Gradle version that is not compatible with Java 17, or the project could require Java 21.
- Maven Central: Projects that use ORT programmatically as a library, like the ORT workbench, must be compiled with at least the same Java version as the ORT artifacts. However, for the same reason as above it could be required to build those tools with a different Java version.
One approach to solve this would be to release the Docker images and the Maven Central artifacts with different variants for each of the Java LTS releases, currently relevant are Java 11, 17, and 21.
Another more complex approach would be to decouple the Maven and Gradle analyzers from ORT itself and release them as standalone tools, comparable to the python-inspector. These tools could then be released with a bundled JVM for the different Java versions.
Also see some related PRs and issues: #4948, #6311, #8027, #8242
dineshr93 and ksg97031
Metadata
Metadata
Assignees
Labels
analyzerAbout the analyzer toolAbout the analyzer tool