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'.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4760

  • 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'.
  • via GitHub by rultor
    , 1 year ago
    Failed to execute goal com.jcabi:jcabi-latex-maven-plugin:1.0:compile (default) on project s3auth: Failed to compile 'packages.tex'
  • via GitHub by rultor
    , 1 year ago
    Failed to execute goal com.jcabi:jcabi-latex-maven-plugin:1.0:compile (default) on project s3auth: Failed to compile 'packages.tex'
  • Stack trace

    • 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'. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to compile project 'C:\Users\trungnguyen/Desktop\HuyANh\standard'. at ch.ivyteam.ivy.maven.AbstractProjectCompileMojo.execute(AbstractProjectCompileMojo.java:73) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at ch.ivyteam.ivy.maven.engine.MavenProjectBuilderProxy.lambda$compile$2(MavenProjectBuilderProxy.java:82) at ch.ivyteam.ivy.maven.engine.MavenProjectBuilderProxy.executeInEngineDir(MavenProjectBuilderProxy.java:115) at ch.ivyteam.ivy.maven.engine.MavenProjectBuilderProxy.compile(MavenProjectBuilderProxy.java:81) at ch.ivyteam.ivy.maven.CompileProjectMojo.compile(CompileProjectMojo.java:60) at ch.ivyteam.ivy.maven.AbstractProjectCompileMojo.execute(AbstractProjectCompileMojo.java:69) ... 22 more Caused by: 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(JavaBuilder.java:144) at ch.ivyteam.ivy.java.internal.JavaBuilder.build(JavaBuilder.java:114) at ch.ivyteam.ivy.project.build.MavenProjectBuilder$1.call(MavenProjectBuilder.java:147) at ch.ivyteam.ivy.project.build.MavenProjectBuilder$1.call(MavenProjectBuilder.java:1) at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1467) at ch.ivyteam.ivy.scripting.dataclass.internal.InMemoryEngineController.executeAsSystem(InMemoryEngineController.java:100) at ch.ivyteam.ivy.project.build.MavenProjectBuilder.buildOnServer(MavenProjectBuilder.java:121) at ch.ivyteam.ivy.project.build.MavenProjectBuilder.compile(MavenProjectBuilder.java:99) ... 31 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.