joelittlejohn/jsonschema2pojo — pull request #3 by matallen (2013-06-18 06:56:57+00:00)
Title: enable maven plugin to recurse subdirectories for schema to code generation

The Problem

I wanted to parse multiple schemas where there were common element (and therefore class names) between them. the generation prefixes the classes with underscores which will be difficult to understand where the classes are intended to be used.

The Solution

I added an "includeSubdirectories" option in the maven pluging and the Mojo simply checks and subdirectories of the specified sourceDirectory for schemas (and adds the folder name to the package for easy identification of the class)