Skip to content

Commit 10b1231

Browse files
renovate[bot]sschuberth
authored andcommitted
deps: update com.scanoss:scanoss to v0.12.0
Note that the changelog mentions that the "FH2 hash [is] included in WFP output format as `fh2=<hash>`" [1]. [1]: https://github.com/scanoss/scanoss.java/blob/main/CHANGELOG.md#0120---2025-11-04 Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent b27c243 commit 10b1231

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ reflections = "0.10.2"
5959
retrofit = "3.0.0"
6060
s3 = "2.38.1"
6161
saxonHe = "12.9"
62-
scanoss = "0.11.0"
62+
scanoss = "0.12.0"
6363
semver4j = "6.0.0"
6464
slf4j = "2.0.17"
6565
springCore = "7.0.0"

plugins/scanners/scanoss/src/test/kotlin/WinnowingTest.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class WinnowingTest : StringSpec({
3636
"The fingerprint should be calculated correctly for the Apache-2.0 license text" {
3737
wfpForResource("/wfp/Apache-2.0.license") shouldBe """
3838
file=e3fc50a88d0a364313df4b21ef20c29e,11357,Apache-2.0.license
39+
fh2=c4082b6c254c9fb71136710391d9728b
3940
5=33193f1b,1716113f,0c557e09
4041
9=643a45ae,2ae8e84a,bacd17ac
4142
10=c54959e6,c8c4ada9
@@ -185,6 +186,7 @@ class WinnowingTest : StringSpec({
185186
"The fingerprint should be calculated correctly for the CC-BY-3.0 license text" {
186187
wfpForResource("/wfp/CC-BY-3.0.license") shouldBe """
187188
file=6dffb34dbf23fffe10cc646d9c030e14,19467,CC-BY-3.0.license
189+
fh2=3d45b71994c4e442eb721c8dfb176ec4
188190
5=996e9d8b,1a6dc238
189191
6=70a3753f,14d9bf35,0dbf4b11,d58971b7,86fbc9f3
190192
8=38a05276,065a11d9
@@ -443,6 +445,7 @@ class WinnowingTest : StringSpec({
443445
// Note that the ".pdf" file extension is hard-coded to be skipped for snippet calculation.
444446
wfpForResource("/wfp/sigmod03.pdf", binFile = true) shouldBe """
445447
file=232512a681d2488f61ade07516f899b5,155473,sigmod03.pdf
448+
fh2=ce5e3f3670aafa0f84aa7168290c9fcf
446449
447450
""".trimIndent()
448451
}

0 commit comments

Comments
 (0)