Skip to content

Commit

Permalink
Add back profile for shade
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangfu0 committed Apr 22, 2024
1 parent e1b0e53 commit 5992270
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 4 deletions.
15 changes: 14 additions & 1 deletion pinot-clients/pinot-jdbc-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<url>https://pinot.apache.org/</url>
<properties>
<pinot.root>${basedir}/../..</pinot.root>
<shade.phase.prop>package</shade.phase.prop>
</properties>
<build>
<resources>
Expand Down Expand Up @@ -82,4 +81,18 @@
<artifactId>jsr305</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>build-shaded-jar</id>
<activation>
<property>
<name>skipShade</name>
<value>!true</value>
</property>
</activation>
<properties>
<shade.phase.prop>package</shade.phase.prop>
</properties>
</profile>
</profiles>
</project>
11 changes: 10 additions & 1 deletion pinot-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<url>https://pinot.apache.org/</url>
<properties>
<pinot.root>${basedir}/..</pinot.root>
<shade.phase.prop>package</shade.phase.prop>
</properties>

<build>
Expand Down Expand Up @@ -414,5 +413,15 @@
</plugins>
</build>
</profile>

<profile>
<id>build-shaded-jar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<shade.phase.prop>package</shade.phase.prop>
</properties>
</profile>
</profiles>
</project>
11 changes: 11 additions & 0 deletions pinot-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,15 @@
</dependency>
<!-- Lucene dependencies end -->
</dependencies>
<profiles>
<profile>
<id>build-shaded-jar</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<shade.phase.prop>package</shade.phase.prop>
</properties>
</profile>
</profiles>
</project>
16 changes: 15 additions & 1 deletion pinot-plugins/pinot-file-system/pinot-s3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
<properties>
<pinot.root>${basedir}/../../..</pinot.root>
<s3mock.version>2.12.2</s3mock.version>
<shade.phase.prop>package</shade.phase.prop>
</properties>

<dependencies>
Expand Down Expand Up @@ -65,4 +64,19 @@
<scope>test</scope>
</dependency>
</dependencies>

<profiles>
<profile>
<id>build-shaded-jar</id>
<activation>
<property>
<name>skipShade</name>
<value>!true</value>
</property>
</activation>
<properties>
<shade.phase.prop>package</shade.phase.prop>
</properties>
</profile>
</profiles>
</project>
16 changes: 15 additions & 1 deletion pinot-plugins/pinot-stream-ingestion/pinot-kinesis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
<url>https://pinot.apache.org/</url>
<properties>
<pinot.root>${basedir}/../../..</pinot.root>
<shade.phase.prop>package</shade.phase.prop>
<reactive.version>1.0.2</reactive.version>
<localstack-utils.version>0.2.23</localstack-utils.version>
</properties>
Expand Down Expand Up @@ -133,4 +132,19 @@
</dependency>

</dependencies>

<profiles>
<profile>
<id>build-shaded-jar</id>
<activation>
<property>
<name>skipShade</name>
<value>!true</value>
</property>
</activation>
<properties>
<shade.phase.prop>package</shade.phase.prop>
</properties>
</profile>
</profiles>
</project>
11 changes: 11 additions & 0 deletions pinot-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,15 @@
<artifactId>reflections</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>build-shaded-jar</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<shade.phase.prop>package</shade.phase.prop>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 5992270

Please sign in to comment.