-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump maven-compiler-plugin to 3.12.0 #37852
Conversation
gastaldi
commented
Dec 19, 2023
•
edited
Loading
edited
- Required for Make hibernate-jpamodelgen easier to apply to Quarkus 3.7+ projects #37477
84d1d7b
to
c418083
Compare
This comment has been minimized.
This comment has been minimized.
Looks like Kotlin doesn't like this new version |
Also bump the extensions to avoid compile errors
c418083
to
fdb03f5
Compare
Seems like a bug in the maven-compiler-plugin 3.12.0 or in the transitive plexus-compiler update: Caused by: java.lang.IllegalStateException: basedir /Volumes/CaseSensitive/workspace/quarkus/extensions/resteasy-reactive/quarkus-resteasy-reactive-kotlin/runtime/target/generated-sources/annotations does not exist
at org.codehaus.plexus.util.DirectoryScanner.scan (DirectoryScanner.java:268)
at org.codehaus.plexus.compiler.AbstractCompiler.getSourceFilesForSourceRoot (AbstractCompiler.java:168)
at org.codehaus.plexus.compiler.AbstractCompiler.getSourceFiles (AbstractCompiler.java:194)
at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile (JavacCompiler.java:138)
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1186)
at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:212)
at com.gradle.maven.cache.extension.d.c.a (SourceFile:27)
at com.gradle.maven.cache.extension.d.n.a (SourceFile:23)
at com.gradle.maven.cache.extension.d.h.a (SourceFile:28)
at com.gradle.maven.cache.extension.d.m.a (SourceFile:27)
at com.gradle.maven.cache.extension.d.a.c (SourceFile:115)
at com.gradle.maven.cache.extension.d.a.a (SourceFile:61)
at com.gradle.maven.cache.extension.d.e.a (SourceFile:27)
at com.gradle.maven.cache.extension.d.l.a (SourceFile:17)
at com.gradle.maven.cache.extension.d.d.a (SourceFile:42)
at com.gradle.maven.cache.extension.d.b.a (SourceFile:26)
at com.gradle.maven.cache.extension.d.f$1.run (SourceFile:35)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute (SourceFile:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute (SourceFile:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute (SourceFile:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute (SourceFile:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute (SourceFile:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute (SourceFile:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run (SourceFile:47)
at com.gradle.maven.cache.extension.d.f.a (SourceFile:31)
at com.gradle.maven.cache.extension.d.k.a (SourceFile:67)
at com.gradle.maven.cache.extension.h.b.lambda$createProxy$0 (SourceFile:79)
at jdk.proxy42.$Proxy150.execute (Unknown Source)
at com.gradle.maven.scan.extension.internal.d.a.executeMojo (SourceFile:114)
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:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348) I can always reproduce when building the project locally ( Caused by: java.lang.IllegalStateException: basedir /Volumes/CaseSensitive/workspace/quarkus/extensions/resteasy-reactive/quarkus-resteasy-reactive-kotlin/runtime/target/generated-sources/annotations does not exist
at org.codehaus.plexus.util.DirectoryScanner.scan (DirectoryScanner.java:268)
at org.codehaus.plexus.compiler.AbstractCompiler.getSourceFilesForSourceRoot (AbstractCompiler.java:168)
at org.codehaus.plexus.compiler.AbstractCompiler.getSourceFiles (AbstractCompiler.java:194)
at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile (JavacCompiler.java:138)
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1186)
at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:212)
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:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348) Seems to be a regression from https://issues.apache.org/jira/browse/MCOMPILER-379 |
The error above is gone if I build with |
This commit introduced the error: apache/maven-compiler-plugin@fd37f09 |
Yeah, let's close this one. I already created #37842 and put the issue as a pointer. Also it's apparently missing a few files. |
🙈 The PR is closed and the preview is expired. |