[MINOR] Add maven profile to support skipping shade sources jars (#2358)
Co-authored-by: Xi Chen <chenxi07@qiyi.com>
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
<goal>shade</goal>
|
<goal>shade</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<createSourcesJar>true</createSourcesJar>
|
<createSourcesJar>${shadeSources}</createSourcesJar>
|
||||||
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
||||||
</dependencyReducedPomLocation>
|
</dependencyReducedPomLocation>
|
||||||
<transformers>
|
<transformers>
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
<goal>shade</goal>
|
<goal>shade</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<createSourcesJar>true</createSourcesJar>
|
<createSourcesJar>${shadeSources}</createSourcesJar>
|
||||||
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
||||||
</dependencyReducedPomLocation>
|
</dependencyReducedPomLocation>
|
||||||
<transformers>
|
<transformers>
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
<goal>shade</goal>
|
<goal>shade</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<createSourcesJar>true</createSourcesJar>
|
<createSourcesJar>${shadeSources}</createSourcesJar>
|
||||||
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
||||||
</dependencyReducedPomLocation>
|
</dependencyReducedPomLocation>
|
||||||
<transformers>
|
<transformers>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
<goal>shade</goal>
|
<goal>shade</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<createSourcesJar>true</createSourcesJar>
|
<createSourcesJar>${shadeSources}</createSourcesJar>
|
||||||
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
||||||
</dependencyReducedPomLocation>
|
</dependencyReducedPomLocation>
|
||||||
<transformers>
|
<transformers>
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
<goal>shade</goal>
|
<goal>shade</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<createSourcesJar>true</createSourcesJar>
|
<createSourcesJar>${shadeSources}</createSourcesJar>
|
||||||
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
||||||
</dependencyReducedPomLocation>
|
</dependencyReducedPomLocation>
|
||||||
<transformers>
|
<transformers>
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
<goal>shade</goal>
|
<goal>shade</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<createSourcesJar>true</createSourcesJar>
|
<createSourcesJar>${shadeSources}</createSourcesJar>
|
||||||
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
||||||
</dependencyReducedPomLocation>
|
</dependencyReducedPomLocation>
|
||||||
<transformers>
|
<transformers>
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
<goal>shade</goal>
|
<goal>shade</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<createSourcesJar>true</createSourcesJar>
|
<createSourcesJar>${shadeSources}</createSourcesJar>
|
||||||
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
||||||
</dependencyReducedPomLocation>
|
</dependencyReducedPomLocation>
|
||||||
<transformers>
|
<transformers>
|
||||||
|
|||||||
13
pom.xml
13
pom.xml
@@ -139,6 +139,7 @@
|
|||||||
<jacoco.version>0.8.5</jacoco.version>
|
<jacoco.version>0.8.5</jacoco.version>
|
||||||
<presto.bundle.bootstrap.scope>compile</presto.bundle.bootstrap.scope>
|
<presto.bundle.bootstrap.scope>compile</presto.bundle.bootstrap.scope>
|
||||||
<presto.bundle.bootstrap.shade.prefix>org.apache.hudi.</presto.bundle.bootstrap.shade.prefix>
|
<presto.bundle.bootstrap.shade.prefix>org.apache.hudi.</presto.bundle.bootstrap.shade.prefix>
|
||||||
|
<shadeSources>true</shadeSources>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
@@ -1367,6 +1368,18 @@
|
|||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<id>skipShadeSources</id>
|
||||||
|
<properties>
|
||||||
|
<shadeSources>false</shadeSources>
|
||||||
|
</properties>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>skipShadeSources</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user