Migrates to Apache Commons Math 3.x

MSAL

Migrate applications to the latest Apache Commons Math 3.x release. This recipe modifies application's build files, make changes to deprecated/preferred APIs, and migrates configuration settings that have changes between versions.

org.openrewrite.apache.commons.math.UpgradeApacheCommonsMath_2_3
mod run . --recipe=org.openrewrite.apache.commons.math.UpgradeApacheCommonsMath_2_3

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change Gradle or Maven dependency org.apache.commons:commons-math
  2. Change Gradle or Maven dependency commons-math:commons-math
  3. Rename package name org.apache.commons.math to org.apache.commons.math3