Migrate to JasperReports 5.6.x

Proprietary

Migrates JasperReports from 4.6.0 to 5.6.x. This recipe includes minimal breaking changes, allowing teams to test and validate the migration before proceeding to version 6.

io.moderne.jasperreports.UpgradeToJasperReports5
mod run . --recipe=io.moderne.jasperreports.UpgradeToJasperReports5

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 dependency group jasperreports:jasperreports
  2. Upgrade Gradle or Maven dependency versions net.sf.jasperreports:*:5.6.+
  3. Change type JRBaseBox to JRBaseLineBox
  4. Migrate JasperReports exporter setParameter to new API
  5. Migrate JRPrintServiceExporterParameter to SimplePrintServiceExporterConfiguration