Unify Maven and Gradle workflows for jsonschema2pojo-gradle-plugin

Author: juherrCreated Sep 4, 2025Updated Sep 8, 2025

Currently, both Maven and Gradle are used to build the jsonschema2pojo-gradle-plugin module:

  • Maven is used to build the plugin in CI.
  • Gradle is used to publish the artifact to the Gradle Plugin Portal.

The preferred workflow would be to have Maven delegate tasks to the module’s Gradle wrapper, using one of the following options:

As an example: https://github.com/raphw/byte-buddy/blob/master/byte-buddy-gradle-plugin/pom.xml

Another option would be to migrate entirely from Maven to Gradle, but a similar issue might arise when testing the Maven plugin.

Source: joelittlejohn/jsonschema2pojo