Merge pull request #4759 from qxo/fix4useIncrementalCompilation

add compilerArg `-Xpkginfo:always` for useIncrementalCompilation which make build fast
This commit is contained in:
Tim Jacomb authored and GitHub committed 2020-07-18 17:41:57 +01:00
commit b4242b217f
1 file changed
+6
+6
View File
@@ -231,6 +231,12 @@ THE SOFTWARE.
<configuration>
<fork>true</fork>
<compilerReuseStrategy>alwaysNew</compilerReuseStrategy>
<compilerArgs>
<!--always compile package-info.java for useIncrementalCompilation
ref: https://stackoverflow.com/questions/6770455/maven-compiling-package-info-java-to-package-info-class
-->
<compilerArg>-Xpkginfo:always</compilerArg>
</compilerArgs>
</configuration>
</plugin>
<plugin>