Fix for slow maven builds 12/143212/5
authordanielhanrahan <daniel.hanrahan@est.tech>
Fri, 13 Feb 2026 10:03:37 +0000 (10:03 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Fri, 13 Feb 2026 14:15:31 +0000 (14:15 +0000)
Exclude the jackson package from compilation. This
fixes the JVM crash when compiling on OpenJDK 21.0.7

Issue-ID: POLICY-5508
Change-Id: I676cae6310c07a0e0556cb39da153bece4415800
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
clamp-parent/dependencies/pom.xml

index ddb7e0d..15f28f6 100644 (file)
             --add-opens java.base/java.lang=ALL-UNNAMED
             --add-opens java.sql/java.sql=ALL-UNNAMED
             -XX:+EnableDynamicAgentLoading
-            -XX:TieredStopAtLevel=3
-            -XX:ReservedCodeCacheSize=256m
-            -XX:ProfiledCodeHeapSize=128m
-            -XX:NonProfiledCodeHeapSize=96m
+            -XX:CompileCommand=exclude,com/fasterxml/jackson/databind/introspect/*.*
         </surefireArgLine>
     </properties>