in build-systems/src/commonMain/kotlin/org/jetbrains/packagesearch/maven/Utils.kt [72:90]
override fun buildArtifactUrl(
groupId: String,
artifactId: String,
version: String,
artifactExtension: String,
): Url =
buildUrl {
protocol = URLProtocol.HTTPS
host = baseUrl.host
port = protocol.defaultPort
pathSegments =
buildList {
addAll(baseUrl.pathSegments)
addAll(groupId.split("."))
add(artifactId)
add(version)
add("$artifactId-$version$artifactExtension")
}
}