Expected Behavior
url and scm (and preferably all other) tags aren't removed when uploading the pom file
Current Behavior
url and scm tags are removed when uploading the pom file
Context
When publishing a plugin to Gradle plugin portal - it will create 2 pom files:
- One for the plugin (referring the jar file as a dependency) (e.g.:
https://plugins.gradle.org/m2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.7.22/org.jetbrains.kotlin.jvm.gradle.plugin-1.7.22.pom)
- One for the actual jar file (e.g.:
https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.7.22/kotlin-gradle-plugin-1.7.22.pom)
The first pom file gets trimmed when uploaded to the plugin portal, to be specific: url and scm tags are removed. Because of that tools like renovatebot fail to fetch release notes and link the plugin sources.
For comparison, here's the first pom, but published to repo.maven.apache.org: https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.7.22/org.jetbrains.kotlin.jvm.gradle.plugin-1.7.22.pom .
Expected Behavior
urlandscm(and preferably all other) tags aren't removed when uploading the pom fileCurrent Behavior
urlandscmtags are removed when uploading the pom fileContext
When publishing a plugin to Gradle plugin portal - it will create 2 pom files:
https://plugins.gradle.org/m2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.7.22/org.jetbrains.kotlin.jvm.gradle.plugin-1.7.22.pom)https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.7.22/kotlin-gradle-plugin-1.7.22.pom)The first pom file gets trimmed when uploaded to the plugin portal, to be specific:
urlandscmtags are removed. Because of that tools like renovatebot fail to fetch release notes and link the plugin sources.For comparison, here's the first pom, but published to
repo.maven.apache.org: https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.7.22/org.jetbrains.kotlin.jvm.gradle.plugin-1.7.22.pom .