Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable maven plugin to recurse subdirectories for schema to code generation #117

Closed
joelittlejohn opened this issue Jun 27, 2013 · 1 comment
Milestone

Comments

@joelittlejohn
Copy link
Owner

Originally raised by @matallen:

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).

@joelittlejohn
Copy link
Owner Author

Merged changes from @matallen's fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant