Skip to content

CAMEL-18341 - Upgrade from Codehaus Groovy 3.0.12 to Apache Groovy 4.0.4#604

Closed
apupier wants to merge 1 commit into
apache:mainfrom
apupier:18341-UpgradeGroovyTo4.x
Closed

CAMEL-18341 - Upgrade from Codehaus Groovy 3.0.12 to Apache Groovy 4.0.4#604
apupier wants to merge 1 commit into
apache:mainfrom
apupier:18341-UpgradeGroovyTo4.x

Conversation

@apupier
Copy link
Copy Markdown
Contributor

@apupier apupier commented Aug 3, 2022

might worth merging at same time than apache/camel#8102

Currently have this build error:

[ERROR] Failed to execute goal org.apache.camel.springboot:camel-spring-boot-generator-maven-plugin:3.19.0-SNAPSHOT:generate-dependencies-bom (default) on project camel-spring-boot-dependencies-generator: Found 4 conflicts between the current managed dependencies and the external BOMS:
[ERROR]  - org.codehaus.groovy:groovy-ant:jar
[ERROR]  - org.codehaus.groovy:groovy-jsr223:jar
[ERROR]  - org.codehaus.groovy:groovy-xml:jar
[ERROR]  - org.codehaus.groovy:groovy:jar
[ERROR] -> [Help 1]

I do not find other references in this project. Can it be that it needs to be updated in apache/camel project first? But it will break the build if we start merging the apache/camel and not apache/camel-spring-boot . Wondering how I can test locally with new version of apache/camel, run in offlien mode locally after build of apache/camel? (even if I would have expected that it picked the latest locally built) Or is it a real problem in another project?

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
@apupier
Copy link
Copy Markdown
Contributor Author

apupier commented Aug 3, 2022

(the failur eon the Pull request buidl seems not related to this Pull request)

@davsclaus
Copy link
Copy Markdown
Contributor

There is some "weird" code somewhere in camel-spring-boot that aligns camel dependency versions vs spring boot versions and then fail if something is not aligned.

So it seems that spring boot groovy is on 3.x and when you upgrade to 4.x they dont match.

@apupier
Copy link
Copy Markdown
Contributor Author

apupier commented Aug 3, 2022

image

So would mean that Spring Boot would need to upgrade to groovy 4.x before we can upgrade in Camel?

@apupier
Copy link
Copy Markdown
Contributor Author

apupier commented Aug 3, 2022

sounds they did it for Spring 3.x spring-projects/spring-boot#31631
3.0.0 GA is planned for end of November https://github.com/spring-projects/spring-boot/milestone/240

@davsclaus
Copy link
Copy Markdown
Contributor

Yes we need both quarkus and spring boot to upgrade to groovy 4

@apupier
Copy link
Copy Markdown
Contributor Author

apupier commented Aug 3, 2022

reported quarkusio/quarkus#27111 for Quarkus

@davsclaus
Copy link
Copy Markdown
Contributor

#774

@davsclaus davsclaus closed this Mar 9, 2023
cunningt pushed a commit to cunningt/camel-spring-boot that referenced this pull request Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants