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

Missing version for mysql:mysql-connector-java in SB examples

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.20.3
    • 3.20.6, 3.21.0
    • examples
    • None
    • Unknown

    Description

      Hitting an error trying to run camel-spring-boot-examples against 3.20.3 - a dependencyManagement version might need to be added to camel-spring-boot-dependencies.    Would probably be good to also add a version for org.codehaus.mojo:build-helper-maven-plugin although that is just causing warnings (not errors).

      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] 'dependencies.dependency.version' for mysql:mysql-connector-java:jar is missing. @ line 106, column 21
      [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 89, column 12
      [ERROR] 'dependencies.dependency.version' for mysql:mysql-connector-java:jar is missing. @ line 111, column 21
      [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 135, column 12
      [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 89, column 12
      [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 108, column 12
      [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.camel.springboot:camel-amqp-starter:jar -> duplicate declaration of version @ line 92, column 21
      [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 97, column 12
       @

       

      [ERROR] The build could not read 2 projects -> [Help 1]
      [ERROR]
      [ERROR]   The project org.apache.camel.springboot.example:spring-boot-jta-jpa:3.20.3 (/private/tmp/camel-spring-boot-examples/spring-boot-jta-jpa/pom.xml) has 1 error
      [ERROR]     'dependencies.dependency.version' for mysql:mysql-connector-java:jar is missing. @ line 106, column 21
      [ERROR]
      [ERROR]   The project org.apache.camel.springboot.example:camel-example-spring-boot-rest-jpa:3.20.3 (/private/tmp/camel-spring-boot-examples/rest-jpa/pom.xml) has 1 error
      [ERROR]     'dependencies.dependency.version' for mysql:mysql-connector-java:jar is missing. @ line 111, column 21
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tcunning Thomas Cunningham
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: