[BUILD-1087] Upgrade to next major version of OpenRewrite Created: 06/Jun/23  Updated: 22/Jun/23  Resolved: 22/Jun/23

Status: Closed
Project: Build
Component/s: Build Tools, Poms
Affects Version/s: None
Fix Version/s: POMs 55

Type: Task Priority: Neutral
Reporter: Michael Duerig Assignee: Michael Duerig
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Team: Foundation
Work Started:
Approved:
Yes

 Description   

org.openrewrite.maven:rewrite-maven-plugin:5.0.0 and org.openrewrite.recipe:rewrite-recipe-bom:2.0.0 recently appeared on Nexus and we should consider upgrading to them. (Affects PPOM and magnolia-rewrite-recipes).

  • There seem to be some backward incompatibly changes since magnolia-rewrite-recipes fails to compile:
    [ERROR] /Users/mduerig/Checkouts/build/magnolia-rewrite-recipes/src/main/java/info/magnolia/rewrite/UpdateParentPom.java:[110,5] method does not override or implement a method from a supertype
    [ERROR] /Users/mduerig/Checkouts/build/magnolia-rewrite-recipes/src/main/java/info/magnolia/rewrite/UpdateCopyrightYears.java:[98,13] method does not override or implement a method from a supertype
    
  • We also need to double check that the refactor bot still works with this upgrade.

Generated at Sun Feb 11 23:48:01 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.