Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15236

camel-package-maven-plugin - Regen may gen type as String instead of Long etc

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: tooling
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: