Invalid build metadata of sonarqube-gradle-plugin in repository.sonatype.org/

Hey all, we’re experiencing problems with the sonarqube-gradle-plugin thats in repository.sonatype.org
It seems that the gradle Metadata (.module files) became invalid in the night to the 3. May.
It should contain json, but it contains weird html stuff
https://repository.sonatype.org/content/groups/sonatype-public-grid/org/sonarsource/scanner/gradle/sonarqube-gradle-plugin/3.3/sonarqube-gradle-plugin-3.3.module
This causes that we cant build our applications with this sonarqube plugin anymore.

Has anyone any idea what could have caused this issue and how to fix it? Can we just rebuild the plugin or the metadata?

Hi,

It seems the .module file was missing from our last release:
https://repo1.maven.org/maven2/org/sonarsource/scanner/gradle/sonarqube-gradle-plugin/3.3/

So I guess the sonatype repository is somehow misconfigured (or any other proxy in the chain) and cached a kind of 404 page.

We don’t have control on this repository, so maybe you can contact them to fix the metadata. On our side, I think we should be careful to release the .module file in the next release to avoid the same situation.

Thanks, they fixed it in the sonatype repo
https://issues.sonatype.org/browse/MVNCENTRAL-7394

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.