Skip to content
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

JDK 21 is not recognized #261

Closed
wendigo opened this issue May 16, 2023 · 5 comments · Fixed by #262
Closed

JDK 21 is not recognized #261

wendigo opened this issue May 16, 2023 · 5 comments · Fixed by #262

Comments

@wendigo
Copy link
Contributor

wendigo commented May 16, 2023

Caused by: java.lang.IllegalArgumentException: Unknown JDK version given. Should be something like "1.7", "8", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20"
    at org.apache.maven.plugins.enforcer.EnforceBytecodeVersion.computeParameters (EnforceBytecodeVersion.java:233)
    at org.apache.maven.plugins.enforcer.EnforceBytecodeVersion.handleArtifacts (EnforceBytecodeVersion.java:192)
    at org.apache.maven.plugins.enforcer.AbstractResolveDependencies.execute (AbstractResolveDependencies.java:64)
    at org.apache.maven.plugins.enforcer.EnforceMojo.executeRuleOld (EnforceMojo.java:342)
    at org.apache.maven.plugins.enforcer.EnforceMojo.executeRule (EnforceMojo.java:323)
    at org.apache.maven.plugins.enforcer.EnforceMojo.execute (EnforceMojo.java:248)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:193)
    at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:180)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:572)
    at java.util.concurrent.FutureTask.run (FutureTask.java:317)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:642)
    at java.lang.Thread.run (Thread.java:1583)
@slawekjaranowski
Copy link
Member

PR are welcome

@wendigo
Copy link
Contributor Author

wendigo commented May 30, 2023

@slawekjaranowski when is the new release coming?

@slawekjaranowski
Copy link
Member

@slawekjaranowski when is the new release coming?

Thanks for ping. I will try today or tomorrow.

@wendigo
Copy link
Contributor Author

wendigo commented Jun 1, 2023

Gentle ping @slawekjaranowski :)

@wendigo
Copy link
Contributor Author

wendigo commented Jun 2, 2023

Thank you @slawekjaranowski. I can confirm that extra-enforcer-rules now work correctly for us in the https://github.com/trinodb/trino/ project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants