See https://builds.apache.org/job/maven-box/job/maven-enforcer/job/MENFORCER-267/53/
Changes: * Use Java 7 JDK for all released Maven versions and 8 for planned 3.7.x * Exclude H23 * [INFRA-20239] H23 should be ok now * Revert: Use Java 7 JDK for all released Maven versions (135a0e16) due to * Update Maven versions * There's no M3.6.3 for Windows No tests ran. Build log: [...truncated 110975 lines...] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ enforcer --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ enforcer --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ enforcer --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ enforcer --- [INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ enforcer --- [INFO] Enabled default license matchers. [INFO] Will parse SCM ignores for exclusions... [INFO] Parsing exclusions from f:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@2\windows-jdk15-m3.6.x_build\.gitignore [INFO] Finished adding exclusions from SCM ignore files. [INFO] 68 implicit excludes (use -debug for more details). [INFO] Exclude: .repository/** [INFO] Exclude: .maven/spy.log [INFO] Exclude: dependency-reduced-pom.xml [INFO] Exclude: .java-version [INFO] 13 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 11 licenses. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ enforcer --- [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ enforcer --- [INFO] Attaching 'src\site\site.xml' site descriptor with classifier 'site'. [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ enforcer --- [INFO] [INFO] ---------------< org.apache.maven.enforcer:enforcer-api >--------------- [INFO] Building Apache Maven Enforcer API 3.0.0-SNAPSHOT [2/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ enforcer-api --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ enforcer-api --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ enforcer-api --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ enforcer-api --- [INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ enforcer-api --- [INFO] Enabled default license matchers. [INFO] Will parse SCM ignores for exclusions... [INFO] Finished adding exclusions from SCM ignore files. [INFO] 61 implicit excludes (use -debug for more details). [INFO] Exclude: .repository/** [INFO] Exclude: .maven/spy.log [INFO] Exclude: dependency-reduced-pom.xml [INFO] Exclude: .java-version [INFO] 14 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 14 licenses. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ enforcer-api --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ enforcer-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@2\windows-jdk15-m3.6.x_build\enforcer-api\src\main\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ enforcer-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@2\windows-jdk15-m3.6.x_build\enforcer-api\target\classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ enforcer-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@2\windows-jdk15-m3.6.x_build\enforcer-api\src\test\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ enforcer-api --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ enforcer-api --- [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ enforcer-api --- [INFO] Building jar: F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@2\windows-jdk15-m3.6.x_build\enforcer-api\target\enforcer-api-3.0.0-SNAPSHOT.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ enforcer-api --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ enforcer-api --- [INFO] [INFO] --------------< org.apache.maven.enforcer:enforcer-rules >-------------- [INFO] Building Apache Maven Enforcer Built-In Rules 3.0.0-SNAPSHOT [3/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ enforcer-rules --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ enforcer-rules --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ enforcer-rules --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ enforcer-rules --- [INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ enforcer-rules --- [INFO] Enabled default license matchers. [INFO] Will parse SCM ignores for exclusions... [INFO] Finished adding exclusions from SCM ignore files. [INFO] 61 implicit excludes (use -debug for more details). [INFO] Exclude: .repository/** [INFO] Exclude: .maven/spy.log [INFO] Exclude: dependency-reduced-pom.xml [INFO] Exclude: .java-version [INFO] 128 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 122 licenses. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ enforcer-rules --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ enforcer-rules --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@2\windows-jdk15-m3.6.x_build\enforcer-rules\src\main\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ enforcer-rules --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 43 source files to F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@2\windows-jdk15-m3.6.x_build\enforcer-rules\target\classes [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/windows-jdk15-m3.6.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java: Some input files use or override a deprecated API. [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/windows-jdk15-m3.6.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java: Recompile with -Xlint:deprecation for details. [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/windows-jdk15-m3.6.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@2\windows-jdk15-m3.6.x_build\enforcer-rules\src\main\java\org\apache\maven\plugins\enforcer\RequirePluginVersions.java uses unchecked or unsafe operations. [INFO] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/windows-jdk15-m3.6.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/windows-jdk15-m3.6.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java:[35,5] method does not override or implement a method from a supertype [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/windows-jdk15-m3.6.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[561,53] cannot find symbol symbol: variable request location: class org.apache.maven.plugins.enforcer.RequirePluginVersions [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache Maven Enforcer 3.0.0-SNAPSHOT: [INFO] [INFO] Apache Maven Enforcer .............................. SUCCESS [ 5.185 s] [INFO] Apache Maven Enforcer API .......................... SUCCESS [ 3.180 s] [INFO] Apache Maven Enforcer Built-In Rules ............... FAILURE [ 3.448 s] [INFO] Apache Maven Enforcer Plugin ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.070 s [INFO] Finished at: 2020-07-02T08:19:26-07:00 [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@2@tmp\withMavenf3481013\maven-spy-20200702-081914-1645290385016364581596.log [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project enforcer-rules: Compilation failure: Compilation failure: [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/windows-jdk15-m3.6.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java:[35,5] method does not override or implement a method from a supertype [ERROR] /F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/windows-jdk15-m3.6.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[561,53] cannot find symbol [ERROR] symbol: variable request [ERROR] location: class org.apache.maven.plugins.enforcer.RequirePluginVersions [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project enforcer-rules: Compilation failure at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) 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:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) 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:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) 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 at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1161) at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:168) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) 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:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) 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:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) 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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :enforcer-rules [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] artifactsPublisher - Archive artifact windows-jdk15-m3.6.x_build\pom.xml under org\apache\maven\enforcer\enforcer\3.0.0-SNAPSHOT\enforcer-3.0.0-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact windows-jdk15-m3.6.x_build\target\enforcer-3.0.0-SNAPSHOT-site.xml under org\apache\maven\enforcer\enforcer\3.0.0-SNAPSHOT\enforcer-3.0.0-SNAPSHOT-site.xml [withMaven] artifactsPublisher - Archive artifact windows-jdk15-m3.6.x_build\enforcer-api\pom.xml under org\apache\maven\enforcer\enforcer-api\3.0.0-SNAPSHOT\enforcer-api-3.0.0-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact windows-jdk15-m3.6.x_build\enforcer-api\target\enforcer-api-3.0.0-SNAPSHOT.jar under org\apache\maven\enforcer\enforcer-api\3.0.0-SNAPSHOT\enforcer-api-3.0.0-SNAPSHOT.jar [Fast Archiver] No prior successful build to compare, so performing full copy of artifacts [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.enforcer:enforcer-api:jar:3.0.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk15-m3.6.x_build\enforcer-api\target\surefire-reports\*.xml Recording test results None of the test reports contained any result [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.enforcer:enforcer-api:jar:3.0.0-SNAPSHOT in source directory windows-jdk15-m3.6.x_build\enforcer-api\src\main\java [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.enforcer:enforcer-rules:jar:3.0.0-SNAPSHOT in source directory windows-jdk15-m3.6.x_build\enforcer-rules\src\main\java [TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@2' for files matching the pattern 'windows-jdk15-m3.6.x_build\enforcer-api\src\main\java\**\*,windows-jdk15-m3.6.x_build\enforcer-rules\src\main\java\**\*' - excludes: null [TASKS] Found 48 files to scan for tasks [TASKS] Found 5 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [withMaven] Publishers: Generated Artifacts Publisher: 101 ms, Junit Publisher: 12 ms, Open Task Scanner Publisher: 202 ms, Dependencies Fingerprint Publisher: 15 ms, Pipeline Graph Publisher: 2 ms [Pipeline] // withMaven [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch windows-jdk15-m3.6.x_build [Pipeline] // parallel [Pipeline] stage [Pipeline] { (Notifications) [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] echo The authors of changes [slachiewicz, rfscholte, hboutemy]. [Pipeline] echo Sending email ... [Pipeline] emailext