dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
288 stars 136 forks source link

pom: compile code in the same jvm as maven #7605

Closed kofemann closed 3 months ago

kofemann commented 3 months ago

Motivation: Java11 migration required than code is compiled in a different JVM than maven, as extra arguments were not respected. This change had slowed down the compilation. The workaround is not needed anymore, thus can be removed.

Modification: Remove JVM forking for compilation.

Result: Compile time 3x faster.

before: Total time: 06:23 min

after: Total time: 02:02 min

Acked-by: Karen Hoyos Target: master, 10.0, 9.2 (cherry picked from commit d321e7e24fede393880389e4362158c10df60623)