Uploaded image for project: 'Build'
  1. Build
  2. BUILD-1087

Upgrade to next major version of OpenRewrite

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • POMs 55
    • None
    • Build Tools, Poms
    • None
    • Yes

      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.

        Acceptance criteria

              mduerig Michael Duerig
              mduerig Michael Duerig
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Task DoR