diff --git a/plugins/scanners/scanoss/src/main/kotlin/ScanOss.kt b/plugins/scanners/scanoss/src/main/kotlin/ScanOss.kt index 3ec8f7d5bc0b1..de86ccdd9c317 100644 --- a/plugins/scanners/scanoss/src/main/kotlin/ScanOss.kt +++ b/plugins/scanners/scanoss/src/main/kotlin/ScanOss.kt @@ -65,7 +65,7 @@ class ScanOss internal constructor( private val service = ScanOssService.create(config.apiUrl) - override val version by lazy { + override val version: String by lazy { // TODO: Find out the best / cheapest way to query the SCANOSS server for its version. val pomProperties = "/META-INF/maven/com.scanoss/scanner/pom.properties" val properties = Scanner::class.java.getResourceAsStream(pomProperties).use { Properties().apply { load(it) } }