[FLINK-8847][build] Always generate .class files for package-info.java

This closes #5644.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/870ff31a
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/870ff31a
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/870ff31a

Branch: refs/heads/master
Commit: 870ff31a944da5eba2c228f4529a26b6ff1d6846
Parents: 92133b7
Author: zentol <ches...@apache.org>
Authored: Tue Mar 6 10:45:25 2018 +0100
Committer: zentol <ches...@apache.org>
Committed: Sat Mar 10 13:09:51 2018 +0100

----------------------------------------------------------------------
 pom.xml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/870ff31a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 40c0e24..4e2340b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1094,9 +1094,13 @@ under the License.
                                <configuration>
                                        <source>${java.version}</source>
                                        <target>${java.version}</target>
-                                       <!-- The output of Xlint is not shown 
by default, but we activate it for the QA bot
-                                       to be able to get more warnings -->
-                                       
<compilerArgument>-Xlint:all</compilerArgument>
+                                       <compilerArgs>
+                                               <!-- The output of Xlint is not 
shown by default, but we activate it for the QA bot
+                                               to be able to get more warnings 
-->
+                                               <arg>-Xlint:all</arg>
+                                               <!-- Prevents recompilation due 
to missing package-info.class, see MCOMPILER-205 -->
+                                               <arg>-Xpkginfo:always</arg>
+                                       </compilerArgs>
                                </configuration>
                        </plugin>
 

Reply via email to