See <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/194/display/redirect?page=changes>
Changes: [github] Bump org.jfree:jfreechart from 1.5.1 to 1.5.4 [Lukasz Lenart] WW-5347 Upgrades to commons-digester3 ver 3.2 [Lukasz Lenart] WW-5338 Removes deprecated OgnTool [Lukasz Lenart] WW-5338 Removes also deprecated constant in ContextUtil [Lukasz Lenart] WW-5344 Un-deprecates Sitemesh plugin and upgrades Sitmesh to ver 2.5.0 [git] WW-5340 Mild refactor StrutsOgnlGuard for easier subclassing [git] WW-5340 Add debug logging for rejected form fields [git] WW-5340 Sanitize field names before logging [github] Bump ossf/scorecard-action from 2.2.0 to 2.3.0 [git] WW-5349 Remove Struts core dependency on OGNL VarRefs [git] WW-5349 Remove corresponding unit tests [git] Add JDK 21 build [git] Fix JDK 21 build [git] Convert test class to JUnit4 [git] Upgrade EasyMock [git] WW-5354 Ensure ActionSupport fields are not parameter injectable [git] WW-5355 Use LRU cache by default [git] WW-5355 Prevent AtomicInteger being initialised to zero [git] WW-5355 Initial Caffeine cache implementation [git] WW-5355 Fix eviction limit in LRU cache not being enforced [git] WW-5355 Update JavaDoc for basic and LRU cache [git] WW-5355 Introduce new Struts constants and their defaults [git] WW-5355 Unify bootstrap constant declaration [git] WW-5355 Introduce new cache type selection methods and deprecate problematic setter injection [git] Upgrade Jackson and remove unnecessary transitive override [git] Unify HtmlUnit versions [git] Upgrade ASM and exclude conflicting artifact [git] WW-5355 Downgrade Caffeine version [git] WW-5355 Fix interface and unit test bug [git] WW-5355 Address code smells [git] WW-5355 Delegate deprecated constructor [git] WW-5355 Extract constants into static final fields [git] WW-5355 Declare bootstrap constants as final field instead [git] WW-5355 Add since tags to StrutsConstants JavaDoc [github] Bump org.codehaus.mojo:versions-maven-plugin from 2.7 to 2.16.1 [git] WW-5355 Amend Caffeine cache implementation [git] WW-5355 Rename cache types [git] WW-5355 Bootstrap using basic cache ------------------------------------------ [...truncated 768.35 KB...] [INFO] --- resources:3.1.0:testResources (default-testResources) @ struts2-pell-multipart-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/pell-multipart/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ struts2-pell-multipart-plugin --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ struts2-pell-multipart-plugin --- [INFO] [INFO] --- apache-rat:0.15:check (default) @ struts2-pell-multipart-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] 62 implicit excludes. [INFO] 17 explicit excludes. [INFO] 5 resources included [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 4 licenses. [INFO] [INFO] --- jar:3.2.0:jar (default-jar) @ struts2-pell-multipart-plugin --- [INFO] Building jar: <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/pell-multipart/target/struts2-pell-multipart-plugin-6.4.0-SNAPSHOT.jar> [INFO] [INFO] >>> source:3.2.1:jar (attach-sources) > generate-sources @ struts2-pell-multipart-plugin >>> [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce) @ struts2-pell-multipart-plugin --- [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce-maven-version) @ struts2-pell-multipart-plugin --- [INFO] [INFO] <<< source:3.2.1:jar (attach-sources) < generate-sources @ struts2-pell-multipart-plugin <<< [INFO] [INFO] [INFO] --- source:3.2.1:jar (attach-sources) @ struts2-pell-multipart-plugin --- [INFO] Building jar: <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/pell-multipart/target/struts2-pell-multipart-plugin-6.4.0-SNAPSHOT-sources.jar> [INFO] [INFO] --- site:3.9.0:attach-descriptor (attach-descriptor) @ struts2-pell-multipart-plugin --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- dependency-check:7.2.0:check (default) @ struts2-pell-multipart-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 (32 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 File Name 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 Sonatype OSS Index Analyzer (0 seconds) [INFO] Finished Vulnerability Suppression Analyzer (0 seconds) [INFO] Finished Dependency Bundling Analyzer (0 seconds) [INFO] Analysis Complete (1 seconds) [INFO] Writing report to: <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/pell-multipart/target/dependency-check-report.html> [INFO] [INFO] --------------< org.apache.struts:struts2-plexus-plugin >--------------- [INFO] Building DEPRECATED: Struts 2 Plexus Plugin - since 6.0.0 6.4.0-SNAPSHOT [23/39] [INFO] from plugins/plexus/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce) @ struts2-plexus-plugin --- [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce-maven-version) @ struts2-plexus-plugin --- [INFO] [INFO] --- remote-resources:1.6.0:process (process-resource-bundles) @ struts2-plexus-plugin --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- resources:3.1.0:resources (default-resources) @ struts2-plexus-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 3 resources [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ struts2-plexus-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/plexus/target/classes> [INFO] <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/plexus/src/main/java/org/apache/struts2/plexus/PlexusObjectFactory.java>: <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/plexus/src/main/java/org/apache/struts2/plexus/PlexusObjectFactory.java> uses unchecked or unsafe operations. [INFO] <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/plexus/src/main/java/org/apache/struts2/plexus/PlexusObjectFactory.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- bundle:5.1.9:manifest (bundle-manifest) @ struts2-plexus-plugin --- [INFO] No MANIFEST.MF file found, generating manifest. [INFO] Writing manifest: <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/plexus/target/classes/META-INF/MANIFEST.MF> [INFO] [INFO] --- resources:3.1.0:testResources (default-testResources) @ struts2-plexus-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/plexus/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ struts2-plexus-plugin --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ struts2-plexus-plugin --- [INFO] [INFO] --- apache-rat:0.15:check (default) @ struts2-plexus-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] 62 implicit excludes. [INFO] 17 explicit excludes. [INFO] 9 resources included [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 8 licenses. [INFO] [INFO] --- jar:3.2.0:jar (default-jar) @ struts2-plexus-plugin --- [INFO] Building jar: <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/plexus/target/struts2-plexus-plugin-6.4.0-SNAPSHOT.jar> [INFO] [INFO] >>> source:3.2.1:jar (attach-sources) > generate-sources @ struts2-plexus-plugin >>> [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce) @ struts2-plexus-plugin --- [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce-maven-version) @ struts2-plexus-plugin --- [INFO] [INFO] <<< source:3.2.1:jar (attach-sources) < generate-sources @ struts2-plexus-plugin <<< [INFO] [INFO] [INFO] --- source:3.2.1:jar (attach-sources) @ struts2-plexus-plugin --- [INFO] Building jar: <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/plexus/target/struts2-plexus-plugin-6.4.0-SNAPSHOT-sources.jar> [INFO] [INFO] --- site:3.9.0:attach-descriptor (attach-descriptor) @ struts2-plexus-plugin --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- dependency-check:7.2.0:check (default) @ struts2-plexus-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 (32 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 Sonatype OSS Index Analyzer (0 seconds) [INFO] Finished Vulnerability Suppression Analyzer (0 seconds) [INFO] Finished Dependency Bundling Analyzer (0 seconds) [INFO] Analysis Complete (1 seconds) [INFO] Writing report to: <https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/plexus/target/dependency-check-report.html> [WARNING] One or more dependencies were identified with known vulnerabilities in DEPRECATED: Struts 2 Plexus Plugin - since 6.0.0: plexus-container-default-1.0-alpha-10.jar (pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-10, cpe:2.3:a:codehaus-plexus_project:codehaus-plexus:1.0:pha-10:*:*:*:*:*:*) : CVE-2022-4244, CVE-2022-4245 plexus-utils-1.2.jar (pkg:maven/org.codehaus.plexus/plexus-utils@1.2, cpe:2.3:a:codehaus-plexus_project:codehaus-plexus:1.2:*:*:*:*:*:*:*, cpe:2.3:a:utils_project:utils:1.2:*:*:*:*:*:*:*) : CVE-2022-4244, CVE-2021-4277, CVE-2022-4245 See the dependency-check report for more details. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Struts 2 6.4.0-SNAPSHOT: [INFO] [INFO] Struts 2 ........................................... SUCCESS [01:01 min] [INFO] Struts 2 Bill of Materials ......................... SUCCESS [ 2.608 s] [INFO] Struts 2 Core ...................................... SUCCESS [02:04 min] [INFO] Struts 2 Plugins ................................... SUCCESS [ 2.259 s] [INFO] Struts 2 Async Plugin .............................. SUCCESS [ 3.816 s] [INFO] Struts 2 Bean Validation Plugin .................... SUCCESS [ 6.701 s] [INFO] Struts 2 CDI Plugin ................................ SUCCESS [ 4.796 s] [INFO] Struts 2 Spring Plugin ............................. SUCCESS [ 9.767 s] [INFO] Struts 2 JUnit Plugin .............................. SUCCESS [ 7.601 s] [INFO] Struts 2 Velocity Plugin ........................... SUCCESS [ 7.814 s] [INFO] Struts 2 Configuration Browser Plugin .............. SUCCESS [ 3.289 s] [INFO] Struts 2 Convention Plugin ......................... SUCCESS [ 12.796 s] [INFO] Struts 2 DWR Plugin ................................ SUCCESS [ 3.346 s] [INFO] DEPRECATED: Struts 2 Embedded JSP Plugin, since 6.0.0 SUCCESS [ 10.804 s] [INFO] DEPRECATED: Struts 2 GXP Plugin - since 6.0.0 ...... SUCCESS [ 3.175 s] [INFO] Struts 2 Jasper Reports Plugin ..................... SUCCESS [ 8.195 s] [INFO] Struts 2 Java Templates Plugin ..................... SUCCESS [ 4.300 s] [INFO] Struts 2 JFreeChart Plugin ......................... SUCCESS [ 5.852 s] [INFO] Struts 2 JSON Plugin ............................... SUCCESS [ 9.012 s] [INFO] DEPRECATED: Struts 2 OSGi Plugin - since 6.0.0 ..... SUCCESS [ 5.913 s] [INFO] DEPRECATED: Struts 2 OVal Plugin, since 6.0.0 ...... SUCCESS [ 6.674 s] [INFO] DEPRECATED: Struts 2 Pell Multipart Plugin - since 6.2.0 SUCCESS [ 2.248 s] [INFO] DEPRECATED: Struts 2 Plexus Plugin - since 6.0.0 ... FAILURE [ 2.820 s] [INFO] DEPRECATED: Struts 2 Portlet Mocks Plugin - since 6.0.0 SKIPPED [INFO] DEPRECATED: Struts 2 Portlet Plugin - since 6.0.0 .. SKIPPED [INFO] DEPRECATED: Struts 2 Portlet JUnit Plugin - since 6.3.0 SKIPPED [INFO] Struts 2 Tiles Plugin .............................. SKIPPED [INFO] DEPRECATED: Struts 2 Portlet Tiles Plugin - since 6.0.0 SKIPPED [INFO] Struts 2 REST Plugin ............................... SKIPPED [INFO] Struts 2 Sitemesh Plugin ........................... SKIPPED [INFO] Struts 2 TestNG Plugin ............................. SKIPPED [INFO] Struts 2 XSLT Plugin ............................... SKIPPED [INFO] DEPRECATED: Struts 2 OSGi Bundles - since 6.0.0 .... SKIPPED [INFO] DEPRECATED: Struts 2 OSGi Admin Bundle - since 6.0.0 SKIPPED [INFO] DEPRECATED: Struts 2 OSGi Demo Bundle - since 6.0.0 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: 05:11 min [INFO] Finished at: 2023-10-22T06:06:38Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.owasp:dependency-check-maven:7.2.0:check (default) on project struts2-plexus-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] plexus-container-default-1.0-alpha-10.jar: CVE-2022-4244(7.5) [ERROR] plexus-utils-1.2.jar: CVE-2022-4244(7.5) [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-plexus-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