Skip to content

Commit dbb943b

Browse files
committed
Upgrade a few plugins. Add missing ESAPI property due to previous ESAPI
upgrade. Upgrade spotless settings to work with Java 21+.
1 parent 4ceda54 commit dbb943b

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.mvn/jvm.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
22
--add-opens java.base/java.lang=ALL-UNNAMED
3+
4+
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
5+
--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
6+
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
7+
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
8+
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@
624624
<dependency>
625625
<groupId>commons-codec</groupId>
626626
<artifactId>commons-codec</artifactId>
627-
<version>1.17.1</version>
627+
<version>1.17.2</version>
628628
</dependency>
629629

630630
<!-- mvn dependency:analyze says this is an unused declared dependency, but its wrong. Get this runtime error if it's not included: Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.commons.dbcp.BasicDataSource] for bean with name 'dataSource' defined in class path resource [context.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource -->
@@ -1099,7 +1099,7 @@
10991099
<plugin>
11001100
<groupId>com.diffplug.spotless</groupId>
11011101
<artifactId>spotless-maven-plugin</artifactId>
1102-
<version>2.43.0</version>
1102+
<version>2.44.0</version>
11031103
<configuration>
11041104
<!-- optional: limit format enforcement to just the files changed by this feature branch -->
11051105
<ratchetFrom>origin/master</ratchetFrom>
@@ -1164,7 +1164,7 @@
11641164

11651165
<!-- apply a specific flavor of google-java-format -->
11661166
<googleJavaFormat>
1167-
<version>1.10.0</version>
1167+
<version>1.17.0</version>
11681168
<style>AOSP</style>
11691169
</googleJavaFormat>
11701170
</java>

src/main/resources/ESAPI.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ Executor.ApprovedExecutables=
352352
#===========================================================================
353353
# ESAPI Logging
354354
# Set the application name if these logs are combined with other applications
355-
Logger.ApplicationName=ExampleApplication
355+
Logger.ApplicationName=OWASP_Benchmark
356356
# If you use an HTML log viewer that does not properly HTML escape log data, you can set LogEncodingRequired to true
357357
Logger.LogEncodingRequired=false
358358
# Determines whether ESAPI should log the application name. This might be clutter in some single-server/single-app environments.
@@ -369,7 +369,8 @@ Logger.UserInfo=false
369369
# Determines whether ESAPI should log the app info.
370370
Logger.ClientInfo=false
371371

372-
372+
# Determines whether ESAPI should log the prefix of [EVENT_TYPE - APPLICATION NAME].
373+
Logger.LogPrefix=false
373374

374375
#===========================================================================
375376
# ESAPI Intrusion Detection

0 commit comments

Comments
 (0)