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

Changes:

[Lukasz Lenart] WW-5232 Introduces GH Actions build instead of using Travis

[Lukasz Lenart] WW-5232 Defines default ENV settings

[Lukasz Lenart] WW-5232 Uses Sonar Coverage badge instead of Travis on

[Lukasz Lenart] WW-5232 Uses default SONAR_TOKEN name

[Lukasz Lenart] WW-5232 Uses Apache specific SONARCLOUD_TOKEN secret

[Lukasz Lenart] Reverts back to SONAR_TOKEN

[Lukasz Lenart] Uses SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}

[Lukasz Lenart] WW-5232 Avoids building assemblies

[github] Replaces Travis badge with GH Actions badge

[Lukasz Lenart] WW-5234 Improves DTD definitions to use proper URL

[Lukasz Lenart] WW-5232 Applies proper coverage settings for Jacoco plugin and 
Sonar

[Lukasz Lenart] WW-5235 Uses debug log level when setting expression max length 
to avoid cluttering logs

[Lukasz Lenart] WW-5184 Uses debug log level when parameter value was not 
accepted

[Lukasz Lenart] WW-5232 Stop generating Jacoco reports which are not used

[Lukasz Lenart] WW-5184 Improves logging around excluding/accepting values of 
incoming parameters

[Lukasz Lenart] Disables Code quality step in Jenkins pipeline to avoid 
overriding GH Actions results

[Lukasz Lenart] WW-5184 Reduces code complexity when handling excluded/accepted 
values patterns

[Lukasz Lenart] Puts back JaCoCo report generation

[Lukasz Lenart] Sets proper Sonar options in Jenkins pipeline and removes 
duplicated sonar properties


------------------------------------------
[...truncated 951.68 KB...]
[INFO] Skipping RetireJS update since last update was within 24 hours.
[INFO] Check for updates complete (44 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 (2 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 (3 seconds)
[INFO] Writing report to: 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/gxp/target/dependency-check-report.html>
[INFO] 
[INFO] --------------< org.apache.struts:struts2-spring-plugin >---------------
[INFO] Building Struts 2 Spring Plugin 6.1.0-SNAPSHOT                   [14/37]
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: 
https://repo.maven.apache.org/maven2/org/springframework/spring-aspects/5.3.23/spring-aspects-5.3.23.pom
Progress (1): 2.0 kB                    Downloaded from central: 
https://repo.maven.apache.org/maven2/org/springframework/spring-aspects/5.3.23/spring-aspects-5.3.23.pom
 (2.0 kB at 13 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/org/springframework/spring-aspects/5.3.23/spring-aspects-5.3.23.jar
Progress (1): 4.1/47 kBProgress (1): 8.2/47 kBProgress (1): 12/47 kB Progress 
(1): 16/47 kBProgress (1): 20/47 kBProgress (1): 24/47 kBProgress (1): 28/47 
kBProgress (1): 32/47 kBProgress (1): 36/47 kBProgress (1): 40/47 kBProgress 
(1): 45/47 kBProgress (1): 47 kB                      Downloaded from central: 
https://repo.maven.apache.org/maven2/org/springframework/spring-aspects/5.3.23/spring-aspects-5.3.23.jar
 (47 kB at 301 kB/s)
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce) @ 
struts2-spring-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-maven-version) @ 
struts2-spring-plugin ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.6.0:process 
(process-resource-bundles) @ struts2-spring-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-spring-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ 
struts2-spring-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/target/classes>
[INFO] 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.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/spring/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java>:
 Recompile with -Xlint:deprecation for details.
[INFO] 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/src/main/java/org/apache/struts2/spring/ClassReloadingInstantiationStrategy.java>:
 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/src/main/java/org/apache/struts2/spring/ClassReloadingInstantiationStrategy.java>
 uses unchecked or unsafe operations.
[INFO] 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/src/main/java/org/apache/struts2/spring/ClassReloadingInstantiationStrategy.java>:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-bundle-plugin:5.1.6:manifest (bundle-manifest) @ 
struts2-spring-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/spring/target/classes/META-INF/MANIFEST.MF>
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ 
struts2-spring-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:testCompile (default-testCompile) @ 
struts2-spring-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/target/test-classes>
[INFO] 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/src/test/java/com/opensymphony/xwork2/spring/ActionsFromSpringTest.java>:
 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/src/test/java/com/opensymphony/xwork2/spring/ActionsFromSpringTest.java>
 uses or overrides a deprecated API.
[INFO] 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/src/test/java/com/opensymphony/xwork2/spring/ActionsFromSpringTest.java>:
 Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ 
struts2-spring-plugin ---
[INFO] Using configured provider 
org.apache.maven.surefire.junitcore.JUnitCoreProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.test.SecurityMemberAccessProxyTest
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: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.374 s 
- in com.test.SecurityMemberAccessProxyTest
[INFO] Running com.opensymphony.xwork2.ognl.SecurityMemberAccessProxyTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.398 s 
- in com.opensymphony.xwork2.ognl.SecurityMemberAccessProxyTest
[INFO] Running com.opensymphony.xwork2.spring.SpringProxyUtilTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.466 s 
- in com.opensymphony.xwork2.spring.SpringProxyUtilTest
[INFO] Running com.opensymphony.xwork2.spring.SpringObjectFactoryTest
Action class is: com.sun.proxy.$Proxy7
[INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.832 s 
- in com.opensymphony.xwork2.spring.SpringObjectFactoryTest
[INFO] Running 
com.opensymphony.xwork2.spring.interceptor.ActionAutowiringInterceptorTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 s 
- in com.opensymphony.xwork2.spring.interceptor.ActionAutowiringInterceptorTest
[INFO] Running com.opensymphony.xwork2.spring.ActionsFromSpringTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.188 s 
- in com.opensymphony.xwork2.spring.ActionsFromSpringTest
[INFO] Running org.apache.struts2.spring.StrutsSpringObjectFactoryTest
FATAL StrutsSpringObjectFactory ********** FATAL ERROR STARTING UP 
STRUTS-SPRING INTEGRATION **********
Looks like the Spring listener was not configured for your web app! 
Nothing will work until WebApplicationContextUtils returns a valid 
ApplicationContext.
You might need to add the following to web.xml: 
    <listener>
        
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 s - 
in org.apache.struts2.spring.StrutsSpringObjectFactoryTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 43, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- apache-rat-plugin:0.15:check (default) @ struts2-spring-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] 34 resources included
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 33 licenses.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ struts2-spring-plugin ---
[INFO] Building jar: 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/target/struts2-spring-plugin-6.1.0-SNAPSHOT.jar>
[INFO] 
[INFO] >>> maven-source-plugin:3.2.1:jar (attach-sources) > generate-sources @ 
struts2-spring-plugin >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce) @ 
struts2-spring-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-maven-version) @ 
struts2-spring-plugin ---
[INFO] 
[INFO] <<< maven-source-plugin:3.2.1:jar (attach-sources) < generate-sources @ 
struts2-spring-plugin <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar (attach-sources) @ 
struts2-spring-plugin ---
[INFO] Building jar: 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/target/struts2-spring-plugin-6.1.0-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.9.0:attach-descriptor (attach-descriptor) @ 
struts2-spring-plugin ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] --- dependency-check-maven:7.2.0:check (default) @ struts2-spring-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 (48 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 (2 seconds)
[INFO] Finished CPE Analyzer (2 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[INFO] Finished RetireJS Analyzer (1 seconds)
[INFO] Finished Sonatype OSS Index Analyzer (2 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (6 seconds)
[INFO] Writing report to: 
<https://ci-builds.apache.org/job/Struts/job/Struts-master-JDK8-dependency-check/ws/plugins/spring/target/dependency-check-report.html>
[WARNING] 

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

spring-web-5.3.23.jar (pkg:maven/org.springframework/spring-web@5.3.23, 
cpe:2.3:a:pivotal_software:spring_framework:5.3.23:*:*:*:*:*:*:*, 
cpe:2.3:a:springsource:spring_framework:5.3.23:*:*:*:*:*:*:*, 
cpe:2.3:a:vmware:spring_framework:5.3.23:*:*:*:*:*:*:*) : CVE-2016-1000027


See the dependency-check report for more details.


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Struts 2 6.1.0-SNAPSHOT:
[INFO] 
[INFO] Struts 2 Bill of Materials ......................... SUCCESS [  2.123 s]
[INFO] Struts 2 ........................................... SUCCESS [04:46 min]
[INFO] Struts 2 Core ...................................... SUCCESS [02:58 min]
[INFO] Struts 2 Plugins ................................... SUCCESS [  4.856 s]
[INFO] Struts 2 Async Plugin .............................. SUCCESS [  5.386 s]
[INFO] Struts 2 Bean Validation Plugin .................... SUCCESS [  9.911 s]
[INFO] Struts 2 CDI Plugin ................................ SUCCESS [  9.292 s]
[INFO] Struts 2 Velocity Plugin ........................... SUCCESS [  8.007 s]
[INFO] Struts 2 Configuration Browser Plugin .............. SUCCESS [  4.746 s]
[INFO] Struts 2 Convention Plugin ......................... SUCCESS [ 16.915 s]
[INFO] Struts 2 DWR Plugin ................................ SUCCESS [  6.098 s]
[INFO] DEPRECATED: Struts 2 Embedded JSP Plugin, since 6.0.0 SUCCESS [ 15.514 s]
[INFO] DEPRECATED: Struts 2 GXP Plugin - since 6.0.0 ...... SUCCESS [  4.573 s]
[INFO] Struts 2 Spring Plugin ............................. FAILURE [ 16.253 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] Struts 2 JUnit 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 JSON Plugin ............................... SKIPPED
[INFO] DEPRECATED: Struts 2 OSGi Plugin - since 6.0.0 ..... SKIPPED
[INFO] DEPRECATED: Struts 2 OVal Plugin, since 6.0.0 ...... SKIPPED
[INFO] Struts 2 Pell Multipart Plugin ..................... SKIPPED
[INFO] DEPRECATED: Struts 2 Plexus Plugin - since 6.0.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] DEPRECATED: Struts 2 Sitemesh Plugin - since 6.0.0 . SKIPPED
[INFO] Struts 2 TestNG 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:  09:29 min
[INFO] Finished at: 2022-10-02T06:10:50Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:7.2.0:check 
(default) on project struts2-spring-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] spring-web-5.3.23.jar: CVE-2016-1000027(9.8)
[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-spring-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