|
558 | 558 | <commons-lang3.version>3.14.0</commons-lang3.version>
|
559 | 559 |
|
560 | 560 | <commons.text.version>1.11.0</commons.text.version>
|
561 |
| - <compiler.plugin.version>3.8.1</compiler.plugin.version> |
| 561 | + <compiler.plugin.version>3.12.1</compiler.plugin.version> |
562 | 562 | <datagen.version>2.5.1</datagen.version>
|
563 | 563 |
|
564 | 564 | <!-- Disable XML reports by default. Enabled manually by passing -DdisableXmlReport=false in CI environment -->
|
|
877 | 877 | <version>${compiler.plugin.version}</version>
|
878 | 878 | <configuration>
|
879 | 879 | <showDeprecation>true</showDeprecation>
|
880 |
| - <showWarnings>true</showWarnings> |
881 | 880 | <debug>false</debug>
|
882 | 881 | <failOnWarning>true</failOnWarning>
|
883 | 882 | <compilerArgs>
|
|
1025 | 1024 | <configuration>
|
1026 | 1025 | <!-- Exclude non-minified versions of resources -->
|
1027 | 1026 | <warSourceExcludes>WEB-INF/static/styles/main.css</warSourceExcludes>
|
| 1027 | + <!-- |
| 1028 | + maven-compiler-plugin has parameter createMissingPackageInfoClass that is enabled by default. |
| 1029 | + Because of that, every package-info.java file become to package-info.class that is included |
| 1030 | + into resulted WAR file. If we turn this parameter off, incremental compilation won't work. |
| 1031 | + Here we exclude generated package-info.class files as they don't require for the application. |
| 1032 | + See also https://issues.apache.org/jira/browse/MCOMPILER-205 |
| 1033 | + --> |
| 1034 | + <packagingExcludes>WEB-INF/classes/**/package-info.class</packagingExcludes> |
1028 | 1035 | </configuration>
|
1029 | 1036 | </plugin>
|
1030 | 1037 |
|
|
1266 | 1273 | <groupId>org.apache.maven.plugins</groupId>
|
1267 | 1274 | <artifactId>maven-compiler-plugin</artifactId>
|
1268 | 1275 | <configuration>
|
1269 |
| - <source>${java.version}</source> |
1270 |
| - <target>${java.version}</target> |
1271 | 1276 | <!-- Required for ErrorProne -->
|
1272 | 1277 | <fork>true</fork>
|
1273 | 1278 | <compilerArgs combine.children="append">
|
|
0 commit comments