Created
August 17, 2022 21:28
-
-
Save breandan/94115dd8f2859a04f05084d6bfa432bb to your computer and use it in GitHub Desktop.
Initial error produced when I ran `mvn -e test`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Error stacktraces are turned on. | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ----------------< il.ac.technion.cs:subtyping-machine >----------------- | |
[INFO] Building subtyping-machine 1.0.0 | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ subtyping-machine --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory /Users/breandan/IdeaProjects/subtyping-machine/src/main/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ subtyping-machine --- | |
[INFO] Changes detected - recompiling the module! | |
[INFO] Compiling 10 source files to /Users/breandan/IdeaProjects/subtyping-machine/target/classes | |
[INFO] ------------------------------------------------------------- | |
[ERROR] COMPILATION ERROR : | |
[INFO] ------------------------------------------------------------- | |
[ERROR] invalid source release 15 with --enable-preview | |
(preview language features are only supported for release 18) | |
[INFO] 1 error | |
[INFO] ------------------------------------------------------------- | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 0.336 s | |
[INFO] Finished at: 2022-08-17T17:18:03-04:00 | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project subtyping-machine: Compilation failure | |
[ERROR] invalid source release 15 with --enable-preview | |
[ERROR] (preview language features are only supported for release 18) | |
[ERROR] | |
[ERROR] -> [Help 1] | |
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project subtyping-machine: Compilation failure | |
invalid source release 15 with --enable-preview | |
(preview language features are only supported for release 18) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:306) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) | |
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) | |
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127) | |
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) | |
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) | |
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) | |
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) | |
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) | |
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) | |
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:104) | |
at java.lang.reflect.Method.invoke (Method.java:577) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) | |
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure | |
invalid source release 15 with --enable-preview | |
(preview language features are only supported for release 18) | |
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:858) | |
at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:129) | |
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) | |
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) | |
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127) | |
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) | |
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) | |
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) | |
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) | |
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) | |
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) | |
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:104) | |
at java.lang.reflect.Method.invoke (Method.java:577) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) | |
[ERROR] | |
[ERROR] Re-run Maven using the -X switch to enable full debug logging. | |
[ERROR] | |
[ERROR] For more information about the errors and possible solutions, please read the following articles: | |
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment