Skip to content

Make the plugin coordinates pom file include url and scm tags #173

@monosoul

Description

@monosoul

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:

  1. 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)
  2. 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 .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions