Skip to content

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

pom.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@
558558
<commons-lang3.version>3.14.0</commons-lang3.version>
559559

560560
<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>
562562
<datagen.version>2.5.1</datagen.version>
563563

564564
<!-- Disable XML reports by default. Enabled manually by passing -DdisableXmlReport=false in CI environment -->
@@ -877,7 +877,6 @@
877877
<version>${compiler.plugin.version}</version>
878878
<configuration>
879879
<showDeprecation>true</showDeprecation>
880-
<showWarnings>true</showWarnings>
881880
<debug>false</debug>
882881
<failOnWarning>true</failOnWarning>
883882
<compilerArgs>
@@ -1025,6 +1024,14 @@
10251024
<configuration>
10261025
<!-- Exclude non-minified versions of resources -->
10271026
<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>
10281035
</configuration>
10291036
</plugin>
10301037

@@ -1266,8 +1273,6 @@
12661273
<groupId>org.apache.maven.plugins</groupId>
12671274
<artifactId>maven-compiler-plugin</artifactId>
12681275
<configuration>
1269-
<source>${java.version}</source>
1270-
<target>${java.version}</target>
12711276
<!-- Required for ErrorProne -->
12721277
<fork>true</fork>
12731278
<compilerArgs combine.children="append">

0 commit comments

Comments
 (0)