gradle / gradle/plugin-portal-requests

Make the plugin coordinates pom file include url and scm tags

Open
#173 2 comments 5 reactions 0 assignees View on GitHub
a:feature portal
Dominant language
No language data
Stars
15
Forks
6
PR merge metrics
No merged PRs in 30d

Description

### 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`](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`](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](https://github.com/renovatebot/renovate) 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 .

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.