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

Plugin does not respect types present on the project classpath #24

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

Comments

@joelittlejohn
Copy link
Owner

Original author: [email protected] (June 04, 2011 20:58:50)

When invoking jsonschema2pojo via the Maven plugin, the project classpath isn't inherited during the plugin execution.

This means that reusing existing types (as described at http://code.google.com/p/jsonschema2pojo/wiki/Reference#javaType) is difficult because the project dependencies are not visible when the plugin is executed so new types are created.

Original issue: http://code.google.com/p/jsonschema2pojo/issues/detail?id=24

@joelittlejohn
Copy link
Owner Author

From [email protected] on June 07, 2011 21:59:39
Artifacts associated with project dependencies are now added to the classloader that is passed on to the POJO generation stage.

Fixed in r1c429d923f85, r99a4c8170366.

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

No branches or pull requests

1 participant