Skip to content

Commit

Permalink
[FLINK-7850][build] Add activation property to maven profiles
Browse files Browse the repository at this point in the history
This closes apache#5840.
  • Loading branch information
kai-chi authored and zentol committed May 29, 2018
1 parent 0861a78 commit 950fc03
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flink-connectors/flink-connector-kafka-0.11/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ under the License.
<profile>
<!-- Create SQL Client uber jars for releases -->
<id>release</id>
<activation>
<property>
<name>release</name>
</property>
</activation>
<build>
<plugins>
<plugin>
Expand Down
5 changes: 5 additions & 0 deletions flink-connectors/flink-hbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,11 @@ under the License.
<profiles>
<profile>
<id>cdh5.1.3</id>
<activation>
<property>
<name>cdh5.1.3</name>
</property>
</activation>
<properties>
<hbase.version>0.98.1-cdh5.1.3</hbase.version>
<hadoop.version>2.3.0-cdh5.1.3</hadoop.version>
Expand Down
5 changes: 5 additions & 0 deletions flink-connectors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ under the License.
-->
<profile>
<id>include-kinesis</id>
<activation>
<property>
<name>include-kinesis</name>
</property>
</activation>
<modules>
<module>flink-connector-kinesis</module>
</modules>
Expand Down
5 changes: 5 additions & 0 deletions flink-formats/flink-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ under the License.
<profile>
<!-- Create SQL Client uber jars for releases -->
<id>release</id>
<activation>
<property>
<name>release</name>
</property>
</activation>
<build>
<plugins>
<plugin>
Expand Down
6 changes: 6 additions & 0 deletions flink-libraries/flink-ml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@
<profile>
<id>windows</id>
<activation>
<property>
<name>windows</name>
</property>
<os>
<family>windows</family>
</os>
Expand All @@ -126,6 +129,9 @@
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>default</name>
</property>
</activation>
<properties>
<suffix.test>(?&lt;!(IT|Integration))(Test|Suite|Case)</suffix.test>
Expand Down
5 changes: 5 additions & 0 deletions flink-libraries/flink-python/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ under the License.
<profiles>
<profile>
<id>generate-config-docs</id>
<activation>
<property>
<name>generate-config-docs</name>
</property>
</activation>

<build>
<plugins>
Expand Down
5 changes: 5 additions & 0 deletions flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,11 @@ under the License.
<profile>
<!-- MapR build profile -->
<id>mapr</id>
<activation>
<property>
<name>mapr</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
Expand Down
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,11 @@ under the License.

<profile>
<id>vendor-repos</id>
<activation>
<property>
<name>vendor-repos</name>
</property>
</activation>
<!-- Add vendor maven repositories -->
<repositories>
<!-- Cloudera -->
Expand Down Expand Up @@ -826,6 +831,11 @@ under the License.
to be able to locate the MapR Hadoop / Zookeeper dependencies.
-->
<id>mapr</id>
<activation>
<property>
<name>mapr</name>
</property>
</activation>

<!--
use MapR Hadoop / Zookeeper dependencies appropriate for MapR 5.2.0;
Expand Down Expand Up @@ -866,6 +876,11 @@ under the License.
<profile>
<!-- used for SNAPSHOT and regular releases -->
<id>docs-and-source</id>
<activation>
<property>
<name>docs-and-source</name>
</property>
</activation>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -918,6 +933,11 @@ under the License.

<profile>
<id>release</id>
<activation>
<property>
<name>release</name>
</property>
</activation>
<properties>
<java.version>1.8</java.version>
</properties>
Expand Down
5 changes: 5 additions & 0 deletions tools/force-shading/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ under the License.
<profiles>
<profile>
<id>release</id>
<activation>
<property>
<name>release</name>
</property>
</activation>
<build>
<plugins>
<plugin>
Expand Down

0 comments on commit 950fc03

Please sign in to comment.