Skip to content

Resolve rewrite and rewrite-polyglot at LATEST, and version main 999-SNAPSHOT - #1236

Merged
knutwannheden merged 2 commits into
mainfrom
latest-openrewrite-versions
Nov 18, 2026
Merged

knutwannheden merged 2 commits into
mainfrom
latest-openrewrite-versions

Conversation

@knutwannheden

Copy link
Copy Markdown
Contributor

Since #1235 moved rewrite-polyglot.version to 2.32.0-SNAPSHOT on 2026-11-17, before any build had published that snapshot, every build of main failed resolving it until the snapshot was published. The versions pinned in this POM have to be moved after every release, and they drift: before #1235, main still named 6.61.0-SNAPSHOT and a week-old rewrite snapshot while v6.68.0 was already tagged.

This stops pinning them:

<version>999-SNAPSHOT</version>
...
<rewrite.version>LATEST</rewrite.version>
<rewrite-polyglot.version>LATEST</rewrite-polyglot.version>
  • LATEST resolves to the newest rewrite and rewrite-polyglot, release or snapshot, as the Gradle recipe modules ask for latest.integration. Nothing has to move these again.
  • The pom.xml CI publishes, of a snapshot or a release, names the versions LATEST resolved to, so no published POM reads LATEST.
  • 999-SNAPSHOT, as Quarkus has on its main, keeps a local build the newest snapshot of the plugin. A release still gets its own version.

Locally, LATEST resolves rewrite to 8.112.0-SNAPSHOT, a snapshot since its last release, and rewrite-polyglot to its release 2.32.0, as it has had no commit since. The unit tests pass, and the integration tests run on CI.

Draft until the build that publishes this plugin fills the resolved versions into its POMs.

@knutwannheden knutwannheden self-assigned this Nov 18, 2026
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Nov 18, 2026
…SNAPSHOT

The pinned snapshot versions had to be moved after every release, drifted behind, and were moved by hand to a snapshot no build had published yet, failing every build of main. LATEST resolves to the newest of each, and 999-SNAPSHOT keeps a local build the newest snapshot of the plugin.
@knutwannheden
knutwannheden force-pushed the latest-openrewrite-versions branch from a406e3a to 6ec2800 Compare November 18, 2026 09:21
@knutwannheden
knutwannheden marked this pull request as ready for review November 18, 2026 10:14
@knutwannheden
knutwannheden merged commit b0d8d56 into main Nov 18, 2026
1 check passed
@knutwannheden
knutwannheden deleted the latest-openrewrite-versions branch November 18, 2026 10:14
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant