See 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/128/display/redirect?page=changes>

Changes:

[Lukasz Lenart] Cleans up code

[Lukasz Lenart] WW-5172 Upgrades Freemarker to 2.3.31 version


------------------------------------------
[...truncated 1.32 MB...]
[INFO] Analysis Started
[INFO] Finished Archive Analyzer (0 seconds)
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Jar Analyzer (0 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (1 seconds)
[INFO] Finished CPE Analyzer (1 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[INFO] Finished RetireJS Analyzer (0 seconds)
[INFO] Finished Sonatype OSS Index Analyzer (0 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (2 seconds)
[INFO] Writing report to: 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/portlet-tiles/target/dependency-check-report.html>
[WARNING] 

One or more dependencies were identified with known vulnerabilities in 
DEPRECATED: Struts 2 Portlet Tiles Plugin - since 2.6:

tiles-ognl-3.0.8.jar (pkg:maven/org.apache.tiles/tiles-ognl@3.0.8, 
cpe:2.3:a:apache:tiles:3.0.8:*:*:*:*:*:*:*, 
cpe:2.3:a:ognl_project:ognl:3.0.8:*:*:*:*:*:*:*) : CVE-2016-3093


See the dependency-check report for more details.


[INFO] 
[INFO] ---------------< org.apache.struts:struts2-rest-plugin >----------------
[INFO] Building Struts 2 REST Plugin 6.0.0-SNAPSHOT                     [28/37]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce) @ 
struts2-rest-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ 
struts2-rest-plugin ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.6.0:process 
(process-resource-bundles) @ struts2-rest-plugin ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[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.8.1:compile (default-compile) @ 
struts2-rest-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 24 source files to 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/rest/target/classes>
[INFO] 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/rest/src/main/java/org/apache/struts2/rest/handler/AbstractContentTypeHandler.java>:
 Some input files use or override a deprecated API.
[INFO] 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/rest/src/main/java/org/apache/struts2/rest/handler/AbstractContentTypeHandler.java>:
 Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-bundle-plugin:5.1.3: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://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/rest/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ 
struts2-rest-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/rest/target/test-classes>
[INFO] 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/rest/src/test/java/org/apache/struts2/rest/handler/Contact.java>:
 Some input files use unchecked or unsafe operations.
[INFO] 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/rest/src/test/java/org/apache/struts2/rest/handler/Contact.java>:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ 
struts2-rest-plugin ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.struts2.rest.RestWorkflowInterceptorTest
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: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s 
- in org.apache.struts2.rest.RestWorkflowInterceptorTest
[INFO] Running org.apache.struts2.rest.RestActionMapperTest
[INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.149 s 
- in org.apache.struts2.rest.RestActionMapperTest
[INFO] Running org.apache.struts2.rest.ContentTypeHandlerManagerTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s 
- in org.apache.struts2.rest.ContentTypeHandlerManagerTest
[INFO] Running org.apache.struts2.rest.handler.JacksonXmlHandlerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.696 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.414 s 
- in org.apache.struts2.rest.handler.JuneauXmlHandlerTest
[INFO] Running org.apache.struts2.rest.handler.JacksonJsonHandlerTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s 
- in org.apache.struts2.rest.handler.JacksonJsonHandlerTest
[INFO] Running org.apache.struts2.rest.RestActionInvocationTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.134 s 
- in org.apache.struts2.rest.RestActionInvocationTest
[INFO] Running org.apache.struts2.rest.DefaultContentTypeHandlerManagerTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 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.011 s 
- in org.apache.struts2.rest.DefaultHttpHeadersTest
[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/**/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.2.0:jar (default-jar) @ struts2-rest-plugin ---
[INFO] Building jar: 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/rest/target/struts2-rest-plugin-6.0.0-SNAPSHOT.jar>
[INFO] 
[INFO] >>> maven-source-plugin:3.2.1:jar (attach-sources) > generate-sources @ 
struts2-rest-plugin >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce) @ 
struts2-rest-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ 
struts2-rest-plugin ---
[INFO] 
[INFO] <<< maven-source-plugin:3.2.1:jar (attach-sources) < generate-sources @ 
struts2-rest-plugin <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar (attach-sources) @ struts2-rest-plugin 
---
[INFO] Building jar: 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/rest/target/struts2-rest-plugin-6.0.0-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.9.0:attach-descriptor (attach-descriptor) @ 
struts2-rest-plugin ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] --- dependency-check-maven:6.5.1:check (default) @ struts2-rest-plugin 
---
[INFO] Checking for updates
[INFO] Skipping NVD check since last check was within 4 hours.
[INFO] Skipping RetireJS update since last update was within 24 hours.
[INFO] Check for updates complete (43 ms)
[INFO] 

Dependency-Check is an open source tool performing a best effort analysis of 
3rd party dependencies; false positives and false negatives may exist in the 
analysis performed by the tool. Use of the tool and the reporting provided 
constitutes acceptance for use in an AS IS condition, and there are NO 
warranties, implied or otherwise, with regard to the analysis or its use. Any 
use of the tool and the reporting provided is at the user?s risk. In no event 
shall the copyright holder or OWASP be held liable for any damages whatsoever 
arising out of or in connection with the use of this tool, the analysis 
performed, or the resulting report.


   About ODC: 
https://jeremylong.github.io/DependencyCheck/general/internals.html
   False Positives: 
https://jeremylong.github.io/DependencyCheck/general/suppression.html

? Sponsor: https://github.com/sponsors/jeremylong


[INFO] Analysis Started
[INFO] Finished Archive Analyzer (0 seconds)
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Jar Analyzer (0 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (1 seconds)
[INFO] Finished CPE Analyzer (1 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[INFO] Finished RetireJS Analyzer (0 seconds)
[INFO] Finished Sonatype OSS Index Analyzer (0 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (2 seconds)
[INFO] Writing report to: 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/rest/target/dependency-check-report.html>
[WARNING] 

One or more dependencies were identified with known vulnerabilities in Struts 2 
REST Plugin:

jackson-databind-2.10.5.1.jar 
(pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.10.5.1, 
cpe:2.3:a:fasterxml:jackson-databind:2.10.5.1:*:*:*:*:*:*:*, 
cpe:2.3:a:fasterxml:jackson-modules-java8:2.10.5.1:*:*:*:*:*:*:*) : 
CVE-2020-36518


See the dependency-check report for more details.


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Struts 2 6.0.0-SNAPSHOT:
[INFO] 
[INFO] Struts 2 Bill of Materials ......................... SUCCESS [  1.490 s]
[INFO] Struts 2 ........................................... SUCCESS [ 10.365 s]
[INFO] Struts 2 Core ...................................... SUCCESS [01:54 min]
[INFO] Struts 2 Plugins ................................... SUCCESS [  3.682 s]
[INFO] Struts 2 Async Plugin .............................. SUCCESS [  3.809 s]
[INFO] Struts 2 Bean Validation Plugin .................... SUCCESS [  7.046 s]
[INFO] Struts 2 CDI Plugin ................................ SUCCESS [  5.119 s]
[INFO] Struts 2 Velocity Plugin ........................... SUCCESS [  4.973 s]
[INFO] Struts 2 Configuration Browser Plugin .............. SUCCESS [  3.975 s]
[INFO] Struts 2 Convention Plugin ......................... SUCCESS [ 10.848 s]
[INFO] Struts 2 DWR Plugin ................................ SUCCESS [  2.978 s]
[INFO] DEPRECATED: Struts 2 Embedded JSP Plugin (since 2.6) SUCCESS [  8.310 s]
[INFO] DEPRECATED: Struts 2 GXP Plugin - since 2.6 ........ SUCCESS [  3.033 s]
[INFO] Struts 2 Spring Plugin ............................. SUCCESS [  8.856 s]
[INFO] DEPRECATED: Struts 2 Portlet Mocks Plugin - since 2.6 SUCCESS [  4.251 s]
[INFO] DEPRECATED: Struts 2 Portlet Plugin - since 2.6 .... SUCCESS [  7.393 s]
[INFO] Struts 2 JUnit Plugin .............................. SUCCESS [  7.301 s]
[INFO] Struts 2 Jasper Reports Plugin ..................... SUCCESS [  8.478 s]
[INFO] Struts 2 Java Templates Plugin ..................... SUCCESS [  3.875 s]
[INFO] Struts 2 JFreeChart Plugin ......................... SUCCESS [  4.652 s]
[INFO] Struts 2 JSON Plugin ............................... SUCCESS [  7.728 s]
[INFO] DEPRECATED: Struts 2 OSGi Plugin - since 2.6 ....... SUCCESS [  5.675 s]
[INFO] DEPRECATED: Struts 2 OVal Plugin (since 2.6) ....... SUCCESS [  6.121 s]
[INFO] Struts 2 Pell Multipart Plugin ..................... SUCCESS [  2.307 s]
[INFO] DEPRECATED: Struts 2 Plexus Plugin - since 2.6 ..... SUCCESS [  2.955 s]
[INFO] Struts 2 Tiles Plugin .............................. SUCCESS [  4.691 s]
[INFO] DEPRECATED: Struts 2 Portlet Tiles Plugin - since 2.6 SUCCESS [  3.270 s]
[INFO] Struts 2 REST Plugin ............................... FAILURE [  6.717 s]
[INFO] DEPRECATED: Struts 2 Sitemesh Plugin - since 2.6 ... SKIPPED
[INFO] Struts 2 TestNG Plugin ............................. SKIPPED
[INFO] DEPRECATED: Struts 2 OSGi Bundles - since 2.6 ...... SKIPPED
[INFO] DEPRECATED: Struts 2 OSGi Admin Bundle - since 2.6 . SKIPPED
[INFO] DEPRECATED: Struts 2 OSGi Demo Bundle - since 2.6 .. SKIPPED
[INFO] Struts 2 Webapps ................................... SKIPPED
[INFO] Struts 2 Showcase Webapp ........................... SKIPPED
[INFO] Struts 2 Rest Showcase Webapp ...................... SKIPPED
[INFO] Struts 2 Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:25 min
[INFO] Finished at: 2022-03-20T06:05:36Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:6.5.1:check 
(default) on project struts2-rest-plugin: 
[ERROR] 
[ERROR] One or more dependencies were identified with vulnerabilities that have 
a CVSS score greater than or equal to '7.0': 
[ERROR] 
[ERROR] jackson-databind-2.10.5.1.jar: CVE-2020-36518
[ERROR] 
[ERROR] See the dependency-check report for more details.
[ERROR] 
[ERROR] 
[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 <args> -rf :struts2-rest-plugin
Build step 'Execute shell' marked build as failure
ERROR: No tool found matching MAVEN_3_LATEST__HOME
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

Reply via email to