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

Add flag not to generate hashCode() and equals() to Maven plugin #53

Closed
joelittlejohn opened this issue Jun 23, 2013 · 2 comments
Closed

Comments

@joelittlejohn
Copy link
Owner

Original author: [email protected] (July 03, 2012 18:55:59)

Interested in POJO with no extra content.

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

@joelittlejohn
Copy link
Owner Author

From [email protected] on July 04, 2012 17:32:14
Thanks for raising this. I'll definitely try and push this into 0.3.1.

@joelittlejohn
Copy link
Owner Author

From [email protected] on July 06, 2012 20:32:26
This is fixed and will be released in 0.3.1. The following new config properties have been added:

Maven:

includeHashcodeAndEquals (true|false, default true)
includeToString (true|false, default true)

CLI:

-E, --omit-hashcode-and-equals
-S, --omit-tostring

(The polarity is reversed for the CLI as it works better this way, i.e. supply the argument to deviate from the default behaviour).

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