beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lc...@apache.org
Subject [beam] branch master updated: Build unshaded JARs.
Date Wed, 03 Jan 2018 00:41:46 GMT
This is an automated email from the ASF dual-hosted git repository.

lcwik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new b3fd585  Build unshaded JARs.
b3fd585 is described below

commit b3fd5859165c229940ccc1bfbe17dc660ab5ff89
Author: Bill Neubauer <wcn@google.com>
AuthorDate: Mon Jan 1 23:26:08 2018 -0800

    Build unshaded JARs.
    
    This helps the Cloud Dataflow build by having unshaded JARs to
    complement the shaded JARs that are produced. The unshaded JARs are
    distinguished by the '-unshaded' prefix; this does not alter the
    behavior of the overall build.
---
 runners/google-cloud-dataflow-java/pom.xml             | 17 +++++++++++++++++
 .../java/extensions/google-cloud-platform-core/pom.xml | 18 ++++++++++++++++++
 sdks/java/harness/pom.xml                              | 17 +++++++++++++++++
 sdks/java/io/google-cloud-platform/pom.xml             | 17 +++++++++++++++++
 4 files changed, 69 insertions(+)

diff --git a/runners/google-cloud-dataflow-java/pom.xml b/runners/google-cloud-dataflow-java/pom.xml
index e70f89f..ecbd065 100644
--- a/runners/google-cloud-dataflow-java/pom.xml
+++ b/runners/google-cloud-dataflow-java/pom.xml
@@ -75,6 +75,23 @@
                 </execution>
               </executions>
             </plugin>
+            <!-- builds unshaded JARs used by Cloud Dataflow -->
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-jar-plugin</artifactId>
+              <executions>
+                <execution>
+                  <id>build-unshaded-jar</id>
+                  <phase>package</phase>
+                  <goals>
+                    <goal>jar</goal>
+                  </goals>
+                  <configuration>
+                    <classifier>unshaded</classifier>
+                  </configuration>
+                </execution>
+              </executions>
+            </plugin>
           </plugins>
         </pluginManagement>
       </build>
diff --git a/sdks/java/extensions/google-cloud-platform-core/pom.xml b/sdks/java/extensions/google-cloud-platform-core/pom.xml
index 8599a8e..c6bae2d 100644
--- a/sdks/java/extensions/google-cloud-platform-core/pom.xml
+++ b/sdks/java/extensions/google-cloud-platform-core/pom.xml
@@ -53,6 +53,24 @@
         <groupId>org.jacoco</groupId>
         <artifactId>jacoco-maven-plugin</artifactId>
       </plugin>
+
+      <!-- builds unshaded JARs used by Cloud Dataflow -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>build-unshaded-jar</id>
+            <phase>package</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+            <configuration>
+              <classifier>unshaded</classifier>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 
diff --git a/sdks/java/harness/pom.xml b/sdks/java/harness/pom.xml
index 3707730..9128e98 100644
--- a/sdks/java/harness/pom.xml
+++ b/sdks/java/harness/pom.xml
@@ -116,6 +116,23 @@
             </execution>
           </executions>
         </plugin>
+        <!-- builds unshaded JARs used by Cloud Dataflow -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>build-unshaded-jar</id>
+              <phase>package</phase>
+              <goals>
+                <goal>jar</goal>
+              </goals>
+              <configuration>
+                <classifier>unshaded</classifier>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
       </plugins>
     </pluginManagement>
 
diff --git a/sdks/java/io/google-cloud-platform/pom.xml b/sdks/java/io/google-cloud-platform/pom.xml
index 181df7a..14da440 100644
--- a/sdks/java/io/google-cloud-platform/pom.xml
+++ b/sdks/java/io/google-cloud-platform/pom.xml
@@ -44,6 +44,23 @@
             </execution>
           </executions>
         </plugin>
+        <!-- builds unshaded JARs used by Cloud Dataflow -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>build-unshaded-jar</id>
+              <phase>package</phase>
+              <goals>
+                <goal>jar</goal>
+              </goals>
+              <configuration>
+                <classifier>unshaded</classifier>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>

-- 
To stop receiving notification emails like this one, please contact
['"commits@beam.apache.org" <commits@beam.apache.org>'].

Mime
View raw message