Skip to content

Instantly share code, notes, and snippets.

@vlsi
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vlsi/3d490836ff6ebaf193db to your computer and use it in GitHub Desktop.
Save vlsi/3d490836ff6ebaf193db to your computer and use it in GitHub Desktop.
Maven-compiler-plugin 3.1 useIncrementalCompilation=false test
Repeated executions of "mvn install -DskipTests -Dcheckstyle.skip=true" of
https://github.com/apache/incubator-calcite
with <useIncrementalCompilation>false</useIncrementalCompilation> are _faster_ than in default mode.
It looks like the setting is inversed somehow.
The issue is described here:
http://stackoverflow.com/questions/17944108/maven-compiler-plugin-always-detecting-a-set-of-sources-as-stale
https://jira.codehaus.org/browse/MCOMPILER-209
No "Compiling ... source files to..." messages during the build.
Total time: 17.509 s
Calcite ............. SUCCESS [ 1.404 s]
Calcite Avatica ..... SUCCESS [ 1.419 s]
Calcite Linq4j ...... SUCCESS [ 1.091 s]
Calcite Core ........ SUCCESS [ 6.042 s]
Calcite Examples .... SUCCESS [ 0.051 s]
Calcite Example CSV . SUCCESS [ 0.832 s]
Calcite MongoDB ..... SUCCESS [ 0.882 s]
Calcite Plus ........ SUCCESS [ 1.425 s]
Calcite Spark ....... SUCCESS [ 1.350 s]
Calcite Splunk ...... SUCCESS [ 0.777 s]
Calcite Ubenchmark .. SUCCESS [ 2.074 s]
The same "mvn install -DskipTests -Dcheckstyle.skip=true" with
default <useIncrementalCompilation>false</useIncrementalCompilation>
In default mode, all the modules are recompiled:
"Compiling 884 source files to .." and friends are in logs.
Total time: 26.798 s
Calcite ............. SUCCESS [ 1.406 s]
Calcite Avatica ..... SUCCESS [ 2.039 s]
Calcite Linq4j ...... SUCCESS [ 5.717 s]
Calcite Core ........ SUCCESS [10.067 s]
Calcite Examples .... SUCCESS [ 0.054 s]
Calcite Example CSV . SUCCESS [ 0.919 s]
Calcite MongoDB ..... SUCCESS [ 0.929 s]
Calcite Plus ........ SUCCESS [ 1.506 s]
Calcite Spark ....... SUCCESS [ 1.273 s]
Calcite Splunk ...... SUCCESS [ 0.879 s]
Calcite Ubenchmark .. SUCCESS [ 1.828 s]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment