You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Cunningham (Jira)" <ji...@apache.org> on 2023/03/27 11:46:00 UTC

[jira] [Commented] (CAMEL-19207) Missing version for mysql:mysql-connector-java

    [ https://issues.apache.org/jira/browse/CAMEL-19207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705322#comment-17705322 ] 

Thomas Cunningham commented on CAMEL-19207:
-------------------------------------------

I tried using the camel-spring-boot-examples 3.20.0 tag here and changed all the versions to 3.20.3.    It looks like in the main branch, rest-jpa and spring-boot-jta-jpa have been removed.     If they are unsupported for 3.20.3, maybe this issue is invalid.

> Missing version for mysql:mysql-connector-java
> ----------------------------------------------
>
>                 Key: CAMEL-19207
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19207
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-boot
>    Affects Versions: 3.20.3
>            Reporter: Thomas Cunningham
>            Priority: Major
>
> 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)