Skip to content

JDK25 : add proc full to maven-compiler-plugin to support annotations#101

Open
cunningt wants to merge 2 commits into
apache:mainfrom
cunningt:jdk25
Open

JDK25 : add proc full to maven-compiler-plugin to support annotations#101
cunningt wants to merge 2 commits into
apache:mainfrom
cunningt:jdk25

Conversation

@cunningt
Copy link
Copy Markdown
Contributor

@cunningt cunningt commented May 8, 2026

  • add <proc>full</proc> to maven-compiler-plugin so we can compile on JDK25.
  • upgrade rewrite recipe to support tests on JDK 25

Project is currently failing compile:

[INFO] Reactor Summary for Camel Parent Upgrades Recipes 4.21.0-SNAPSHOT:
[INFO]
[INFO] Camel Parent Upgrades Recipes ...................... SUCCESS [ 0.453 s]
[INFO] Camel Upgrades Recipes ............................. FAILURE [ 1.026 s]
[INFO] Camel Spring Boot Upgrades Recipes ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.537 s
[INFO] Finished at: 2026-05-08T10:36:20-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.15.0:compile (default-compile) on project camel-upgrade-recipes: Compilation failure: Compilation failure:
[ERROR] /Users/tcunning/src/community/camel-upgrade-recipes/camel-upgrade-recipes/src/main/java/org/apache/camel/upgrade/customRecipes/ChangeComponentUriRecipe.java:[83,21] constructor ChangeJavaComponentUriRecipe in class org.apache.camel.upgrade.customRecipes.internal.ChangeJavaComponentUriRecipe cannot be applied to given types;
[ERROR] required: no arguments
[ERROR] found: java.lang.String,java.lang.String
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] /Users/tcunning/src/community/camel-upgrade-recipes/camel-upgrade-recipes/src/main/java/org/apache/camel/upgrade/customRecipes/ChangeComponentUriRecipe.java:[84,21] constructor ChangeXmlComponentUriRecipe in class org.apache.camel.upgrade.customRecipes.internal.ChangeXmlComponentUriRecipe cannot be applied to given types;
[ERROR] required: no arguments
[ERROR] found: java.lang.String,java.lang.String
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] /Users/tcunning/src/community/camel-upgrade-recipes/camel-upgrade-recipes/src/main/java/org/apache/camel/upgrade/customRecipes/ChangeComponentUriRecipe.java:[85,21] constructor ChangeYamlComponentUriRecipe in class org.apache.camel.upgrade.customRecipes.internal.ChangeYamlComponentUriRecipe cannot be applied to given types;
[ERROR] required: no arguments
[ERROR] found: java.lang.String,java.lang.String
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] -> [Help 1]

@cunningt cunningt requested review from Croway and JiriOndrusek May 8, 2026 14:36
@cunningt
Copy link
Copy Markdown
Contributor Author

cunningt commented May 8, 2026

@JiriOndrusek There's a comment on the rewrite recipe bom version that this version should be synced with quarkus-updates but the tests are all failing on JDK 25 unless we upgrade that version.

https://github.com/apache/camel-upgrade-recipes/blob/main/pom.xml#L126

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