3 ms·
They probably invoke maven with "mvn clean package" which does a fresh complete build, but only for deploying it.
by ysleepy 6y ago
They probably invoke maven with "mvn clean package" which does a fresh complete build, but only for deploying it.
- dilap 6y agoI'm running "mvn install -DskipTests" w/ no files changed. It takes about 22 seconds and I see messages like > Changes detected - recompiling the module! > [INFO] Compiling 734 source files... Perhaps we're doing something strange or dumb or somehow don't have incremental compilation turned on...
- ptx 6y agoIt seems[1] there's a flag called useIncrementalCompilation which is indeed enabled by default but doesn't actually cause any incremental compilation to happen. Setting the flag to false causes it to compile only changed files, but this will give incorrect results, for the reasons described in the Kotlin blog post. [1] https://stackoverflow.com/a/49700942 https://stackoverflow.com/a/49700942