[
https://issues.apache.org/jira/browse/CAMEL-19207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-19207.
---------------------------------
Resolution: Fixed
> Missing version for mysql:mysql-connector-java in SB examples
> -------------------------------------------------------------
>
> Key: CAMEL-19207
> URL: https://issues.apache.org/jira/browse/CAMEL-19207
> Project: Camel
> Issue Type: Task
> Components: examples
> Affects Versions: 3.20.3
> Reporter: Thomas Cunningham
> Priority: Minor
> Fix For: 3.20.6, 3.21.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)