Bump error-prone.version from 2.25.0 to 2.26.0 #944
Closed
Jenkins (hafner.hm.edu) / Jenkins
failed
Mar 13, 2024 in 19s
Build, Test, and Static Analysis: error in 'sh' step
Build, Test, and Static Analysis / Shell Script
Error in sh
step, with arguments mvn -V -e clean verify -Dmaven.test.failure.ignore -Dgpg.skip -Drevapi.skip
.
script returned exit code 1
Build log
[2024-03-13T15:21:39.565Z] + mvn -V -e clean verify -Dmaven.test.failure.ignore -Dgpg.skip -Drevapi.skip
[2024-03-13T15:21:39.565Z] Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc"
[2024-03-13T15:21:39.565Z] Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
[2024-03-13T15:21:39.565Z] Maven home: /opt/maven
[2024-03-13T15:21:39.565Z] Java version: 17.0.10, vendor: Eclipse Adoptium, runtime: /opt/java/openjdk
[2024-03-13T15:21:39.565Z] Default locale: en_US, platform encoding: UTF-8
[2024-03-13T15:21:39.565Z] OS name: "linux", version: "6.6.16-linuxkit", arch: "amd64", family: "unix"
[2024-03-13T15:21:40.495Z] [INFO] [jenkins-event-spy] Generate /var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc/maven-spy-20240313-152140-29016980957437993699143.log.tmp ...
[2024-03-13T15:21:40.495Z] [INFO] Error stacktraces are turned on.
[2024-03-13T15:21:40.495Z] [INFO] Scanning for projects...
[2024-03-13T15:21:41.429Z] [INFO] Inspecting build with total of 1 modules...
[2024-03-13T15:21:41.429Z] [INFO] Installing Nexus Staging features:
[2024-03-13T15:21:41.429Z] [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[2024-03-13T15:21:41.429Z] [INFO]
[2024-03-13T15:21:41.429Z] [INFO] ---------------------< edu.hm.hafner:codingstyle >----------------------
[2024-03-13T15:21:41.429Z] [INFO] Building Java coding style 3.43.0-SNAPSHOT
[2024-03-13T15:21:41.429Z] [INFO] --------------------------------[ jar ]---------------------------------
[2024-03-13T15:21:41.688Z] [INFO]
[2024-03-13T15:21:41.688Z] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ codingstyle ---
[2024-03-13T15:21:41.688Z] [INFO]
[2024-03-13T15:21:41.688Z] [INFO] --- maven-enforcer-plugin:3.4.1:enforce (enforce-java) @ codingstyle ---
[2024-03-13T15:21:41.688Z] [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2024-03-13T15:21:41.688Z] [INFO]
[2024-03-13T15:21:41.688Z] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ codingstyle ---
[2024-03-13T15:21:41.946Z] [INFO] Copying 10 resources from etc to target/classes
[2024-03-13T15:21:41.946Z] [INFO] skip non existing resourceDirectory /var/data/workspace/uhafner_codingstyle_PR-944/src/main/resources
[2024-03-13T15:21:41.946Z] [INFO]
[2024-03-13T15:21:41.946Z] [INFO] --- maven-compiler-plugin:3.12.1:compile (default-compile) @ codingstyle ---
[2024-03-13T15:21:42.203Z] [INFO] Recompiling the module because of changed source code.
[2024-03-13T15:21:42.203Z] [INFO] Compiling 15 source files with javac [forked debug release 11 module-path] to target/classes
[2024-03-13T15:21:43.135Z] [INFO] -------------------------------------------------------------
[2024-03-13T15:21:43.135Z] [ERROR] COMPILATION ERROR :
[2024-03-13T15:21:43.135Z] [INFO] -------------------------------------------------------------
[2024-03-13T15:21:43.135Z] [ERROR] Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc"
[2024-03-13T15:21:43.135Z] /var/data/workspace/uhafner_codingstyle_PR-944/src/main/java/module-info.java:[6,34] error: module not found: com.google.errorprone.annotations
[2024-03-13T15:21:43.135Z] [INFO] 1 error
[2024-03-13T15:21:43.135Z] [INFO] -------------------------------------------------------------
[2024-03-13T15:21:43.135Z] [INFO] ------------------------------------------------------------------------
[2024-03-13T15:21:43.135Z] [INFO] BUILD FAILURE
[2024-03-13T15:21:43.135Z] [INFO] ------------------------------------------------------------------------
[2024-03-13T15:21:43.135Z] [INFO] Total time: 2.685 s
[2024-03-13T15:21:43.135Z] [INFO] Finished at: 2024-03-13T15:21:43Z
[2024-03-13T15:21:43.135Z] [INFO] ------------------------------------------------------------------------
[2024-03-13T15:21:43.135Z] [INFO] [jenkins-event-spy] Generated /var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc/maven-spy-20240313-152140-29016980957437993699143.log
[2024-03-13T15:21:43.135Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project codingstyle: Compilation failure
[2024-03-13T15:21:43.135Z] [ERROR] Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc"
[2024-03-13T15:21:43.135Z] [ERROR] /var/data/workspace/uhafner_codingstyle_PR-944/src/main/java/module-info.java:[6,34] error: module not found: com.google.errorprone.annotations
[2024-03-13T15:21:43.135Z] [ERROR] -> [Help 1]
[2024-03-13T15:21:43.135Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project codingstyle: Compilation failure
[2024-03-13T15:21:43.135Z] Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc"
[2024-03-13T15:21:43.135Z] /var/data/workspace/uhafner_codingstyle_PR-944/src/main/java/module-info.java:[6,34] error: module not found: com.google.errorprone.annotations
[2024-03-13T15:21:43.135Z]
[2024-03-13T15:21:43.135Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
[2024-03-13T15:21:43.135Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2024-03-13T15:21:43.135Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2024-03-13T15:21:43.135Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2024-03-13T15:21:43.135Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2024-03-13T15:21:43.135Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2024-03-13T15:21:43.135Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2024-03-13T15:21:43.135Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2024-03-13T15:21:43.135Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2024-03-13T15:21:43.135Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
[2024-03-13T15:21:43.135Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2024-03-13T15:21:43.135Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2024-03-13T15:21:43.135Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2024-03-13T15:21:43.135Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2024-03-13T15:21:43.135Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2024-03-13T15:21:43.135Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-03-13T15:21:43.135Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
[2024-03-13T15:21:43.135Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-03-13T15:21:43.135Z] at java.lang.reflect.Method.invoke (Method.java:568)
[2024-03-13T15:21:43.135Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2024-03-13T15:21:43.135Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2024-03-13T15:21:43.135Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2024-03-13T15:21:43.135Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2024-03-13T15:21:43.135Z] Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
[2024-03-13T15:21:43.135Z] Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/var/data/workspace/uhafner_codingstyle_PR-944@tmp/withMaven95d148bc"
[2024-03-13T15:21:43.135Z] /var/data/workspace/uhafner_codingstyle_PR-944/src/main/java/module-info.java:[6,34] error: module not found: com.google.errorprone.annotations
[2024-03-13T15:21:43.135Z]
[2024-03-13T15:21:43.135Z] at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1269)
[2024-03-13T15:21:43.135Z] at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:212)
[2024-03-13T15:21:43.136Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2024-03-13T15:21:43.136Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2024-03-13T15:21:43.136Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2024-03-13T15:21:43.136Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2024-03-13T15:21:43.136Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2024-03-13T15:21:43.136Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2024-03-13T15:21:43.136Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2024-03-13T15:21:43.136Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2024-03-13T15:21:43.136Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2024-03-13T15:21:43.136Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2024-03-13T15:21:43.136Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
[2024-03-13T15:21:43.136Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2024-03-13T15:21:43.136Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2024-03-13T15:21:43.136Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2024-03-13T15:21:43.136Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2024-03-13T15:21:43.136Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2024-03-13T15:21:43.136Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-03-13T15:21:43.136Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
[2024-03-13T15:21:43.136Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-03-13T15:21:43.136Z] at java.lang.reflect.Method.invoke (Method.java:568)
[2024-03-13T15:21:43.136Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2024-03-13T15:21:43.136Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2024-03-13T15:21:43.136Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2024-03-13T15:21:43.136Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2024-03-13T15:21:43.136Z] [ERROR]
[2024-03-13T15:21:43.136Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2024-03-13T15:21:43.136Z] [ERROR]
[2024-03-13T15:21:43.136Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2024-03-13T15:21:43.136Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Details
- Checkout (5.3 sec)
- Git mining (8.3 sec)
- Build, Test, and Static Analysis (5.5 sec)
Error: script returned exit code 1
Loading