See 
https://builds.apache.org/job/maven-box/job/maven-enforcer/job/MENFORCER-267/2/

Changes:

* Add JDK 10 (latest)
* Change JDK10 on Windows to 'JDK 10 b46 (Windows Only)'
* Add Java 11-ea
* Add jdkForMaven and mavenForJdk methods Use reqexp for version matching
* regex in switch/case are full match, not partial match
* Update JDKs
* Looks like the API has changed.
* Try to fix it.
* Add JDK 10 to the jdk default
* auto deploy if we are currently on master branch
* revert as it seems to fail on jenkins asf
* revert this one as well
* enable TLS 1.2 for Java 7
* TLSv1.x being deactivated since June. So only TLSv1.2 is valid for
* Add asfMavenTlpPlgnBuild to run plugins with multiple Maven versions
* Add maven version to stageId
* Add removeFromCollection() due to RejectedAccessException on
* Scripts not permitted to use method java.util.Collection stream
* Pass 'first'
* Ensure at least minimum required Java version is used
* builds.a.o doesn't have a Maven 3.1.x
* Pass 'failfast'
* Pass 'failingFast'
* Set https.protocols for Java7
* Make failingFast global variable
* Introduce a shared taskContext to keep track of failures
* Make taskContext accessible for try-catch
* Ensure tasks on the same Jenkins instance don't block each others
* dir('m') was used twice
* Also run site goal
* Remove unused parameter
* Disable site plan, doesn't work with multimodules

No tests ran.

Build log:
[...truncated 517.00 KB...]
[linux-jdk8] [INFO] Skipping because packaging 'jar' is not pom.
[linux-jdk8] [INFO] 
[linux-jdk8] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) 
@ enforcer-api ---
[linux-jdk7] [INFO] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java:
 Some input files use or override a deprecated API.
[linux-jdk7] [INFO] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java:
 Recompile with -Xlint:deprecation for details.
[linux-jdk7] [INFO] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:
 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java
 uses unchecked or unsafe operations.
[linux-jdk7] [INFO] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:
 Recompile with -Xlint:unchecked for details.
[linux-jdk7] [INFO] 
-------------------------------------------------------------
[linux-jdk7] [ERROR] COMPILATION ERROR : 
[linux-jdk7] [INFO] 
-------------------------------------------------------------
[linux-jdk7] [ERROR] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[555,26]
 cannot find symbol
[linux-jdk7]   symbol:   method 
resolve(org.apache.maven.artifact.Artifact,java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>,org.apache.maven.artifact.repository.ArtifactRepository)
[linux-jdk7]   location: variable resolver of type 
org.sonatype.aether.impl.ArtifactResolver
[linux-jdk7] [ERROR] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/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
[linux-jdk7] [INFO] 2 errors 
[linux-jdk7] [INFO] 
-------------------------------------------------------------
[linux-jdk7] [INFO] 
------------------------------------------------------------------------
[linux-jdk7] [INFO] Reactor Summary:
[linux-jdk7] [INFO] 
[linux-jdk7] [INFO] Apache Maven Enforcer .............................. 
SUCCESS [ 13.324 s]
[linux-jdk7] [INFO] Apache Maven Enforcer API .......................... 
SUCCESS [  3.185 s]
[linux-jdk7] [INFO] Apache Maven Enforcer Built-In Rules ............... 
FAILURE [  2.892 s]
[linux-jdk7] [INFO] Apache Maven Enforcer Plugin ....................... SKIPPED
[linux-jdk7] [INFO] 
------------------------------------------------------------------------
[linux-jdk7] [INFO] BUILD FAILURE
[linux-jdk7] [INFO] 
------------------------------------------------------------------------
[linux-jdk7] [INFO] Total time: 20.618 s
[linux-jdk7] [INFO] Finished at: 2018-07-04T05:10:25Z
[linux-jdk7] [INFO] Final Memory: 68M/1826M
[linux-jdk7] [INFO] 
------------------------------------------------------------------------
[linux-jdk7] [INFO] [jenkins-event-spy] Generated 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ@tmp/withMavenddbe2b5d/maven-spy-20180704-051004-5666812727850825516363.log
[linux-jdk7] [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: 
[linux-jdk7] [ERROR] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[555,26]
 cannot find symbol
[linux-jdk7] [ERROR]   symbol:   method 
resolve(org.apache.maven.artifact.Artifact,java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>,org.apache.maven.artifact.repository.ArtifactRepository)
[linux-jdk7] [ERROR]   location: variable resolver of type 
org.sonatype.aether.impl.ArtifactResolver
[linux-jdk7] [ERROR] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/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
[linux-jdk7] [ERROR] -> [Help 1]
[linux-jdk7] [ERROR] 
[linux-jdk7] [ERROR] To see the full stack trace of the errors, re-run Maven 
with the -e switch.
[linux-jdk7] [ERROR] Re-run Maven using the -X switch to enable full debug 
logging.
[linux-jdk7] [ERROR] 
[linux-jdk7] [ERROR] For more information about the errors and possible 
solutions, please read the following articles:
[linux-jdk7] [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[linux-jdk7] [ERROR] 
[linux-jdk7] [ERROR] After correcting the problems, you can resume the build 
with the command
[linux-jdk7] [ERROR]   mvn <goals> -rf :enforcer-rules
[linux-jdk8] [INFO] 
[linux-jdk8] [INFO] 
------------------------------------------------------------------------
[linux-jdk8] [INFO] Building Apache Maven Enforcer Built-In Rules 3.0.0-SNAPSHOT
[linux-jdk8] [INFO] 
------------------------------------------------------------------------
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.pom
 (4.8 kB at 269 kB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing-harness/2.1/maven-plugin-testing-harness-2.1.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing-harness/2.1/maven-plugin-testing-harness-2.1.pom
 (3.2 kB at 269 kB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing/2.1/maven-plugin-testing-2.1.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing/2.1/maven-plugin-testing-2.1.pom
 (10 kB at 837 kB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
 (11 kB at 930 kB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/22/commons-parent-22.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/22/commons-parent-22.pom
 (42 kB at 3.2 MB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.11.0/mockito-core-2.11.0.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.11.0/mockito-core-2.11.0.pom
 (15 kB at 960 kB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.4/byte-buddy-1.7.4.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.4/byte-buddy-1.7.4.pom
 (12 kB at 814 kB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-parent/1.7.4/byte-buddy-parent-1.7.4.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-parent/1.7.4/byte-buddy-parent-1.7.4.pom
 (25 kB at 1.8 MB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.4/byte-buddy-agent-1.7.4.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.4/byte-buddy-agent-1.7.4.pom
 (4.9 kB at 378 kB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.pom
 (2.8 kB at 232 kB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/objenesis/objenesis-parent/2.6/objenesis-parent-2.6.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/objenesis/objenesis-parent/2.6/objenesis-parent-2.6.pom
 (17 kB at 1.3 MB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-tree/3.0.1/maven-dependency-tree-3.0.1.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-tree/3.0.1/maven-dependency-tree-3.0.1.pom
 (7.5 kB at 577 kB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/assertj/assertj-core/1.7.1/assertj-core-1.7.1.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/assertj/assertj-core/1.7.1/assertj-core-1.7.1.pom
 (4.7 kB at 425 kB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/assertj/assertj-parent-pom/1.2.6/assertj-parent-pom-1.2.6.pom
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/assertj/assertj-parent-pom/1.2.6/assertj-parent-pom-1.2.6.pom
 (13 kB at 1.2 MB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.jar
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing-harness/2.1/maven-plugin-testing-harness-2.1.jar
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.11.0/mockito-core-2.11.0.jar
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-testing/maven-plugin-testing-harness/2.1/maven-plugin-testing-harness-2.1.jar
 (39 kB at 2.3 MB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.4/byte-buddy-1.7.4.jar
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.jar
 (61 kB at 3.4 MB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.4/byte-buddy-agent-1.7.4.jar
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
 (233 kB at 8.6 MB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.jar
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy-agent/1.7.4/byte-buddy-agent-1.7.4.jar
 (43 kB at 1.4 MB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-tree/3.0.1/maven-dependency-tree-3.0.1.jar
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar
 (480 kB at 13 MB/s)
[linux-jdk8] [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/assertj/assertj-core/1.7.1/assertj-core-1.7.1.jar
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.jar
 (56 kB at 1.4 MB/s)
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.11.0/mockito-core-2.11.0.jar
 (538 kB at 13 MB/s)
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-tree/3.0.1/maven-dependency-tree-3.0.1.jar
 (37 kB at 797 kB/s)
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/assertj/assertj-core/1.7.1/assertj-core-1.7.1.jar
 (619 kB at 7.2 MB/s)
[linux-jdk8] [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.4/byte-buddy-1.7.4.jar
 (2.9 MB at 17 MB/s)
[linux-jdk8] [INFO] 
[linux-jdk8] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ 
enforcer-rules ---
[linux-jdk8] [INFO] 
[linux-jdk8] [INFO] --- maven-enforcer-plugin:1.4.1:enforce 
(enforce-maven-version) @ enforcer-rules ---
[linux-jdk8] [INFO] 
[linux-jdk8] [INFO] --- maven-enforcer-plugin:1.4.1:enforce 
(enforce-bytecode-version) @ enforcer-rules ---
[Pipeline] [linux-jdk7] }
[Pipeline] [linux-jdk7] // dir
[linux-jdk8] [INFO] 
[linux-jdk8] [INFO] --- maven-enforcer-plugin:1.4.1:enforce 
(ban-known-bad-maven-versions) @ enforcer-rules ---
[linux-jdk8] [INFO] 
[linux-jdk8] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ 
enforcer-rules ---
[linux-jdk8] [INFO] Enabled default license matchers.
[linux-jdk8] [INFO] Will parse SCM ignores for exclusions...
[linux-jdk8] [INFO] Finished adding exclusions from SCM ignore files.
[linux-jdk8] [INFO] 61 implicit excludes (use -debug for more details).
[linux-jdk8] [INFO] Exclude: .repository/**
[linux-jdk8] [INFO] Exclude: .maven/spy.log
[linux-jdk8] [INFO] Exclude: dependency-reduced-pom.xml
[linux-jdk8] [INFO] Exclude: .java-version
[linux-jdk8] [INFO] 129 resources included (use -debug for more details)
[linux-jdk8] [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 
0, generated: 0, approved: 123 licenses.
[linux-jdk8] [INFO] 
[linux-jdk8] [INFO] --- maven-remote-resources-plugin:1.5:process 
(process-resource-bundles) @ enforcer-rules ---
[linux-jdk8] [INFO] 
[linux-jdk8] [INFO] --- maven-resources-plugin:3.0.2:resources 
(default-resources) @ enforcer-rules ---
[linux-jdk8] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[linux-jdk8] [INFO] skip non existing resourceDirectory 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/resources
[linux-jdk8] [INFO] Copying 3 resources
[linux-jdk8] [INFO] 
[linux-jdk8] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
enforcer-rules ---
[linux-jdk8] [INFO] Changes detected - recompiling the module!
[linux-jdk8] [INFO] Compiling 43 source files to 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/target/classes
[linux-jdk8] [INFO] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java:
 Some input files use or override a deprecated API.
[linux-jdk8] [INFO] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java:
 Recompile with -Xlint:deprecation for details.
[linux-jdk8] [INFO] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:
 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java
 uses unchecked or unsafe operations.
[linux-jdk8] [INFO] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:
 Recompile with -Xlint:unchecked for details.
[linux-jdk8] [INFO] 
-------------------------------------------------------------
[linux-jdk8] [ERROR] COMPILATION ERROR : 
[linux-jdk8] [INFO] 
-------------------------------------------------------------
[linux-jdk8] [ERROR] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/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
[linux-jdk8] [ERROR] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[555,26]
 cannot find symbol
[linux-jdk8]   symbol:   method 
resolve(org.apache.maven.artifact.Artifact,java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>,org.apache.maven.artifact.repository.ArtifactRepository)
[linux-jdk8]   location: variable resolver of type 
org.sonatype.aether.impl.ArtifactResolver
[linux-jdk8] [INFO] 2 errors 
[linux-jdk8] [INFO] 
-------------------------------------------------------------
[linux-jdk8] [INFO] 
------------------------------------------------------------------------
[linux-jdk8] [INFO] Reactor Summary:
[linux-jdk8] [INFO] 
[linux-jdk8] [INFO] Apache Maven Enforcer .............................. 
SUCCESS [ 13.237 s]
[linux-jdk8] [INFO] Apache Maven Enforcer API .......................... 
SUCCESS [  3.087 s]
[linux-jdk8] [INFO] Apache Maven Enforcer Built-In Rules ............... 
FAILURE [  2.748 s]
[linux-jdk8] [INFO] Apache Maven Enforcer Plugin ....................... SKIPPED
[linux-jdk8] [INFO] 
------------------------------------------------------------------------
[linux-jdk8] [INFO] BUILD FAILURE
[linux-jdk8] [INFO] 
------------------------------------------------------------------------
[linux-jdk8] [INFO] Total time: 20.503 s
[linux-jdk8] [INFO] Finished at: 2018-07-04T05:10:27Z
[linux-jdk8] [INFO] Final Memory: 68M/1629M
[linux-jdk8] [INFO] 
------------------------------------------------------------------------
[linux-jdk8] [INFO] [jenkins-event-spy] Generated 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ@tmp/withMavenc3e35a56/maven-spy-20180704-051007-2342083589046523514402.log
[linux-jdk8] [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: 
[linux-jdk8] [ERROR] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/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
[linux-jdk8] [ERROR] 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[555,26]
 cannot find symbol
[linux-jdk8] [ERROR]   symbol:   method 
resolve(org.apache.maven.artifact.Artifact,java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>,org.apache.maven.artifact.repository.ArtifactRepository)
[linux-jdk8] [ERROR]   location: variable resolver of type 
org.sonatype.aether.impl.ArtifactResolver
[linux-jdk8] [ERROR] -> [Help 1]
[linux-jdk8] [ERROR] 
[linux-jdk8] [ERROR] To see the full stack trace of the errors, re-run Maven 
with the -e switch.
[linux-jdk8] [ERROR] Re-run Maven using the -X switch to enable full debug 
logging.
[linux-jdk8] [ERROR] 
[linux-jdk8] [ERROR] For more information about the errors and possible 
solutions, please read the following articles:
[linux-jdk8] [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[linux-jdk8] [ERROR] 
[linux-jdk8] [ERROR] After correcting the problems, you can resume the build 
with the command
[linux-jdk8] [ERROR]   mvn <goals> -rf :enforcer-rules
[Pipeline] [linux-jdk7] }
[linux-jdk7] [withMaven] artifactsPublisher - Archive artifact m/pom.xml under 
org/apache/maven/enforcer/enforcer/3.0.0-SNAPSHOT/enforcer-3.0.0-SNAPSHOT.pom
[linux-jdk7] [withMaven] artifactsPublisher - Archive artifact 
m/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
[linux-jdk7] [withMaven] artifactsPublisher - Archive artifact 
m/enforcer-api/pom.xml under 
org/apache/maven/enforcer/enforcer-api/3.0.0-SNAPSHOT/enforcer-api-3.0.0-SNAPSHOT.pom
[linux-jdk7] [withMaven] artifactsPublisher - Archive artifact 
m/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
[linux-jdk7] [Fast Archiver] No prior successful build to compare, so 
performing full copy of artifacts
[linux-jdk7] [withMaven] junitPublisher - Archive test results for Maven 
artifact org.apache.maven.enforcer:enforcer-api:3.0.0-SNAPSHOT generated by 
maven-surefire-plugin:test (default-test): 
m/enforcer-api/target/surefire-reports/*.xml
[linux-jdk7] Recording test results
[linux-jdk7] None of the test reports contained any result
[linux-jdk7] [withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.enforcer:enforcer-api:3.0.0-SNAPSHOT in source directory 
m/enforcer-api/src/main/java
[linux-jdk7] [withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.enforcer:enforcer-rules:3.0.0-SNAPSHOT in source directory 
m/enforcer-rules/src/main/java
[linux-jdk7] [TASKS] Scanning folder 
'/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ'
 for files matching the pattern 
'm/enforcer-api/src/main/java/**/*,m/enforcer-rules/src/main/java/**/*' - 
excludes: null
[linux-jdk7] [TASKS] Found 48 files to scan for tasks
[linux-jdk7] [TASKS] Found 5 open tasks.
[linux-jdk7] Skipping warnings blame since pipelines do not have an SCM link.%n
[Pipeline] [linux-jdk7] // withMaven
[Pipeline] [linux-jdk7] echo
[linux-jdk7] [FAIL FAST] This is the first failure and likely root cause
[Pipeline] [linux-jdk7] }
[Pipeline] [linux-jdk8] }
[Pipeline] [linux-jdk7] // stage
[Pipeline] [linux-jdk8] // dir
[linux-jdk9] Running on H25 in 
/home/jenkins/jenkins-slave/workspace/aven-enforcer_MENFORCER-267-MP35IMKBJP3RUJT6MXIRF6Y74MB6ZBG5J72MQVWQMIGYU26PXDCQ
[Pipeline] [linux-jdk7] }
[Pipeline] [linux-jdk8] }
[linux-jdk8] [withMaven] junitPublisher - Archive test results for Maven 
artifact org.apache.maven.enforcer:enforcer-api:3.0.0-SNAPSHOT generated by 
maven-surefire-plugin:test (default-test): 
m/enforcer-api/target/surefire-reports/*.xml
[linux-jdk8] Recording test results
[linux-jdk8] None of the test reports contained any result
[Pipeline] [linux-jdk7] // node
[Pipeline] [linux-jdk9] {
[Pipeline] [linux-jdk8] // withMaven
[Pipeline] [linux-jdk7] }
[linux-jdk7] Failed in branch linux-jdk7
[Pipeline] [linux-jdk8] echo
[linux-jdk8] [FAIL FAST] linux-jdk7 had first failure, ignoring script returned 
exit code 1
[Pipeline] [linux-jdk8] }
[Pipeline] [linux-jdk9] stage
[Pipeline] [linux-jdk9] { (Checkout linux-jdk9)
[Pipeline] [linux-jdk8] // stage
[Pipeline] [linux-jdk8] }
[Pipeline] [linux-jdk9] }
[Pipeline] [linux-jdk10] // node
[Pipeline] [windows-jdk7] // node
[Pipeline] [windows-jdk8] // node
[Pipeline] [windows-jdk9] // node
[Pipeline] [windows-jdk10] // node
[Pipeline] [linux-jdk10] }
[linux-jdk10] Failed in branch linux-jdk10
[Pipeline] [windows-jdk7] }
[windows-jdk7] Failed in branch windows-jdk7
[Pipeline] [windows-jdk8] }
[windows-jdk8] Failed in branch windows-jdk8
[Pipeline] [windows-jdk9] }
[windows-jdk9] Failed in branch windows-jdk9
[Pipeline] [windows-jdk10] }
[windows-jdk10] Failed in branch windows-jdk10
[Pipeline] [linux-jdk8] // node
[Pipeline] [linux-jdk9] // stage
[Pipeline] [linux-jdk8] }
[Pipeline] [linux-jdk9] }
[Pipeline] [linux-jdk9] // node
[Pipeline] [linux-jdk9] }
[linux-jdk9] Failed in branch linux-jdk9
[Pipeline] // parallel
[Pipeline] echo
***** FAST FAILURE *****

Fast failure triggered by linux-jdk7

***** FAST FAILURE *****
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector

Reply via email to