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

[jira] [Comment Edited] (CAMEL-19207) Missing version for mysql:mysql-connector-java in SB examples

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

Nicolas Filotto edited comment on CAMEL-19207 at 3/27/23 12:32 PM:
-------------------------------------------------------------------

Maybe it is because the mysql driver is under a GPL v2 license which is not compatible with an Apache License https://www.apache.org/licenses/GPL-compatibility.html ? I guess that if the scope is set to "provided", it should be good


was (Author: JIRAUSER285918):
Maybe it is because the mysql driver is under a GPL v2 license which is not compatible with an Apache License https://www.apache.org/licenses/GPL-compatibility.html?

> 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
>
> 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)