Set spotbugs.fork to false 40/110440/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 3 Mar 2024 06:08:48 +0000 (07:08 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 3 Mar 2024 06:08:48 +0000 (07:08 +0100)
Do not fork a new JVM, as it wastes CPU cycles to start it up.

Change-Id: I44659518be833cd166417dad75561ce6f46ebcfd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
odlparent/pom.xml

index b57a5d16a8ebd599725330c725af0faa69a71393..7fd07873e80a15ac95fd8b0d7c8b761cc31d0c79 100644 (file)
@@ -82,6 +82,8 @@
          to true. Set to 'false' in pom.xml of project which desires to not enforce
          no reported violations. -->
     <odlparent.spotbugs.enforce>true</odlparent.spotbugs.enforce>
+    <!-- Do not for a new JVM for spotbugs execution -->
+    <spotbugs.fork>false</spotbugs.fork>
 
     <!-- Opt-in into maven-dependency-plugin dependency declaration consistency
          enforcement. Defaults to false. Set to 'true' in pom.xml of a project which