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

@Generated annotation and java 9 problem

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Just noticed this on the JDK9 build

      [ERROR] -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.camel:camel-package-maven-plugin:2.19.0-SNAPSHOT:prepare-spring-boot-auto-configuration (validate) on project camel-core: Execution validate of goal org.apache.camel:camel-package-maven-plugin:2.19.0-SNAPSHOT:prepare-spring-boot-auto-configuration failed: A required class was missing while executing org.apache.camel:camel-package-maven-plugin:2.19.0-SNAPSHOT:prepare-spring-boot-auto-configuration: javax/annotation/Generated

      John Poth do you have time to help look into this?

      It fails when building camel-core due a recent addition of adding `@generated` annotation to the generated source code for spring-boot starters and whatnot.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jpoth John Poth
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: