You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/06/24 10:24:00 UTC
[jira] [Created] (CAMEL-15236) camel-package-maven-plugin - Regen
may gen type as String instead of Long etc
Claus Ibsen created CAMEL-15236:
-----------------------------------
Summary: camel-package-maven-plugin - Regen may gen type as String instead of Long etc
Key: CAMEL-15236
URL: https://issues.apache.org/jira/browse/CAMEL-15236
Project: Camel
Issue Type: Improvement
Components: tooling
Reporter: Claus Ibsen
Fix For: 3.5.0
I suspect its like we had on generate configurer
https://github.com/apache/camel/blob/ac9c191c01340e89b7f6e01e9a25d0af16247f81/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/GenerateConfigurerMojo.java#L331
Where a option that is of type long, may have 2 setters one for Long and another for String. And then depending on the JDK compiler you may get a setter by random order.
So we should select the actual type via the field as done above
--
This message was sent by Atlassian Jira
(v8.3.4#803005)