joelittlejohn / jsonschema2pojo

Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
http://www.jsonschema2pojo.org
Apache License 2.0
6.24k stars 1.66k forks source link

Add useful debug logging when reading schemas and creating classes #1483

Closed joelittlejohn closed 1 year ago

joelittlejohn commented 1 year ago

Closes #863

joelittlejohn commented 1 year ago

Note, in Maven if you want to enable debug logging for this plugin only, add a system property to configure the SimpleLogger, like this:

mvn -Dorg.slf4j.simpleLogger.log.org.jsonschema2pojo=debug test

This is useful for CI jobs where you want to see some output written to the log for debugging if the build fails.