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

Changes:

* Revert: no access to currntBuild.rawBuild

No tests ran.

Build log:
[...truncated 10492 lines...]
[INFO] skip non existing resourceDirectory 
F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267\m\enforcer-api\src\main\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ enforcer-api 
---
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.pom
 (4.7 kB at 86 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.1/maven-shared-utils-0.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.1/maven-shared-utils-0.1.pom
 (4.0 kB at 90 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.pom
 (2.4 kB at 79 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-languages/0.9.2/plexus-languages-0.9.2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-languages/0.9.2/plexus-languages-0.9.2.pom
 (2.3 kB at 207 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.pom 
(1.9 kB at 88 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/ow2/asm/asm-parent/6.0_BETA/asm-parent-6.0_BETA.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/ow2/asm/asm-parent/6.0_BETA/asm-parent-6.0_BETA.pom
 (5.5 kB at 85 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/ow2/ow2/1.3/ow2-1.3.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/ow2/ow2/1.3/ow2-1.3.pom (9.5 kB at 340 
kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.pom
 (16 kB at 317 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.pom
 (867 B at 16 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.8.2/plexus-compiler-2.8.2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.8.2/plexus-compiler-2.8.2.pom
 (4.9 kB at 86 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.pom
 (692 B at 11 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.pom
 (771 B at 23 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.8.2/plexus-compilers-2.8.2.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.8.2/plexus-compilers-2.8.2.pom
 (1.3 kB at 41 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.jar 
(56 kB at 97 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar
 (14 kB at 16 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar
 (4.7 kB at 5.2 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.jar
 (315 kB at 343 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.jar
 (31 kB at 30 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar
 (26 kB at 25 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar
 (20 kB at 18 kB/s)
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to 
F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267\m\enforcer-api\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2: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\m\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.20.1:test (default-test) @ enforcer-api ---
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.20.1/maven-surefire-common-2.20.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.20.1/maven-surefire-common-2.20.1.pom
 (9.3 kB at 266 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.pom
 (1.6 kB at 35 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.3/maven-plugin-tools-3.3.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.3/maven-plugin-tools-3.3.pom
 (13 kB at 351 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.20.1/surefire-api-2.20.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.20.1/surefire-api-2.20.1.pom
 (3.7 kB at 58 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-logger-api/2.20.1/surefire-logger-api-2.20.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-logger-api/2.20.1/surefire-logger-api-2.20.1.pom
 (2.0 kB at 91 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.pom
 (8.5 kB at 256 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.pom
 (3.3 kB at 104 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.20.1/surefire-api-2.20.1.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-logger-api/2.20.1/surefire-logger-api-2.20.1.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.20.1/maven-surefire-common-2.20.1.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.20.1/surefire-api-2.20.1.jar
 (183 kB at 318 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.jar
 (268 kB at 314 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.20.1/maven-surefire-common-2.20.1.jar
 (509 kB at 571 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.jar
 (14 kB at 13 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.jar (315 kB at 
272 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-logger-api/2.20.1/surefire-logger-api-2.20.1.jar
 (13 kB at 11 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.jar
 (38 kB at 28 kB/s)
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ enforcer-api ---
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.0.1/maven-shared-utils-3.0.1.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.0.1/maven-shared-utils-3.0.1.jar
 (154 kB at 3.8 MB/s)
[INFO] Building jar: 
F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267\m\enforcer-api\target\enforcer-api-3.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.7: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] ------------------------------------------------------------------------
[INFO] Building Apache Maven Enforcer Built-In Rules 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[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
[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 134 kB/s)
[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
[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 56 kB/s)
[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
[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 55 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
 (11 kB at 232 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/22/commons-parent-22.pom
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/22/commons-parent-22.pom
 (42 kB at 998 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.11.0/mockito-core-2.11.0.pom
[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 768 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.4/byte-buddy-1.7.4.pom
[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 581 kB/s)
[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
[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 3.2 MB/s)
[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
[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 197 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.pom
[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)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/objenesis/objenesis-parent/2.6/objenesis-parent-2.6.pom
[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.4 MB/s)
[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
[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 395 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/assertj/assertj-core/1.7.1/assertj-core-1.7.1.pom
[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 173 kB/s)
[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
[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 558 kB/s)
[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
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[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
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.11.0/mockito-core-2.11.0.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
 (233 kB at 2.2 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.7.4/byte-buddy-1.7.4.jar
[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 1.9 MB/s)
[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
[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 152 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.jar
 (56 kB at 106 kB/s)
[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
[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 796 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/assertj/assertj-core/1.7.1/assertj-core-1.7.1.jar
[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 23 kB/s)
[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 1.6 MB/s)
[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 21 kB/s)
[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 22 kB/s)
[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 319 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.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] 129 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 123 licenses.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ enforcer-rules ---
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2: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\m\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\m\enforcer-rules\target\classes
[INFO] 
/F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:
 Some input files use or override a deprecated API.
[INFO] 
/F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:
 Recompile with -Xlint:deprecation for details.
[INFO] 
/F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:
 
F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267\m\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/m/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/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[555,26]
 cannot find symbol
  symbol:   method 
resolve(org.apache.maven.artifact.Artifact,java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>,org.apache.maven.artifact.repository.ArtifactRepository)
  location: variable resolver of type org.sonatype.aether.impl.ArtifactResolver
[ERROR] 
/F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/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
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Maven Enforcer .............................. SUCCESS [01:38 min]
[INFO] Apache Maven Enforcer API .......................... SUCCESS [ 20.424 s]
[INFO] Apache Maven Enforcer Built-In Rules ............... FAILURE [ 14.903 s]
[INFO] Apache Maven Enforcer Plugin ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:23 min
[INFO] Finished at: 2019-01-31T07:24:59Z
[INFO] Final Memory: 35M/124M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\box_maven-enforcer_MENFORCER-267@tmp\withMavenc0871135\maven-spy-20190131-072235-1689166780611951641140.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/m/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:[555,26]
 cannot find symbol
[ERROR]   symbol:   method 
resolve(org.apache.maven.artifact.Artifact,java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>,org.apache.maven.artifact.repository.ArtifactRepository)
[ERROR]   location: variable resolver of type 
org.sonatype.aether.impl.ArtifactResolver
[ERROR] 
/F:/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-267/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
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[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
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[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): 
m\enforcer-api\target\surefire-reports\*.xml
Recording test results
None of the test reports contained any result
[withMaven] Publishers: Pipeline Graph Publisher: 2 ms, Junit Publisher: 117 
ms, Dependencies Fingerprint Publisher: 181 ms
[Pipeline] // withMaven
[Pipeline] echo
[FAILURE-004] hudson.AbortException: script returned exit code 1
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk11
[Pipeline] // parallel
[Pipeline] echo
[FAILURE-001] 
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts 
not permitted to use method 
org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper getRawBuild
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext

Reply via email to