>>>>> Steinar Bang <[email protected]>: > Ok, the problem I'm having building with karaf-maven-plugin and java 21 > on github actions is probably caused by maven version 3.9.12: > https://github.com/apache/karaf/issues/2218
> Locally, on debian 13.2 "trixie", I am running maven 3.9.10 which has no > problems building with karaf-maven-plugin 4.4.9. While waiting for the fix in karaf-maven-plugin 4.4.10 did a workaround, downgrading maven from 3.9.12 to 3.9.11 in the github actions CI build: https://github.com/steinarb/sampleapp/commit/5e1d6eb6259e664d2091003b8b8a6ef313d6abab The downgrade of actions/checkout to v5.0.1 is because I encountered this issue when introducing s4u/setup-maven-action https://github.com/actions/checkout/issues/2299 This commit also removed actions/setup-java which has no function anymore and also removed the GITHUB_TOKEN from the environment. (I possibly will have to reintroduce the GITHUB_TOKEN environment variable for maven builds that do maven snapshot deployments...?)
