mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-12 03:26:59 +00:00
Merge pull request #4759 from qxo/fix4useIncrementalCompilation
add compilerArg `-Xpkginfo:always` for useIncrementalCompilation which make build fast
This commit is contained in:
1 file changed
+6
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user