org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.axonivy.ivy.ci:project-build-plugin:6 .1.0-SNAPSHOT:compileProject (default-compileProject) on project standard: Failed to compile project 'C:\Users\trungnguyen\Desktop\HuyANh\standard'.

axonivy.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Project-build-plugin 6.1 SNAPSHOT failed to build ivy project 6.1 due to source level: Java 1.8 - Axon.ivy | Q&A

    axonivy.com | 8 months ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.axonivy.ivy.ci:project-build-plugin:6 .1.0-SNAPSHOT:compileProject (default-compileProject) on project standard: Failed to compile project 'C:\Users\trungnguyen\Desktop\HuyANh\standard'.

    Root Cause Analysis

    1. java.lang.RuntimeException

      Java compiler error : source level should be comprised in between '1.3' and '1.7' (or '5', '5.0', ..., '7' or '7.0'): 1.8

      at ch.ivyteam.ivy.java.internal.JavaBuilder.compileWithJdt()
    2. ch.ivyteam.ivy
      MavenProjectBuilder.compile
      1. ch.ivyteam.ivy.java.internal.JavaBuilder.compileWithJdt(JavaBuilder.java:144)
      2. ch.ivyteam.ivy.java.internal.JavaBuilder.build(JavaBuilder.java:114)
      3. ch.ivyteam.ivy.project.build.MavenProjectBuilder$1.call(MavenProjectBuilder.java:147)
      4. ch.ivyteam.ivy.project.build.MavenProjectBuilder$1.call(MavenProjectBuilder.java:1)
      5. ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1467)
      6. ch.ivyteam.ivy.scripting.dataclass.internal.InMemoryEngineController.executeAsSystem(InMemoryEngineController.java:100)
      7. ch.ivyteam.ivy.project.build.MavenProjectBuilder.buildOnServer(MavenProjectBuilder.java:121)
      8. ch.ivyteam.ivy.project.build.MavenProjectBuilder.compile(MavenProjectBuilder.java:99)
      8 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. ch.ivyteam.ivy
      AbstractProjectCompileMojo.execute
      1. ch.ivyteam.ivy.maven.engine.MavenProjectBuilderProxy.lambda$compile$2(MavenProjectBuilderProxy.java:82)
      2. ch.ivyteam.ivy.maven.engine.MavenProjectBuilderProxy.executeInEngineDir(MavenProjectBuilderProxy.java:115)
      3. ch.ivyteam.ivy.maven.engine.MavenProjectBuilderProxy.compile(MavenProjectBuilderProxy.java:81)
      4. ch.ivyteam.ivy.maven.CompileProjectMojo.compile(CompileProjectMojo.java:60)
      5. ch.ivyteam.ivy.maven.AbstractProjectCompileMojo.execute(AbstractProjectCompileMojo.java:69)
      5 frames
    5. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    6. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    7. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    9. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames