What version of OpenRewrite are you using?
I am using:
- Gradle plugin
org.openrewrite.rewrite v7.41.0
- Published implementation artifact
org.openrewrite:plugin:7.41.0
- The plugin metadata requires
org.openrewrite:rewrite-bom:8.91.0
How are you running OpenRewrite?
I am using the Gradle plugin via the Gradle Plugin Portal.
plugins {
id("org.openrewrite.rewrite") version "7.41.0"
}
What is the smallest, simplest way to reproduce the problem?
Create a minimal Gradle project:
// settings.gradle.kts
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
}
}
dependencyResolutionManagement {
repositories {
mavenCentral()
}
}
// build.gradle.kts
plugins {
id("org.openrewrite.rewrite") version "7.41.0"
}
Then run:
./gradlew help --refresh-dependencies
Or inspect the published metadata directly:
curl -fsSL https://plugins.gradle.org/m2/org/openrewrite/plugin/7.41.0/plugin-7.41.0.pom
curl -fsSL https://plugins.gradle.org/m2/org/openrewrite/plugin/7.41.0/plugin-7.41.0.module
curl -I https://repo.maven.apache.org/maven2/org/openrewrite/rewrite-bom/8.91.0/rewrite-bom-8.91.0.pom
The published plugin-7.41.0.pom imports:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.openrewrite</groupId>
<artifactId>rewrite-bom</artifactId>
<version>8.91.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
The published plugin-7.41.0.module also requires:
{
"group": "org.openrewrite",
"module": "rewrite-bom",
"version": {
"requires": "8.91.0"
}
}
However, Maven Central returns 404 for:
https://repo.maven.apache.org/maven2/org/openrewrite/rewrite-bom/8.91.0/rewrite-bom-8.91.0.pom
Maven Central metadata currently reports 8.90.4 as latest/release:
https://repo.maven.apache.org/maven2/org/openrewrite/rewrite-bom/maven-metadata.xml
What did you expect to see?
The Gradle plugin should resolve successfully from the Gradle Plugin Portal and Maven Central.
The published plugin metadata should reference an available rewrite-bom version, for example 8.90.4, or rewrite-
bom:8.91.0 should be published to Maven Central.
What did you see instead?
The plugin metadata for org.openrewrite:plugin:7.41.0 references org.openrewrite:rewrite-bom:8.91.0, but that
artifact is not available from Maven Central.
This can break dependency resolution for users who resolve the plugin from the Gradle Plugin Portal with Maven
Central as the repository for OpenRewrite artifacts.
What is the full stack trace of any errors you encountered?
The direct artifact check returns 404:
HTTP/2 404
x-amz-error-code: NoSuchKey
x-amz-error-detail-key: maven2/org/openrewrite/rewrite-bom/8.91.0/rewrite-bom-8.91.0.pom
x-amz-error-message: The specified key does not exist.
Are you interested in contributing a fix to OpenRewrite?
I’m happy to help verify a fixed plugin release or corrected publication metadata
What version of OpenRewrite are you using?
I am using:
org.openrewrite.rewritev7.41.0org.openrewrite:plugin:7.41.0org.openrewrite:rewrite-bom:8.91.0How are you running OpenRewrite?
I am using the Gradle plugin via the Gradle Plugin Portal.
plugins { id("org.openrewrite.rewrite") version "7.41.0" }What is the smallest, simplest way to reproduce the problem?
Create a minimal Gradle project:
Then run:
./gradlew help --refresh-dependencies
Or inspect the published metadata directly:
The published plugin-7.41.0.pom imports:
The published plugin-7.41.0.module also requires:
{ "group": "org.openrewrite", "module": "rewrite-bom", "version": { "requires": "8.91.0" } }However, Maven Central returns 404 for:
https://repo.maven.apache.org/maven2/org/openrewrite/rewrite-bom/8.91.0/rewrite-bom-8.91.0.pom
Maven Central metadata currently reports 8.90.4 as latest/release:
https://repo.maven.apache.org/maven2/org/openrewrite/rewrite-bom/maven-metadata.xml
What did you expect to see?
The Gradle plugin should resolve successfully from the Gradle Plugin Portal and Maven Central.
The published plugin metadata should reference an available rewrite-bom version, for example 8.90.4, or rewrite-
bom:8.91.0 should be published to Maven Central.
What did you see instead?
The plugin metadata for org.openrewrite:plugin:7.41.0 references org.openrewrite:rewrite-bom:8.91.0, but that
artifact is not available from Maven Central.
This can break dependency resolution for users who resolve the plugin from the Gradle Plugin Portal with Maven
Central as the repository for OpenRewrite artifacts.
What is the full stack trace of any errors you encountered?
The direct artifact check returns 404:
HTTP/2 404
x-amz-error-code: NoSuchKey
x-amz-error-detail-key: maven2/org/openrewrite/rewrite-bom/8.91.0/rewrite-bom-8.91.0.pom
x-amz-error-message: The specified key does not exist.
Are you interested in contributing a fix to OpenRewrite?
I’m happy to help verify a fixed plugin release or corrected publication metadata