You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lc...@apache.org on 2018/01/03 00:41:46 UTC
[beam] branch master updated: Build unshaded JARs.
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 <wc...@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" <co...@beam.apache.org>'].