Skip to content

Commit

Permalink
Do not generate shaded jar for common modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn committed Jan 29, 2025
1 parent 2631a1d commit ebb3a55
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<extra.enforcer.rules.version>1.8.0</extra.enforcer.rules.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
<maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version>
<maven-shade-plugin.version>3.0.0</maven-shade-plugin.version>
<maven-shade-plugin.version>3.3.0</maven-shade-plugin.version>
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
<os-maven-plugin.version>1.7.1</os-maven-plugin.version>
<jacoco.version>0.8.8</jacoco.version>
Expand Down
1 change: 1 addition & 0 deletions v2/bigtable-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

<properties>
<bigtable.version>2.11.0</bigtable.version>
<skipShade>true</skipShade>
</properties>

<dependencies>
Expand Down
3 changes: 3 additions & 0 deletions v2/cdc-parent/cdc-agg/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>cdc-agg</artifactId>
<properties>
<skipShade>true</skipShade>
</properties>
<inceptionYear>2019</inceptionYear>
<licenses>
<license>
Expand Down
3 changes: 3 additions & 0 deletions v2/cdc-parent/cdc-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>cdc-common</artifactId>
<properties>
<skipShade>true</skipShade>
</properties>
<packaging>jar</packaging>
<inceptionYear>2019</inceptionYear>
<licenses>
Expand Down
1 change: 1 addition & 0 deletions v2/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<commons-text.version>1.10.0</commons-text.version>
<nashorn.version>15.4</nashorn.version>
<truth-proto-extension.version>1.0.1</truth-proto-extension.version>
<skipShade>true</skipShade>
</properties>

<dependencies>
Expand Down
1 change: 1 addition & 0 deletions v2/datastream-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<artifactId>datastream-common</artifactId>

<properties>
<skipShade>true</skipShade>
</properties>

<dependencies>
Expand Down
3 changes: 3 additions & 0 deletions v2/jdbc-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
</parent>

<artifactId>jdbc-common</artifactId>
<properties>
<skipShade>true</skipShade>
</properties>

<dependencies>
<dependency>
Expand Down
3 changes: 3 additions & 0 deletions v2/kafka-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>kafka-common</artifactId>
<properties>
<skipShade>true</skipShade>
</properties>
<modelVersion>4.0.0</modelVersion>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion v2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -490,13 +490,13 @@
<goal>shade</goal>
</goals>
<configuration>
<skip>${skipShade}</skip>
<extraDirectories>
<paths>
<path>${project.build.directory}/extra_libs</path>
</paths>
</extraDirectories>
<createDependencyReducedPom>false</createDependencyReducedPom>
<shadeTestJar>true</shadeTestJar>
<artifactSet>
<excludes>
<exclude>org.conscrypt:conscrypt-openjdk-uber</exclude>
Expand Down
3 changes: 3 additions & 0 deletions v2/spanner-custom-shard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
</parent>

<artifactId>spanner-custom-shard</artifactId>
<properties>
<skipShade>true</skipShade>
</properties>
<dependencies>
<dependency>
<groupId>com.google.cloud.teleport.v2</groupId>
Expand Down
3 changes: 3 additions & 0 deletions v2/spanner-migrations-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
</parent>

<artifactId>spanner-migrations-sdk</artifactId>
<properties>
<skipShade>true</skipShade>
</properties>
<build>
<plugins>
<plugin>
Expand Down

0 comments on commit ebb3a55

Please sign in to comment.