ort
ort copied to clipboard
WebApp Reporter: Show the (concluded) license expression that choices are applied on (resulting in the effective license)
The scan-result.yml contains license findings with a choice for the jhipster package:
- license: "Apache-2.0 OR GPL-1.0-or-later"
location:
path: "META-INF/maven/io.github.jhipster/jhipster-framework/pom.xml"
start_line: 21
end_line: 24
- license: "Apache-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
location:
path: "META-INF/maven/io.github.jhipster/jhipster-framework/pom.xml"
start_line: 18
end_line: 21
The WebApp reporter does not display these license choices:

@MarcelBochtler The WebApp reporter may show the real issue is that the EvaluatedModel is still using LicenseId instead of SpdxExpression.
More generally, we should make it easy for users of the web-app report to copy & paste the concluded license (that might still contain a choice) to a license choice configuration in order to tweak the effective license (/cc @mmurto). I'll adapt the issue title accordingly.