You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ke...@apache.org on 2016/10/27 22:01:13 UTC

[1/2] incubator-beam git commit: This closes #1205

Repository: incubator-beam
Updated Branches:
  refs/heads/master 3fd3951de -> f2ec82453


This closes #1205


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/f2ec8245
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/f2ec8245
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/f2ec8245

Branch: refs/heads/master
Commit: f2ec82453d01c6ede971912689ae40fcbfa9d3ac
Parents: 3fd3951 324a36d
Author: Kenneth Knowles <kl...@google.com>
Authored: Thu Oct 27 14:55:46 2016 -0700
Committer: Kenneth Knowles <kl...@google.com>
Committed: Thu Oct 27 14:55:46 2016 -0700

----------------------------------------------------------------------
 pom.xml | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
----------------------------------------------------------------------



[2/2] incubator-beam git commit: Separate package-info.java compilation to avoid spurious rebuilds

Posted by ke...@apache.org.
Separate package-info.java compilation to avoid spurious rebuilds


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/324a36d5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/324a36d5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/324a36d5

Branch: refs/heads/master
Commit: 324a36d53b1542199eb5fc6cfa1a78226bf9903f
Parents: 3fd3951
Author: Kenneth Knowles <kl...@google.com>
Authored: Thu Oct 27 11:54:14 2016 -0700
Committer: Kenneth Knowles <kl...@google.com>
Committed: Thu Oct 27 14:55:46 2016 -0700

----------------------------------------------------------------------
 pom.xml | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/324a36d5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 94d7b4b..01de58e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -831,6 +831,45 @@
             <!-- Another temp override, to be set to true in due course. -->
             <showDeprecation>false</showDeprecation>
           </configuration>
+          <executions>
+
+            <!--
+              Exclude package-info.java from main compilation to work around
+              https://jira.codehaus.org/browse/MCOMPILER-205
+            -->
+            <execution>
+              <id>default-compile</id>
+              <goals>
+                <goal>compile</goal>
+              </goals>
+              <phase>compile</phase>
+              <configuration>
+                <excludes>
+                  <exclude>**/package-info.java</exclude>
+                </excludes>
+              </configuration>
+            </execution>
+
+            <!-- 
+              Compile just package-info.java to avoid 
+              https://bugs.openjdk.java.net/browse/JDK-8022161
+            -->
+            <execution>
+              <id>compile-package-info</id>
+              <goals>
+                <goal>compile</goal>
+              </goals>
+              <phase>compile</phase>
+              <configuration>
+                <compilerArgs>
+                  <arg>-Xpkginfo:always</arg>
+                </compilerArgs>
+                <includes>
+                  <include>**/package-info.java</include>
+                </includes>
+              </configuration>
+            </execution>
+          </executions>
         </plugin>
 
         <plugin>