See https://builds.apache.org/job/maven-box/job/maven-dependency-plugin/job/IMPROVED_CODE/4/
Changes: * - Refactored code. * - Refactored code. * - Refactored code. * - Refactored code. * - Refactored code. * - Refactored code. * - Refactored code. * - Refactored code. * - Refactored code. * - Refactored code. * - Refactored code. * - Refactored code. All tests passed Build log: [...truncated 8499 lines...] [INFO] mdep-439-analyze-java8\pom.xml ................... SUCCESS (40.8 s) [INFO] Building: mdep-450-project-with-ancestor\pom.xml [INFO] run post-build script verify.groovy [INFO] mdep-450-project-with-ancestor\pom.xml ........... SUCCESS (69.0 s) [INFO] Building: mdep-450-project-without-ancestor\pom.xml [INFO] run post-build script verify.groovy [INFO] mdep-450-project-without-ancestor\pom.xml ........ SUCCESS (61.1 s) [INFO] Building: mdep-506-dependency-without-version-in-depmgt\pom.xml [INFO] mdep-506-dependency-without-version-in-depmgt\pom.xml SUCCESS (93.4 s) [INFO] Building: mdep-571-resolve-java9\pom.xml [INFO] mdep-571-resolve-java9\pom.xml ................... SKIPPED due to JRE version [INFO] Building: mdep-572-unpack-tar-long-file\pom.xml [INFO] run post-build script verify.bsh [INFO] mdep-572-unpack-tar-long-file\pom.xml ............ SUCCESS (18.5 s) [INFO] Building: mdep-578_display-reason-invalid-module\pom.xml [INFO] mdep-578_display-reason-invalid-module\pom.xml ... SKIPPED due to JRE version [INFO] Building: mdep-580_display-manifest-automodules\pom.xml [INFO] mdep-580_display-manifest-automodules\pom.xml .... SKIPPED due to JRE version [INFO] Building: mdep-586-unpacking-resources\pom.xml [INFO] run post-build script verify.groovy [INFO] mdep-586-unpacking-resources\pom.xml ............. SUCCESS (10.0 s) [INFO] Building: mdep-599-analyze-java9\pom.xml [INFO] mdep-599-analyze-java9\pom.xml ................... SKIPPED due to JRE version [INFO] Building: purge-local-repository\pom.xml [INFO] run pre-build script setup.bsh [INFO] artifact org.apache.maven.its.dependency.purged:1.0: checking for updates from central [INFO] run post-build script verify.bsh [INFO] purge-local-repository\pom.xml ................... SUCCESS (8.3 s) [INFO] Building: purge-local-repository-bad-dep\pom.xml [INFO] snapshot org.apache.maven.its.dependency:purge-local-repository-bad-dep:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:purge-local-repository-bad-dep:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.purge-local-repository-bad-dep:1.0-SNAPSHOT: checking for updates from central [INFO] artifact org.apache.maven.its.dependency.i-do-not-exist:1.0: checking for updates from central [INFO] run post-build script verify.groovy [INFO] purge-local-repository-bad-dep\pom.xml ........... SUCCESS (13.9 s) [INFO] Building: purge-local-repository-include\pom.xml [INFO] snapshot org.apache.maven.its.dependency:purge-local-repository-include:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:purge-local-repository-include:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.purge-local-repository-include:1.0-SNAPSHOT: checking for updates from central [INFO] run post-build script verify.groovy [INFO] purge-local-repository-include\pom.xml ........... SUCCESS (49.4 s) [INFO] Building: purge-local-repository-multi-module\pom.xml [INFO] run pre-build script setup.bsh [INFO] snapshot org.apache.maven.its.dependency:child1:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:child1:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.child1:1.0-SNAPSHOT: checking for updates from central [INFO] artifact org.apache.maven.its.dependency.purged-a:1.0: checking for updates from central [INFO] snapshot org.apache.maven.its.dependency:child2:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:child2:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.child2:1.0-SNAPSHOT: checking for updates from central [INFO] artifact org.apache.maven.its.dependency.purged-b:1.0: checking for updates from central [INFO] run post-build script verify.bsh [INFO] purge-local-repository-multi-module\pom.xml ...... SUCCESS (53.9 s) [INFO] Building: purge-local-repository-multi-module-execution\pom.xml [INFO] run pre-build script setup.bsh [INFO] run post-build script verify.bsh [INFO] purge-local-repository-multi-module-execution\pom.xml SUCCESS (52.7 s) [INFO] Building: purge-local-repository-non-transitive\pom.xml [INFO] run post-build script verify.bsh [INFO] purge-local-repository-non-transitive\pom.xml .... SUCCESS (58.3 s) [INFO] Building: purge-local-repository-reresolve\pom.xml [INFO] run post-build script verify.bsh [INFO] purge-local-repository-reresolve\pom.xml ......... SUCCESS (41.9 s) [INFO] Building: purge-local-repository-snapshots-only\pom.xml [INFO] run pre-build script setup.bsh [INFO] snapshot org.apache.maven.its.dependency:snap-purged:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:snap-purged:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.snap-purged:1.0-SNAPSHOT: checking for updates from central [INFO] run post-build script verify.bsh [INFO] purge-local-repository-snapshots-only\pom.xml .... SUCCESS (10.4 s) [INFO] Building: purge-local-repository-version-range\pom.xml [INFO] artifact org.apache.maven.its.dependency:purge-local-repository: checking for updates from central [INFO] artifact org.apache.maven.its.dependency:purge-local-repository: checking for updates from central [INFO] run post-build script verify.bsh [INFO] purge-local-repository-version-range\pom.xml ..... SUCCESS (910.0 s) [INFO] Building: resolve\pom.xml [INFO] resolve\pom.xml .................................. SUCCESS (10.1 s) [INFO] Building: resolve-plugins\pom.xml [INFO] resolve-plugins\pom.xml .......................... SUCCESS (12.3 s) [INFO] Building: resolve-plugins-exclude-reactor\pom.xml [INFO] run post-build script verify.groovy [INFO] resolve-plugins-exclude-reactor\pom.xml .......... SUCCESS (82.0 s) [INFO] Building: resolve-plugins-with-exclude\pom.xml [INFO] run post-build script verify.groovy [INFO] resolve-plugins-with-exclude\pom.xml ............. SUCCESS (68.3 s) [INFO] Building: sources\pom.xml [INFO] artifact classworlds.classworlds:1.1-alpha-2: checking for updates from central [INFO] sources\pom.xml .................................. SUCCESS (67.9 s) [INFO] Building: tree\pom.xml [INFO] tree\pom.xml ..................................... SKIPPED due to Maven version [INFO] Building: tree-includes\pom.xml [INFO] run post-build script verify.bsh [INFO] tree-includes\pom.xml ............................ SUCCESS (33.5 s) [INFO] Building: tree-multimodule\pom.xml [INFO] snapshot org.apache.maven.its.dependency:tree-multimodule-module-a:1.0-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.maven.its.dependency:tree-multimodule-module-a:1.0-SNAPSHOT: checking for updates from Nexus [INFO] artifact org.apache.maven.its.dependency.tree-multimodule-module-a:1.0-SNAPSHOT: checking for updates from central [INFO] run post-build script verify.bsh [INFO] tree-multimodule\pom.xml ......................... SUCCESS (12.8 s) [INFO] Building: unpack\pom.xml [INFO] run post-build script verify.bsh [INFO] unpack\pom.xml ................................... SUCCESS (16.5 s) [INFO] Building: unpack-cli\pom.xml [INFO] run post-build script verify.bsh [INFO] unpack-cli\pom.xml ............................... SUCCESS (10.9 s) [INFO] Building: unpack-custom-ear\pom.xml [INFO] run post-build script verify.groovy [INFO] unpack-custom-ear\pom.xml ........................ SUCCESS (48.6 s) [INFO] Building: unpack-dependencies\pom.xml [INFO] run post-build script verify.groovy [INFO] unpack-dependencies\pom.xml ...................... SUCCESS (114.8 s) [INFO] Building: unpack-dependencies-with-filemappers\pom.xml [INFO] run post-build script verify.groovy [INFO] unpack-dependencies-with-filemappers\pom.xml ..... SUCCESS (93.4 s) [INFO] Building: unpack-from-remote-repository\pom.xml [INFO] run pre-build script setup.bsh [INFO] artifact org.apache.maven.its.dependency.fake-remote-unpack:1.0: checking for updates from central [INFO] run post-build script verify.bsh [INFO] unpack-from-remote-repository\pom.xml ............ SUCCESS (12.4 s) [INFO] Building: used-dependencies\pom.xml [INFO] used-dependencies\pom.xml ........................ SUCCESS (13.3 s) [INFO] Building: purge-local-repository-without-pom [INFO] run pre-build script setup.bsh [INFO] run post-build script verify.bsh [INFO] purge-local-repository-without-pom ............... SUCCESS (9.1 s) [INFO] [INFO] --- mrm-maven-plugin:1.2.0:stop (default) @ maven-dependency-plugin --- [INFO] Stopping Mock Repository Manager on http://localhost:56623 [INFO] Stopped [email protected]:56623 [INFO] Mock Repository Manager http://localhost:56623 is stopped. [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-dependency-plugin --- [INFO] There are 18 errors reported by Checkstyle 6.18 with config/maven_checks.xml ruleset. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[53] (sizes) LineLength: Line is longer than 120 characters (found 150). [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[54] (sizes) LineLength: Line is longer than 120 characters (found 153). [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[118,27] (whitespace) ParenPad: '(' is not followed by whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[118,91] (whitespace) ParenPad: ')' is not preceded with whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[119,27] (whitespace) ParenPad: '(' is not followed by whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[119,96] (whitespace) ParenPad: ')' is not preceded with whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[132] (sizes) LineLength: Line is longer than 120 characters (found 127). [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[132,32] (whitespace) ParenPad: '(' is not followed by whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[132,125] (whitespace) ParenPad: ')' is not preceded with whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[132,127] (blocks) LeftCurly: '{' at column 127 should be on a new line. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[135,17] (whitespace) ParenPad: '(' is not followed by whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[135,32] (whitespace) ParenPad: ')' is not preceded with whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[137,27] (whitespace) ParenPad: '(' is not followed by whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[137,31] (whitespace) ParenPad: ')' is not preceded with whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[139,23] (whitespace) ParenPad: '(' is not followed by whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[139,56] (whitespace) ParenPad: ')' is not preceded with whitespace. [ERROR] src\main\java\org\apache\maven\plugins\dependency\analyze\AnalyzeDuplicateMojo.java:[140,18] (whitespace) ParenPad: '(' is not followed by whitespace. [INFO] Ignored 1 error, 17 violations remaining. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:12 h [INFO] Finished at: 2019-03-23T09:35:52Z [INFO] Final Memory: 68M/1286M [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\-dependency-plugin_IMPROVED_CODE@2@tmp\withMavenabd1d18c\maven-spy-20190323-082254-7208420142557442283828.log [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (checkstyle-check) on project maven-dependency-plugin: You have 17 Checkstyle violations. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (checkstyle-check) on project maven-dependency-plugin: You have 17 Checkstyle violations. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) 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:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) 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.MojoFailureException: You have 17 Checkstyle violations. at org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo.execute (CheckstyleViolationCheckMojo.java:576) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) 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:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) 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 Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\-dependency-plugin_IMPROVED_CODE@2@tmp\withMavenabd1d18c\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\-dependency-plugin_IMPROVED_CODE@2@tmp\withMavenabd1d18c" [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk8-m3.5.x_build\target\surefire-reports\*.xml Recording test results [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT in source directory windows-jdk8-m3.5.x_build\src\main\java [TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\-dependency-plugin_IMPROVED_CODE@2' for files matching the pattern 'windows-jdk8-m3.5.x_build\src\main\java\**\*' - excludes: null [TASKS] Found 48 files to scan for tasks [TASKS] Found 4 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [TASKS] Computing warning deltas based on reference build #3 [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT(version: 3.1.2-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test integration-test}: windows-jdk8-m3.5.x_build\target\invoker-reports\*.xml [withMaven] Publishers: Generated Artifacts Publisher: 233 ms, Junit Publisher: 11719 ms, Open Task Scanner Publisher: 879 ms, Dependencies Fingerprint Publisher: 1 ms, Invoker Publisher: 137565 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-jdk8-m3.5.x_build [Pipeline] // parallel [Pipeline] stage [Pipeline] { (Notifications) [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] emailext
