maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Maven TLP » maven-enforcer » MENFORCER-267 #29
Date Tue, 04 Jun 2019 05:16:01 GMT
See https://builds.apache.org/job/maven-box/job/maven-enforcer/job/MENFORCER-267/29/

Changes:

* [MNG-6573] Use Maven 3.6.0 as default
* H39 has weird issues, exclude it for now
* Fix no access to currentBuild.rawBuild
* fixed typo
* Include more recent JDKs

No tests ran.

Build log:
[...truncated 4267 lines...]
[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 <goals> -rf :enforcer-rules
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.enforcer:enforcer-api:jar:3.0.0-SNAPSHOT
in source directory windows-jdk13-m3.6.x_build\enforcer-api\src\main\java
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ enforcer-api
---
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.enforcer:enforcer-rules:jar:3.0.0-SNAPSHOT
in source directory windows-jdk13-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-jdk13-m3.6.x_build\enforcer-api\src\main\java\**\*,windows-jdk13-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
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-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: /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-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 /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-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 /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-m3.6.x_build/enforcer-rules/target/classes
[withMaven] Publishers: Generated Artifacts Publisher: 1488 ms, Junit Publisher: 263 ms, Open
Task Scanner Publisher: 1715 ms, Dependencies Fingerprint Publisher: 334 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
[INFO] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-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] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-m3.6.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java:
Recompile with -Xlint:deprecation for details.
[INFO] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-m3.6.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:
/home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-m3.6.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java
uses unchecked or unsafe operations.
[INFO] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-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] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-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] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-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 [  3.528 s]
[INFO] Apache Maven Enforcer API .......................... SUCCESS [  2.525 s]
[INFO] Apache Maven Enforcer Built-In Rules ............... FAILURE [  2.084 s]
[INFO] Apache Maven Enforcer Plugin ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.485 s
[INFO] Finished at: 2019-06-04T05:15:49Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2@tmp/withMaven8f2b782f/maven-spy-20190604-051540-7758976680419681850499.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] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-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] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2/linux-jdk13-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:567)
    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.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:567)
    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)
[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 <goals> -rf :enforcer-rules
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] }
[Pipeline] // ws
[Pipeline] // dir
[Pipeline] }
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk13-m3.6.x_build
[withMaven] artifactsPublisher - Archive artifact linux-jdk13-m3.6.x_build/pom.xml under org/apache/maven/enforcer/enforcer/3.0.0-SNAPSHOT/enforcer-3.0.0-SNAPSHOT.pom
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact linux-jdk13-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 linux-jdk13-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 linux-jdk13-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] artifactsPublisher - Archive artifact linux-jdk12-m3.6.x_build/pom.xml under org/apache/maven/enforcer/enforcer/3.0.0-SNAPSHOT/enforcer-3.0.0-SNAPSHOT.pom
[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): linux-jdk13-m3.6.x_build/enforcer-api/target/surefire-reports/*.xml
Recording test results
[withMaven] artifactsPublisher - Archive artifact linux-jdk12-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
None of the test reports contained any result
[withMaven] artifactsPublisher - Archive artifact linux-jdk12-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] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.enforcer:enforcer-api:jar:3.0.0-SNAPSHOT
in source directory linux-jdk13-m3.6.x_build/enforcer-api/src/main/java
[withMaven] artifactsPublisher - Archive artifact linux-jdk12-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
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.enforcer:enforcer-rules:jar:3.0.0-SNAPSHOT
in source directory linux-jdk13-m3.6.x_build/enforcer-rules/src/main/java
[Fast Archiver] No prior successful build to compare, so performing full copy of artifacts
[TASKS] Scanning folder '/home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2'
for files matching the pattern 'linux-jdk13-m3.6.x_build/enforcer-api/src/main/java/**/*,linux-jdk13-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] 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): linux-jdk12-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 linux-jdk12-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 linux-jdk12-m3.6.x_build/enforcer-rules/src/main/java
[TASKS] Scanning folder '/home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267@2'
for files matching the pattern 'linux-jdk12-m3.6.x_build/enforcer-api/src/main/java/**/*,linux-jdk12-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: 1708 ms, Junit Publisher: 164 ms, Open
Task Scanner Publisher: 1347 ms, Dependencies Fingerprint Publisher: 312 ms, Pipeline Graph
Publisher: 15 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...
[withMaven] Publishers: Generated Artifacts Publisher: 1711 ms, Junit Publisher: 160 ms, Open
Task Scanner Publisher: 1297 ms, Dependencies Fingerprint Publisher: 308 ms, Pipeline Graph
Publisher: 1 ms
[Pipeline] // withMaven
[WS-CLEANUP] done
[Pipeline] cleanWs
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch linux-jdk13-m3.6.x_build
[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 linux-jdk12-m3.6.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] jiraComment
[Pipeline] emailext
Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message