bumps deps to latest versions#279
Conversation
… for pulsar Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
| <version>${log4j.version}</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <!-- route slf4j 2 over log4j2 during integration tests --> |
There was a problem hiding this comment.
@CodePrometheus fyi I added this to kill the warning in the integration test for pulsar. unrelated I know but too lazy to make a separate PR for such a nit.
|
seems I forgot to tell goose to use JDK 11 😊 |
|
free library update to anyone that fixes the JDK 11 build fail, I suspect we need a comment above some dep saying we can't update it while we still need to compile this project for java 6 (hence need JDK 11) |
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
|
nm guessed and it was errorprone, then maven-bundle-plugin |
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
|
updated my prompt and also the version property name convention to match brave and also be more clear about bump rules. It managed to find more and update them this time. |
|
Here is the way to build the OpenRewrite recipes correctly: https://youtu.be/HbyZsXz5Owo
|
|
thanks @jkschneider! yeah I should have been clear that doing it this way was mostly to practice prompt writing and it could have just as well been a task completely unrelated to maven. 💯 openrewrite is the right tool for this job. |
|
ps will hold this open until brave is released, for further polishing. once this is released then we can do zipkin |
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
|
fyi https://github.com/Bigsy/maven-mcp-server fixed the bug overnight, so it finds latest version properly. I just added a commit after re-running the prompt |
6.1.0 is out |
|
Great i will bump this with brave 6.1.0 when back home unless you beat me to it. |
|
cutting 3.5.0 |

This updates all versions to latest we can, with normal project constraints. Doing it a somewhat hard, but interesting way because hey, it's a weekend, so why not?!
I used goose to update to the latest versions with the following prompt, and
provider: google model: gemini-2.0-flashwith developer and github extensions enabled, as well as maven-mcp-serverWhy didn't I just use openrewrite? well I did start with that,
./mvnw org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.activeRecipes=org.openrewrite.maven.UpgradePluginVersion, but it crashed cc @timtebeekrecipe stack trace
``` [WARNING] The recipe produced 237 warning(s). Please report this to the recipe author. [WARNING] Run with `--debug` or `-Drewrite.exportDatatables=true` to see all warnings. java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null at java.util.regex.Matcher.getTextLength (Matcher.java:1769) at java.util.regex.Matcher.reset (Matcher.java:415) at java.util.regex.Matcher. (Matcher.java:252) at java.util.regex.Pattern.matcher (Pattern.java:1134) at org.openrewrite.semver.HyphenRange.build (HyphenRange.java:47) at org.openrewrite.semver.Semver.validate (Semver.java:64) at org.openrewrite.maven.UpgradePluginVersion.getVisitor (UpgradePluginVersion.java:120) at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7 (RecipeRunCycle.java:178) at org.openrewrite.scheduling.RecipeStack.reduce (RecipeStack.java:57) at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$8 (RecipeRunCycle.java:155) at org.openrewrite.internal.InMemoryLargeSourceSet.lambda$edit$0 (InMemoryLargeSourceSet.java:66) at org.openrewrite.internal.ListUtils.map (ListUtils.java:243) at org.openrewrite.internal.ListUtils.map (ListUtils.java:266) at org.openrewrite.internal.InMemoryLargeSourceSet.edit (InMemoryLargeSourceSet.java:65) at org.openrewrite.scheduling.RecipeRunCycle.editSources (RecipeRunCycle.java:154) at org.openrewrite.RecipeScheduler.runRecipeCycles (RecipeScheduler.java:87) at org.openrewrite.RecipeScheduler.scheduleRun (RecipeScheduler.java:41) at org.openrewrite.Recipe.run (Recipe.java:378) at org.openrewrite.Recipe.run (Recipe.java:374) at org.openrewrite.Recipe.run (Recipe.java:370) at org.openrewrite.maven.AbstractRewriteBaseRunMojo.runRecipe (AbstractRewriteBaseRunMojo.java:243) at org.openrewrite.maven.AbstractRewriteBaseRunMojo.listResults (AbstractRewriteBaseRunMojo.java:154) at org.openrewrite.maven.AbstractRewriteRunMojo.execute (AbstractRewriteRunMojo.java:66) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283) at org.apache.maven.cli.MavenCli.main (MavenCli.java:206) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:568) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:568) at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:52) at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:161) at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:73) ```I then decided to destroy several hours trying to do something similar with an LLM ;)