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

[1/2] incubator-beam git commit: [BEAM-905] Add shading config to examples archetype and enable it for Flink

Repository: incubator-beam
Updated Branches:
  refs/heads/master 5b31a3699 -> b44a7ac4a


[BEAM-905] Add shading config to examples archetype and enable it for Flink

This makes the Flink quickstart work out of the box.


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

Branch: refs/heads/master
Commit: 43fef2775145f67def3ab8a246ecca192a7d650b
Parents: 5b31a36
Author: Dan Halperin <dh...@google.com>
Authored: Wed Dec 7 20:06:57 2016 +0800
Committer: Dan Halperin <dh...@google.com>
Committed: Wed Dec 7 14:55:02 2016 -0800

----------------------------------------------------------------------
 .../main/resources/archetype-resources/pom.xml  | 40 ++++++++++++++++++++
 1 file changed, 40 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/43fef277/sdks/java/maven-archetypes/examples/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/sdks/java/maven-archetypes/examples/src/main/resources/archetype-resources/pom.xml b/sdks/java/maven-archetypes/examples/src/main/resources/archetype-resources/pom.xml
index df2e9f3..95d163c 100644
--- a/sdks/java/maven-archetypes/examples/src/main/resources/archetype-resources/pom.xml
+++ b/sdks/java/maven-archetypes/examples/src/main/resources/archetype-resources/pom.xml
@@ -85,6 +85,38 @@
             <cleanupDaemonThreads>false</cleanupDaemonThreads>
           </configuration>
         </plugin>
+
+        <!--
+          Configures `mvn package` to produce a bundled jar ("fat jar") for runners
+          that require this for job submission to a cluster.
+        -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-shade-plugin</artifactId>
+          <version>2.4.1</version>
+          <executions>
+            <execution>
+              <phase>package</phase>
+              <goals>
+                <goal>shade</goal>
+              </goals>
+              <configuration>
+                <finalName>${project.artifactId}-bundled-${project.version}</finalName>
+                <filters>
+                  <filter>
+                    <artifact>*:*</artifact>
+                    <excludes>
+                      <exclude>META-INF/LICENSE</exclude>
+                      <exclude>META-INF/*.SF</exclude>
+                      <exclude>META-INF/*.DSA</exclude>
+                      <exclude>META-INF/*.RSA</exclude>
+                    </excludes>
+                  </filter>
+                </filters>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -140,6 +172,14 @@
           <scope>runtime</scope>
         </dependency>
       </dependencies>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-shade-plugin</artifactId>
+          </plugin>
+        </plugins>
+      </build>
     </profile>
 
     <profile>


[2/2] incubator-beam git commit: Closes #1533

Posted by dh...@apache.org.
Closes #1533


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

Branch: refs/heads/master
Commit: b44a7ac4a2a0ac9fd7a8e38cc5eea5073c629085
Parents: 5b31a36 43fef27
Author: Dan Halperin <dh...@google.com>
Authored: Wed Dec 7 14:55:03 2016 -0800
Committer: Dan Halperin <dh...@google.com>
Committed: Wed Dec 7 14:55:03 2016 -0800

----------------------------------------------------------------------
 .../main/resources/archetype-resources/pom.xml  | 40 ++++++++++++++++++++
 1 file changed, 40 insertions(+)
----------------------------------------------------------------------