-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 to Maven plugin that allows Jackson annotations to be omitted #52
Comments
From PaulGr...@gmail.com on July 03, 2012 22:49:36 |
From ottofoni...@gmail.com on July 04, 2012 08:45:37 |
From joelittl...@gmail.com on July 04, 2012 17:45:11 I've always intended to try to support JSON libraries other than Jackson. I like the idea of a new config property 'annotationStyle' that currently supports the values JACKSON (default) and NONE. |
From joelittl...@gmail.com on July 16, 2012 22:46:59 The plugin now supports a new configuration property 'annotationStyle'. Supported values are JACKSON (default) and NONE. This config param is also available for the ant task and cli (see docs on release for details). |
From PaulGr...@gmail.com on July 17, 2012 16:18:11 I get this output: [INFO] Failed to configure plugin parameters for: com.googlecode.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.3.1-SNAPSHOT
Cause: Cannot assign configuration entry 'annotationStyle' to 'class com.googlecode.jsonschema2pojo.AnnotationStyle' from 'NONE', which is of type class java.lang.String from this config:
|
From joelittl...@gmail.com on July 17, 2012 16:25:59 |
From PaulGr...@gmail.com on July 17, 2012 17:57:50 |
From joelittl...@gmail.com on July 17, 2012 22:13:55 http://jira.codehaus.org/browse/MNG-4292 I'll have to switch this to a String and keep the enum for internal use. Time to reopen this I think. This was a great spot Paul, thanks for trying this SNAPSHOT and reporting the issue! |
From joelittl...@gmail.com on July 18, 2012 20:57:28 One nice side effect of this change is that the config value is now case insensitive, so there's no need to use all caps. |
Original author: ottofoni...@gmail.com (July 03, 2012 18:55:14)
Interested in POJO with no extra content.
Without @JsonSerialize, @generated,@JsonPropertyOrder.
Thanks.
Original issue: http://code.google.com/p/jsonschema2pojo/issues/detail?id=52
The text was updated successfully, but these errors were encountered: