Skip to content

Gradle pom.xml incorrect metadata redirection #2233

@darekdeo

Description

@darekdeo

Integration

sentry-android

Build System

Gradle

AGP Version

Any

Proguard

Disabled

Version

Every

Steps to Reproduce

  1. Open for example current newest version: https://repo1.maven.org/maven2/io/sentry/sentry-android/6.4.1/sentry-android-6.4.1.pom
  2. Find it contains this line: do_not_remove: published-with-gradle-metadata
  3. Open directory: https://repo1.maven.org/maven2/io/sentry/sentry-android/6.4.1/
  4. Find there is no .module file. According to gradle documentation this is incorrect: https://docs.gradle.org/current/userguide/publishing_gradle_module_metadata.html

Above is description of an cause.

The more important symptoms and in fact issues are while using artifactory: https://jfrog.com/artifactory/ which will throw 403, stopping the gradle build with failure.

Expected Result

Either:

  1. pom.xml shouldn't contain line: do_not_remove: published-with-gradle-metadata
  2. .module file should be published

Actual Result

pom.xml contains line do_not_remove: published-with-gradle-metadata and there is no published .module file (Gradle Module Metadata)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions