You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using v1.8, license was present for my legacy dependency (implementation("javax.annotation:javax.annotation-api:1.3.2")).
It was not the case any more in 1.9, no license field present in my BOM for component with "bom-ref" : "pkg:maven/javax.annotation/[email protected]?type=jar"
This may come from transition from javax to jakarta group for new versions. But old versions style exists.
Very easy to reproduce in a dummy project, with build.gradle.kts like this:
plugins {
id("java")
id("org.cyclonedx.bom") version "1.9.0"
}
group = "net.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("javax.annotation:javax.annotation-api:1.3.2")
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
tasks.test {
useJUnitPlatform()
}
The text was updated successfully, but these errors were encountered:
Hello,
When using v1.8, license was present for my legacy dependency (implementation("javax.annotation:javax.annotation-api:1.3.2")).
It was not the case any more in 1.9, no license field present in my BOM for component with
"bom-ref" : "pkg:maven/javax.annotation/[email protected]?type=jar"
This may come from transition from javax to jakarta group for new versions. But old versions style exists.
Very easy to reproduce in a dummy project, with build.gradle.kts like this:
The text was updated successfully, but these errors were encountered: