See <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/236/display/redirect?page=changes>
Changes: [jogep] Add maven enforce plugin with rule to avoid dependency convergence [jogep] Solve some dependency convergence issues reported by maven enforce [jogep] Use latest available hibernate-validator version for bean validation ------------------------------------------ [...truncated 734.44 KB...] [INFO] Running it.org.apache.struts2.showcase.UITagExampleTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.633 s - in it.org.apache.struts2.showcase.UITagExampleTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jetty-maven-plugin:8.1.16.v20140903:stop (stop-jetty) @ struts2-showcase --- [INFO] [INFO] --- maven-failsafe-plugin:2.22.1:verify (verify) @ struts2-showcase --- [INFO] [INFO] ---------------< org.apache.struts:struts2-rest-plugin >---------------- [INFO] Building Struts 2 REST Plugin 2.6-SNAPSHOT [17/35] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ struts2-rest-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce) @ struts2-rest-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ struts2-rest-plugin --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ struts2-rest-plugin --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ struts2-rest-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ struts2-rest-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 24 source files to <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/plugins/rest/target/classes> [INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/plugins/rest/src/main/java/org/apache/struts2/rest/handler/AbstractContentTypeHandler.java>: Some input files use or override a deprecated API. [INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/plugins/rest/src/main/java/org/apache/struts2/rest/handler/AbstractContentTypeHandler.java>: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-bundle-plugin:3.5.0:manifest (bundle-manifest) @ struts2-rest-plugin --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ struts2-rest-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/plugins/rest/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ struts2-rest-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 11 source files to <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/plugins/rest/target/test-classes> [INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/plugins/rest/src/test/java/org/apache/struts2/rest/DefaultContentTypeHandlerManagerTest.java>: Some input files use unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/plugins/rest/src/test/java/org/apache/struts2/rest/DefaultContentTypeHandlerManagerTest.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ struts2-rest-plugin --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.struts2.rest.ContentTypeHandlerManagerTest ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 s - in org.apache.struts2.rest.ContentTypeHandlerManagerTest [INFO] Running org.apache.struts2.rest.DefaultContentTypeHandlerManagerTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.207 s - in org.apache.struts2.rest.DefaultContentTypeHandlerManagerTest [INFO] Running org.apache.struts2.rest.DefaultHttpHeadersTest [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 s - in org.apache.struts2.rest.DefaultHttpHeadersTest [INFO] Running org.apache.struts2.rest.RestActionInvocationTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 s - in org.apache.struts2.rest.RestActionInvocationTest [INFO] Running org.apache.struts2.rest.RestActionMapperTest [INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in org.apache.struts2.rest.RestActionMapperTest [INFO] Running org.apache.struts2.rest.handler.JacksonJsonHandlerTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.347 s - in org.apache.struts2.rest.handler.JacksonJsonHandlerTest [INFO] Running org.apache.struts2.rest.handler.JacksonXmlHandlerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 s - in org.apache.struts2.rest.handler.JacksonXmlHandlerTest [INFO] Running org.apache.struts2.rest.handler.JuneauXmlHandlerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.279 s - in org.apache.struts2.rest.handler.JuneauXmlHandlerTest [INFO] Running org.apache.struts2.rest.RestWorkflowInterceptorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.struts2.rest.RestWorkflowInterceptorTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 68, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- apache-rat-plugin:0.12:check (default) @ struts2-rest-plugin --- [INFO] Added 1 additional default licenses. [INFO] Added 1 custom approved licenses. [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: Jenkinsfile [INFO] Exclude: src/main/groovy/Jenkinsfile.gdsl [INFO] Exclude: src/main/resources/org/apache/struts2/static/domTT.js [INFO] Exclude: src/site/resources/tags/**/*.html [INFO] Exclude: src/main/resources/*LICENSE.txt [INFO] Exclude: src/test/resources/**/*.txt [INFO] Exclude: src/main/webapp/**/*.css [INFO] Exclude: src/main/webapp/**/*.map [INFO] Exclude: src/main/webapp/**/*.js [INFO] Exclude: src/main/webapp/**/*.svg [INFO] Exclude: src/main/webapp/**/*.txt [INFO] Exclude: src/main/resources/**/sitegraph-usage.txt [INFO] Exclude: src/main/resources/**/docs-urls.txt [INFO] Exclude: src/etc/header.txt [INFO] Exclude: src/main/resources/static/css/**/*.css [INFO] Exclude: src/main/resources/static/js/**/*.js [INFO] Exclude: src/main/resources/docs.cfg [INFO] Exclude: src/main/webapp/fonts/**/* [INFO] 39 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 38 licenses. [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ struts2-rest-plugin --- [INFO] Building jar: <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/plugins/rest/target/struts2-rest-plugin-2.6-SNAPSHOT.jar> [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ struts2-rest-plugin >>> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce) @ struts2-rest-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ struts2-rest-plugin --- [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ struts2-rest-plugin <<< [INFO] [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ struts2-rest-plugin --- [INFO] Building jar: <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/plugins/rest/target/struts2-rest-plugin-2.6-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ struts2-rest-plugin --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --------------< org.apache.struts:struts2-rest-showcase >--------------- [INFO] Building Struts 2 Rest Showcase Webapp 2.6-SNAPSHOT [18/35] [INFO] --------------------------------[ war ]--------------------------------- Downloading from central: https://repo.maven.apache.org/maven2/net/sourceforge/jwebunit/jwebunit-core/3.3/jwebunit-core-3.3.pom Progress (1): 2.2/3.2 kBProgress (1): 3.2 kB Downloaded from central: https://repo.maven.apache.org/maven2/net/sourceforge/jwebunit/jwebunit-core/3.3/jwebunit-core-3.3.pom (3.2 kB at 180 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/net/sourceforge/jwebunit/jwebunit/3.3/jwebunit-3.3.pom Progress (1): 2.2/24 kBProgress (1): 5.0/24 kBProgress (1): 7.8/24 kBProgress (1): 11/24 kB Progress (1): 13/24 kBProgress (1): 16/24 kBProgress (1): 19/24 kBProgress (1): 21/24 kBProgress (1): 24 kB Downloaded from central: https://repo.maven.apache.org/maven2/net/sourceforge/jwebunit/jwebunit/3.3/jwebunit-3.3.pom (24 kB at 1.4 MB/s) Downloading from central: https://repo.maven.apache.org/maven2/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/3.3/jwebunit-htmlunit-plugin-3.3.pom Progress (1): 2.2/2.5 kBProgress (1): 2.5 kB Downloaded from central: https://repo.maven.apache.org/maven2/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/3.3/jwebunit-htmlunit-plugin-3.3.pom (2.5 kB at 179 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/net/sourceforge/jwebunit/jwebunit-core/3.3/jwebunit-core-3.3.jar Downloading from central: https://repo.maven.apache.org/maven2/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/3.3/jwebunit-htmlunit-plugin-3.3.jar Progress (1): 2.2/31 kBProgress (2): 2.2/31 kB | 2.2/67 kBProgress (2): 5.0/31 kB | 2.2/67 kBProgress (2): 5.0/31 kB | 5.0/67 kBProgress (2): 7.7/31 kB | 5.0/67 kBProgress (2): 7.7/31 kB | 7.7/67 kBProgress (2): 10/31 kB | 7.7/67 kB Progress (2): 10/31 kB | 10/67 kB Progress (2): 13/31 kB | 10/67 kBProgress (2): 13/31 kB | 13/67 kBProgress (2): 16/31 kB | 13/67 kBProgress (2): 16/31 kB | 16/67 kBProgress (2): 19/31 kB | 16/67 kBProgress (2): 19/31 kB | 19/67 kBProgress (2): 21/31 kB | 19/67 kBProgress (2): 21/31 kB | 21/67 kBProgress (2): 24/31 kB | 21/67 kBProgress (2): 24/31 kB | 24/67 kBProgress (2): 27/31 kB | 24/67 kBProgress (2): 27/31 kB | 27/67 kBProgress (2): 30/31 kB | 27/67 kBProgress (2): 30/31 kB | 30/67 kBProgress (2): 31 kB | 30/67 kB Progress (2): 31 kB | 32/67 kBProgress (2): 31 kB | 36/67 kBProgress (2): 31 kB | 40/67 kBProgress (2): 31 kB | 45/67 kBProgress (2): 31 kB | 49/67 kBProgress (2): 31 kB | 53/67 kBProgress (2): 31 kB | 57/67 kBProgress (2): 31 kB | 61/67 kBProgress (2): 31 kB | 65/67 kBProgress (2): 31 kB | 67 kB Downloaded from central: https://repo.maven.apache.org/maven2/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/3.3/jwebunit-htmlunit-plugin-3.3.jar (31 kB at 1.6 MB/s) Downloaded from central: https://repo.maven.apache.org/maven2/net/sourceforge/jwebunit/jwebunit-core/3.3/jwebunit-core-3.3.jar (67 kB at 3.0 MB/s) [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ struts2-rest-showcase --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce) @ struts2-rest-showcase --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ struts2-rest-showcase --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (copy-sources) @ struts2-rest-showcase --- [INFO] Executing tasks main: [copy] Copying 4 files to <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/apps/rest-showcase/target/struts2-rest-showcase/WEB-INF/src/java> [copy] Copying 3 files to <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/apps/rest-showcase/target/struts2-rest-showcase/WEB-INF/src/java> [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ struts2-rest-showcase --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ struts2-rest-showcase --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ struts2-rest-showcase --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/apps/rest-showcase/target/classes> [INFO] [INFO] --- maven-bundle-plugin:3.5.0:manifest (bundle-manifest) @ struts2-rest-showcase --- [WARNING] Ignoring project type war - supportedProjectTypes = [jar, bundle] [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ struts2-rest-showcase --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/apps/rest-showcase/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ struts2-rest-showcase --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/apps/rest-showcase/target/test-classes> [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/apps/rest-showcase/src/test/java/it/org/apache/struts2/rest/example/PostOrderTest.java>:[22,37] package org.apache.commons.httpclient does not exist [ERROR] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/apps/rest-showcase/src/test/java/it/org/apache/struts2/rest/example/PostOrderTest.java>:[23,45] package org.apache.commons.httpclient.methods does not exist [ERROR] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/apps/rest-showcase/src/test/java/it/org/apache/struts2/rest/example/PostOrderTest.java>:[24,45] package org.apache.commons.httpclient.methods does not exist [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Struts 2 [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Struts 2 2.6-SNAPSHOT: [INFO] [INFO] Struts 2 Bill of Materials ......................... SUCCESS [ 1.559 s] [INFO] Struts 2 ........................................... SUCCESS [ 1.392 s] [INFO] Struts 2 Core ...................................... SUCCESS [01:31 min] [INFO] Struts 2 Plugins ................................... SUCCESS [ 0.168 s] [INFO] Struts 2 Configuration Browser Plugin .............. SUCCESS [ 0.406 s] [INFO] Struts 2 Sitemesh Plugin ........................... SUCCESS [ 0.533 s] [INFO] Struts 2 Tiles Plugin .............................. SUCCESS [ 1.562 s] [INFO] Struts 2 DWR Plugin ................................ SUCCESS [ 0.316 s] [INFO] Struts 2 Spring Plugin ............................. SUCCESS [ 1.483 s] [INFO] Struts 2 Convention Plugin ......................... SUCCESS [ 3.831 s] [INFO] Struts 2 JUnit Plugin .............................. SUCCESS [ 4.080 s] [INFO] Struts 2 JSON Plugin ............................... SUCCESS [ 5.258 s] [INFO] Struts 2 Bean Validation Plugin .................... SUCCESS [ 3.721 s] [INFO] Struts 2 Async Plugin .............................. SUCCESS [ 1.326 s] [INFO] Struts 2 Webapps ................................... SUCCESS [ 0.442 s] [INFO] Struts 2 Showcase Webapp ........................... SUCCESS [ 51.313 s] [INFO] Struts 2 REST Plugin ............................... SUCCESS [ 3.807 s] [INFO] Struts 2 Rest Showcase Webapp ...................... FAILURE [ 0.805 s] [INFO] Struts 2 CDI Plugin ................................ SKIPPED [INFO] DEPRECATED: Struts 2 Embedded JSP Plugin ........... SKIPPED [INFO] Struts 2 GXP Plugin ................................ SKIPPED [INFO] Struts 2 Jasper Reports Plugin ..................... SKIPPED [INFO] Struts 2 Java Templates Plugin ..................... SKIPPED [INFO] Struts 2 JFreeChart Plugin ......................... SKIPPED [INFO] Struts 2 OSGi Plugin ............................... SKIPPED [INFO] Struts 2 OVal Plugin ............................... SKIPPED [INFO] Struts 2 Pell Multipart Plugin ..................... SKIPPED [INFO] Struts 2 Plexus Plugin ............................. SKIPPED [INFO] Struts 2 Portlet Plugin ............................ SKIPPED [INFO] Struts 2 Portlet Tiles Plugin ...................... SKIPPED [INFO] DEPRECATED: Struts 2 Sitegraph Plugin .............. SKIPPED [INFO] Struts 2 TestNG Plugin ............................. SKIPPED [INFO] Struts 2 OSGi Bundles .............................. SKIPPED [INFO] Struts 2 OSGi Admin Bundle ......................... SKIPPED [INFO] Struts 2 OSGi Demo Bundle .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:55 min [INFO] Finished at: 2019-02-09T14:11:17Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project struts2-rest-showcase: Compilation failure: Compilation failure: [ERROR] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/apps/rest-showcase/src/test/java/it/org/apache/struts2/rest/example/PostOrderTest.java>:[22,37] package org.apache.commons.httpclient does not exist [ERROR] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/apps/rest-showcase/src/test/java/it/org/apache/struts2/rest/example/PostOrderTest.java>:[23,45] package org.apache.commons.httpclient.methods does not exist [ERROR] <https://builds.apache.org/job/Struts-master-JDK8-sonar-analysis/ws/apps/rest-showcase/src/test/java/it/org/apache/struts2/rest/example/PostOrderTest.java>:[24,45] package org.apache.commons.httpclient.methods does not exist [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 :struts2-rest-showcase Build step 'Execute shell' marked build as failure WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed? [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released Setting MAVEN_3_LATEST__HOME=/home/jenkins/tools/maven/latest3/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org