This is an automated email from the ASF dual-hosted git repository.
critas pushed a commit to branch rc/2.0.3
in repository https://gitbox.apache.org/repos/asf/iotdb-extras.git
The following commit(s) were added to refs/heads/rc/2.0.3 by this push:
new d6c4b70 Bump Version to 2.0.3-SNAPSHOT add more profile
d6c4b70 is described below
commit d6c4b70094a1e3fbfdb6507560ca2bf865f021c0
Author: CritasWang <[email protected]>
AuthorDate: Thu Jun 19 18:27:31 2025 +0800
Bump Version to 2.0.3-SNAPSHOT
add more profile
---
connectors/flink-iotdb-connector/pom.xml | 2 +-
connectors/flink-sql-iotdb-connector/pom.xml | 2 +-
connectors/flink-tsfile-connector/pom.xml | 4 +-
connectors/grafana-connector/pom.xml | 2 +-
connectors/grafana-plugin/pom.xml | 2 +-
connectors/hadoop/pom.xml | 2 +-
connectors/hive-connector/pom.xml | 4 +-
connectors/pom.xml | 75 +++++--
connectors/spark-iotdb-connector/pom.xml | 2 +-
.../spark-iotdb-connector/scala_2.11/pom.xml | 2 +-
.../spark-iotdb-connector/scala_2.12/pom.xml | 2 +-
.../iotdb-table-connector-3.3/pom.xml | 2 +-
.../iotdb-table-connector-3.4/pom.xml | 2 +-
.../iotdb-table-connector-3.5/pom.xml | 2 +-
connectors/spark-iotdb-table-connector/pom.xml | 2 +-
.../spark-iotdb-table-common/pom.xml | 2 +-
connectors/spark-tsfile/pom.xml | 4 +-
connectors/zeppelin-interpreter/pom.xml | 2 +-
distributions/pom.xml | 216 +++++++++------------
examples/flink-sql/pom.xml | 15 +-
examples/flink/pom.xml | 17 +-
examples/hadoop/pom.xml | 15 +-
examples/iotdb-spring-boot-start/pom.xml | 9 +-
examples/kafka/pom.xml | 13 +-
examples/mybatis-generator/pom.xml | 11 +-
examples/mybatisplus-generator/pom.xml | 9 +-
examples/pom.xml | 35 +++-
examples/pulsar/pom.xml | 13 +-
examples/rabbitmq/pom.xml | 13 +-
examples/rocketmq/pom.xml | 13 +-
examples/spark-table/pom.xml | 11 +-
iotdb-collector/collector-core/pom.xml | 5 +-
iotdb-collector/collector-distribution/pom.xml | 5 +-
iotdb-collector/collector-openapi/pom.xml | 3 +-
iotdb-collector/pom.xml | 2 +-
iotdb-spring-boot-starter/pom.xml | 4 +-
mybatis-generator/pom.xml | 4 +-
pom.xml | 14 +-
38 files changed, 358 insertions(+), 184 deletions(-)
diff --git a/connectors/flink-iotdb-connector/pom.xml
b/connectors/flink-iotdb-connector/pom.xml
index a8cea83..1fb9fb0 100644
--- a/connectors/flink-iotdb-connector/pom.xml
+++ b/connectors/flink-iotdb-connector/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>connectors</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>flink-iotdb-connector</artifactId>
<name>IoTDB: Connector: Apache Flink</name>
diff --git a/connectors/flink-sql-iotdb-connector/pom.xml
b/connectors/flink-sql-iotdb-connector/pom.xml
index fcaaca0..476423e 100644
--- a/connectors/flink-sql-iotdb-connector/pom.xml
+++ b/connectors/flink-sql-iotdb-connector/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>connectors</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>flink-sql-iotdb-connector</artifactId>
<name>IoTDB: Connector: Apache Flink SQL</name>
diff --git a/connectors/flink-tsfile-connector/pom.xml
b/connectors/flink-tsfile-connector/pom.xml
index c03207d..15b02d7 100644
--- a/connectors/flink-tsfile-connector/pom.xml
+++ b/connectors/flink-tsfile-connector/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>connectors</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>flink-tsfile-connector</artifactId>
<name>IoTDB: Connector: Apache Flink TSFile</name>
@@ -54,7 +54,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>hadoop-tsfile</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
<exclusions>
<!--
We need the flink-shaded-zookeeper-3 dependency for some
shaded classes.
diff --git a/connectors/grafana-connector/pom.xml
b/connectors/grafana-connector/pom.xml
index 12fe645..4b46210 100644
--- a/connectors/grafana-connector/pom.xml
+++ b/connectors/grafana-connector/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>connectors</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>iotdb-grafana-connector</artifactId>
<packaging>war</packaging>
diff --git a/connectors/grafana-plugin/pom.xml
b/connectors/grafana-plugin/pom.xml
index 06cf282..88fcad9 100644
--- a/connectors/grafana-plugin/pom.xml
+++ b/connectors/grafana-plugin/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>connectors</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>iotdb-grafana-plugin</artifactId>
<packaging>pom</packaging>
diff --git a/connectors/hadoop/pom.xml b/connectors/hadoop/pom.xml
index c89860e..ef0a3f6 100644
--- a/connectors/hadoop/pom.xml
+++ b/connectors/hadoop/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>connectors</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>hadoop-tsfile</artifactId>
<name>IoTDB: Connector: Apache Hadoop TSFile</name>
diff --git a/connectors/hive-connector/pom.xml
b/connectors/hive-connector/pom.xml
index ef06a4d..758ef9e 100644
--- a/connectors/hive-connector/pom.xml
+++ b/connectors/hive-connector/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>connectors</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>hive-connector</artifactId>
<name>IoTDB: Connector: Apache Hive</name>
@@ -36,7 +36,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>hadoop-tsfile</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
diff --git a/connectors/pom.xml b/connectors/pom.xml
index 8aaca47..6339fde 100644
--- a/connectors/pom.xml
+++ b/connectors/pom.xml
@@ -24,23 +24,11 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-extras-parent</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>connectors</artifactId>
<packaging>pom</packaging>
<name>IoTDB Extras: Connectors</name>
- <modules>
- <module>flink-iotdb-connector</module>
- <module>flink-sql-iotdb-connector</module>
- <module>flink-tsfile-connector</module>
- <module>grafana-connector</module>
- <module>hadoop</module>
- <module>hive-connector</module>
- <module>spark-iotdb-connector</module>
- <module>spark-iotdb-table-connector</module>
- <module>spark-tsfile</module>
- <module>zeppelin-interpreter</module>
- </modules>
<build>
<plugins>
<plugin>
@@ -57,11 +45,72 @@
</plugins>
</build>
<profiles>
+ <profile>
+ <id>with-all-connectors</id>
+ <modules>
+ <module>flink-iotdb-connector</module>
+ <module>flink-sql-iotdb-connector</module>
+ <module>flink-tsfile-connector</module>
+ <module>hadoop</module>
+ <module>hive-connector</module>
+ <module>spark-iotdb-connector</module>
+ <module>spark-iotdb-table-connector</module>
+ <module>spark-tsfile</module>
+ <module>zeppelin-interpreter</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>with-grafana</id>
+ <modules>
+ <module>grafana-plugin</module>
+ <module>grafana-connector</module>
+ </modules>
+ </profile>
<profile>
<id>with-grafana-plugin</id>
<modules>
<module>grafana-plugin</module>
</modules>
</profile>
+ <profile>
+ <id>with-grafana-connector</id>
+ <modules>
+ <module>grafana-connector</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>with-flink</id>
+ <modules>
+ <module>flink-iotdb-connector</module>
+ <module>flink-sql-iotdb-connector</module>
+ <module>flink-tsfile-connector</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>with-hadoop</id>
+ <modules>
+ <module>hadoop</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>with-hive</id>
+ <modules>
+ <module>hive-connector</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>with-spark</id>
+ <modules>
+ <module>spark-iotdb-connector</module>
+ <module>spark-iotdb-table-connector</module>
+ <module>spark-tsfile</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>with-zeppelin</id>
+ <modules>
+ <module>zeppelin-interpreter</module>
+ </modules>
+ </profile>
</profiles>
</project>
diff --git a/connectors/spark-iotdb-connector/pom.xml
b/connectors/spark-iotdb-connector/pom.xml
index 4859e8a..30cda79 100644
--- a/connectors/spark-iotdb-connector/pom.xml
+++ b/connectors/spark-iotdb-connector/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>connectors</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>spark-iotdb-connector</artifactId>
<!-- NOTE: This module actually only contains the sources and the common
settings
diff --git a/connectors/spark-iotdb-connector/scala_2.11/pom.xml
b/connectors/spark-iotdb-connector/scala_2.11/pom.xml
index 0750ef3..3ad08a8 100644
--- a/connectors/spark-iotdb-connector/scala_2.11/pom.xml
+++ b/connectors/spark-iotdb-connector/scala_2.11/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-connector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>spark-iotdb-connector_2.11</artifactId>
<name>IoTDB: Connector: Apache Spark (Scala 2.11)</name>
diff --git a/connectors/spark-iotdb-connector/scala_2.12/pom.xml
b/connectors/spark-iotdb-connector/scala_2.12/pom.xml
index 5431cb1..f548ba2 100644
--- a/connectors/spark-iotdb-connector/scala_2.12/pom.xml
+++ b/connectors/spark-iotdb-connector/scala_2.12/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-connector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>spark-iotdb-connector_2.12</artifactId>
<name>IoTDB: Connector: Apache Spark (Scala 2.12)</name>
diff --git
a/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.3/pom.xml
b/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.3/pom.xml
index 1d327e9..931f812 100644
--- a/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.3/pom.xml
+++ b/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.3/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-table-connector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>spark-iotdb-table-connector-3.3</artifactId>
<name>IoTDB: Table Connector: Apache Spark3.3 (Scala 2.12)</name>
diff --git
a/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.4/pom.xml
b/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.4/pom.xml
index eed3b4a..7458eee 100644
--- a/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.4/pom.xml
+++ b/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.4/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-table-connector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>spark-iotdb-table-connector-3.4</artifactId>
<name>IoTDB: Table Connector: Apache Spark3.4 (Scala 2.12)</name>
diff --git
a/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.5/pom.xml
b/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.5/pom.xml
index 033e385..30da6f7 100644
--- a/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.5/pom.xml
+++ b/connectors/spark-iotdb-table-connector/iotdb-table-connector-3.5/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-table-connector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>spark-iotdb-table-connector-3.5</artifactId>
<name>IoTDB: Table Connector: Apache Spark3.5 (Scala 2.12)</name>
diff --git a/connectors/spark-iotdb-table-connector/pom.xml
b/connectors/spark-iotdb-table-connector/pom.xml
index 4fc8daf..f183dfc 100644
--- a/connectors/spark-iotdb-table-connector/pom.xml
+++ b/connectors/spark-iotdb-table-connector/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>connectors</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>spark-iotdb-table-connector</artifactId>
<!-- NOTE: This module actually only contains the sources and the common
settings
diff --git
a/connectors/spark-iotdb-table-connector/spark-iotdb-table-common/pom.xml
b/connectors/spark-iotdb-table-connector/spark-iotdb-table-common/pom.xml
index 90f2571..b7d7e6a 100644
--- a/connectors/spark-iotdb-table-connector/spark-iotdb-table-common/pom.xml
+++ b/connectors/spark-iotdb-table-connector/spark-iotdb-table-common/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-table-connector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>spark-iotdb-table-common</artifactId>
<name>IoTDB: Table Connector: Apache Spark Common</name>
diff --git a/connectors/spark-tsfile/pom.xml b/connectors/spark-tsfile/pom.xml
index ad0a438..88a2626 100644
--- a/connectors/spark-tsfile/pom.xml
+++ b/connectors/spark-tsfile/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>connectors</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>spark-tsfile</artifactId>
<name>IoTDB: Connector: Apache Spark TSFile</name>
@@ -42,7 +42,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>hadoop-tsfile</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/connectors/zeppelin-interpreter/pom.xml
b/connectors/zeppelin-interpreter/pom.xml
index 5f62866..0db852c 100644
--- a/connectors/zeppelin-interpreter/pom.xml
+++ b/connectors/zeppelin-interpreter/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>connectors</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>zeppelin-iotdb</artifactId>
<name>IoTDB: Connector: Apache Zeppelin</name>
diff --git a/distributions/pom.xml b/distributions/pom.xml
index 6507647..4283960 100644
--- a/distributions/pom.xml
+++ b/distributions/pom.xml
@@ -24,133 +24,24 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-extras-parent</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>iotdb-extras-distributions</artifactId>
<packaging>pom</packaging>
<name>IoTDB Extras: Distributions</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-server</artifactId>
- <version>${iotdb.version}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-cli</artifactId>
- <version>${iotdb.version}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-confignode</artifactId>
- <version>${iotdb.version}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>library-udf</artifactId>
- <version>${iotdb.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>spark-iotdb-connector_2.11</artifactId>
- <version>2.0.3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>spark-iotdb-connector_2.12</artifactId>
- <version>2.0.3</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <!-- Package binaries-->
- <execution>
- <id>all-bin</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <descriptors>
-
<descriptor>src/assembly/spark-connector.xml</descriptor>
-
<descriptor>src/assembly/flink-sql-connector.xml</descriptor>
-
<descriptor>src/assembly/mybatis-generator-plugin.xml</descriptor>
-
<descriptor>src/assembly/iotdb-spring-boot-starter.xml</descriptor>
- </descriptors>
-
<finalName>apache-iotdb-${project.version}</finalName>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--
- Create SHA512 checksum files for the release artifacts.
- -->
- <plugin>
- <groupId>net.nicoulaj.maven.plugins</groupId>
- <artifactId>checksum-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>sign-source-release</id>
- <goals>
- <goal>files</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <algorithms>
- <algorithm>SHA-512</algorithm>
- </algorithms>
- <fileSets>
- <!--bin-all-->
- <fileSet>
-
<directory>${project.build.directory}</directory>
- <includes>
-
<include>apache-iotdb-${project.version}-spark-connector-bin.zip</include>
-
<include>apache-iotdb-${project.version}-flink-sql-connector-bin.zip</include>
- </includes>
- </fileSet>
- </fileSets>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-ban-duplicate-classes</id>
- <configuration combine.children="append">
- <rules>
- <banDuplicateClasses>
- <ignoreClasses>
- <!-- We've got dependencies to both
the scala 2.11 and 2.12 versions -->
-
<ignoreClass>org.apache.iotdb.spark.db.*</ignoreClass>
- </ignoreClasses>
- </banDuplicateClasses>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
<profiles>
<profile>
- <id>with-grafana-plugin</id>
+ <id>with-spark</id>
<dependencies>
<dependency>
<groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-grafana-plugin</artifactId>
+ <artifactId>spark-iotdb-connector_2.11</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.iotdb</groupId>
+ <artifactId>spark-iotdb-connector_2.12</artifactId>
<version>${project.version}</version>
- <type>pom</type>
</dependency>
</dependencies>
<build>
@@ -167,9 +58,87 @@
</goals>
<phase>package</phase>
<configuration>
- <descriptors combine.children="append">
-
<descriptor>src/assembly/grafana-plugin.xml</descriptor>
+ <descriptors>
+
<descriptor>src/assembly/spark-connector.xml</descriptor>
+ </descriptors>
+
<finalName>apache-iotdb-${project.version}</finalName>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!--
+ Create SHA512 checksum files for the release artifacts.
+ -->
+ <plugin>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sign-source-release</id>
+ <goals>
+ <goal>files</goal>
+ </goals>
+ <phase>package</phase>
+ <configuration>
+ <algorithms>
+ <algorithm>SHA-512</algorithm>
+ </algorithms>
+ <fileSets>
+ <!--bin-all-->
+ <fileSet>
+
<directory>${project.build.directory}</directory>
+ <includes>
+
<include>apache-iotdb-${project.version}-spark-connector-bin.zip</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-ban-duplicate-classes</id>
+ <configuration combine.children="append">
+ <rules>
+ <banDuplicateClasses>
+ <ignoreClasses>
+ <!-- We've got dependencies to
both the scala 2.11 and 2.12 versions -->
+
<ignoreClass>org.apache.iotdb.spark.db.*</ignoreClass>
+ </ignoreClasses>
+ </banDuplicateClasses>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>with-flink</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <!-- Package binaries-->
+ <execution>
+ <id>all-bin</id>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <phase>package</phase>
+ <configuration>
+ <descriptors>
+
<descriptor>src/assembly/flink-sql-connector.xml</descriptor>
</descriptors>
+
<finalName>apache-iotdb-${project.version}</finalName>
</configuration>
</execution>
</executions>
@@ -188,10 +157,15 @@
</goals>
<phase>package</phase>
<configuration>
+ <algorithms>
+ <algorithm>SHA-512</algorithm>
+ </algorithms>
<fileSets>
+ <!--bin-all-->
<fileSet>
- <includes
combine.children="append">
-
<include>apache-iotdb-${project.version}-grafana-plugin-bin.zip</include>
+
<directory>${project.build.directory}</directory>
+ <includes>
+
<include>apache-iotdb-${project.version}-flink-sql-connector-bin.zip</include>
</includes>
</fileSet>
</fileSets>
diff --git a/examples/flink-sql/pom.xml b/examples/flink-sql/pom.xml
index 122f340..8279688 100644
--- a/examples/flink-sql/pom.xml
+++ b/examples/flink-sql/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>examples</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>flink-sql-example</artifactId>
<name>IoTDB: Example: Apache Flink SQL</name>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>flink-sql-iotdb-connector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
@@ -95,4 +95,15 @@
<scope>test</scope>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/examples/flink/pom.xml b/examples/flink/pom.xml
index 426f3a7..1c26c2f 100644
--- a/examples/flink/pom.xml
+++ b/examples/flink/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>examples</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>flink-example</artifactId>
<name>IoTDB: Example: Apache Flink</name>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>flink-iotdb-connector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
<exclusions>
<!-- org.apache.iotdb:hadoop-tsfile uses hadoop-common:2.7.3,
which uses commons-compress:1.4.1-->
<!-- flink-java uses commons-compress:1.18-->
@@ -50,7 +50,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>flink-tsfile-connector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
@@ -58,4 +58,15 @@
<version>${flink.version}</version>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/examples/hadoop/pom.xml b/examples/hadoop/pom.xml
index 268558d..2cebfcb 100644
--- a/examples/hadoop/pom.xml
+++ b/examples/hadoop/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>examples</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>hadoop-example</artifactId>
<name>IoTDB: Example: Apache Hadoop</name>
@@ -32,7 +32,18 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>hadoop-tsfile</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/examples/iotdb-spring-boot-start/pom.xml
b/examples/iotdb-spring-boot-start/pom.xml
index 5820c19..8178f2d 100644
--- a/examples/iotdb-spring-boot-start/pom.xml
+++ b/examples/iotdb-spring-boot-start/pom.xml
@@ -53,7 +53,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-spring-boot-starter</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
@@ -89,6 +89,13 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/examples/kafka/pom.xml b/examples/kafka/pom.xml
index 37c5e2b..e871b26 100644
--- a/examples/kafka/pom.xml
+++ b/examples/kafka/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>examples</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>kafka-example</artifactId>
<name>IoTDB: Example: Apache Kafka</name>
@@ -45,4 +45,15 @@
<version>2.8.2</version>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/examples/mybatis-generator/pom.xml
b/examples/mybatis-generator/pom.xml
index 0270f45..3905611 100644
--- a/examples/mybatis-generator/pom.xml
+++ b/examples/mybatis-generator/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-extras-parent</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>mybatis-generator-example</artifactId>
@@ -77,7 +77,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>mybatis-generator-plugin</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</dependency>
</dependencies>
<configuration>
@@ -96,6 +96,13 @@
</usedDependencies>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/examples/mybatisplus-generator/pom.xml
b/examples/mybatisplus-generator/pom.xml
index c6c3d02..b3775f9 100644
--- a/examples/mybatisplus-generator/pom.xml
+++ b/examples/mybatisplus-generator/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-extras-parent</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>org.apache.iotdb</groupId>
@@ -107,6 +107,13 @@
</usedDependencies>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/examples/pom.xml b/examples/pom.xml
index ddbf0bd..438a970 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-extras-parent</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>examples</artifactId>
<packaging>pom</packaging>
@@ -48,6 +48,39 @@
<module>mybatisplus-generator</module>
</modules>
</profile>
+ <profile>
+ <id>with-all-connectors</id>
+ <modules>
+ <module>flink</module>
+ <module>flink-sql</module>
+ <module>hadoop</module>
+ <module>kafka</module>
+ <module>pulsar</module>
+ <module>rabbitmq</module>
+ <module>rocketmq</module>
+ <module>spark-table</module>
+ <module>mybatis-generator</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>with-flink</id>
+ <modules>
+ <module>flink</module>
+ <module>flink-sql</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>with-hadoop</id>
+ <modules>
+ <module>hadoop</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>with-spark</id>
+ <modules>
+ <module>spark-table</module>
+ </modules>
+ </profile>
</profiles>
<build>
<pluginManagement>
diff --git a/examples/pulsar/pom.xml b/examples/pulsar/pom.xml
index 80bfe79..2e38f6f 100644
--- a/examples/pulsar/pom.xml
+++ b/examples/pulsar/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>examples</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>pulsar-example</artifactId>
<name>IoTDB: Example: Apache Pulsar</name>
@@ -52,4 +52,15 @@
<version>${iotdb.version}</version>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/examples/rabbitmq/pom.xml b/examples/rabbitmq/pom.xml
index 276805f..5e06cac 100644
--- a/examples/rabbitmq/pom.xml
+++ b/examples/rabbitmq/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>examples</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>rabbitmq-example</artifactId>
<name>IoTDB: Example: RabbitMQ</name>
@@ -44,4 +44,15 @@
<artifactId>amqp-client</artifactId>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/examples/rocketmq/pom.xml b/examples/rocketmq/pom.xml
index fc793ca..ef232cb 100644
--- a/examples/rocketmq/pom.xml
+++ b/examples/rocketmq/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>examples</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>rocketmq-example</artifactId>
<name>IoTDB: Example: Apache RocketMQ</name>
@@ -45,4 +45,15 @@
</exclusions>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/examples/spark-table/pom.xml b/examples/spark-table/pom.xml
index edac7e8..e83344c 100644
--- a/examples/spark-table/pom.xml
+++ b/examples/spark-table/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>examples</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>table-spark-connector-example</artifactId>
<name>IoTDB: Example: IoTDB Table Spark Connector</name>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-table-connector-3.5</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
@@ -67,6 +67,13 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/iotdb-collector/collector-core/pom.xml
b/iotdb-collector/collector-core/pom.xml
index 75f80c5..188cf80 100644
--- a/iotdb-collector/collector-core/pom.xml
+++ b/iotdb-collector/collector-core/pom.xml
@@ -24,15 +24,16 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-collector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>collector-core</artifactId>
<name>IoTDB: Collector: Core</name>
+ <version>2.0.3-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>collector-openapi</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.eclipse.jetty</groupId>
diff --git a/iotdb-collector/collector-distribution/pom.xml
b/iotdb-collector/collector-distribution/pom.xml
index a14c7ef..edcd8a1 100644
--- a/iotdb-collector/collector-distribution/pom.xml
+++ b/iotdb-collector/collector-distribution/pom.xml
@@ -24,16 +24,17 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-collector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>collector-distribution</artifactId>
<packaging>pom</packaging>
<name>IoTDB: Collector: Distribution</name>
+ <version>2.0.3-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>collector-core</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
<type>zip</type>
</dependency>
</dependencies>
diff --git a/iotdb-collector/collector-openapi/pom.xml
b/iotdb-collector/collector-openapi/pom.xml
index 79ad5a4..adfb27a 100644
--- a/iotdb-collector/collector-openapi/pom.xml
+++ b/iotdb-collector/collector-openapi/pom.xml
@@ -24,10 +24,11 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-collector</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>collector-openapi</artifactId>
<name>IoTDB: Collector: OpenAPI</name>
+ <version>2.0.3-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
diff --git a/iotdb-collector/pom.xml b/iotdb-collector/pom.xml
index 62b0454..fd7e68e 100644
--- a/iotdb-collector/pom.xml
+++ b/iotdb-collector/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-extras-parent</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>iotdb-collector</artifactId>
<packaging>pom</packaging>
diff --git a/iotdb-spring-boot-starter/pom.xml
b/iotdb-spring-boot-starter/pom.xml
index 4e11ac6..173732c 100644
--- a/iotdb-spring-boot-starter/pom.xml
+++ b/iotdb-spring-boot-starter/pom.xml
@@ -24,12 +24,12 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-extras-parent</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-spring-boot-starter</artifactId>
<name>IoTDB Extras: SpringBoot Starter</name>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
diff --git a/mybatis-generator/pom.xml b/mybatis-generator/pom.xml
index b1453bd..34663d0 100644
--- a/mybatis-generator/pom.xml
+++ b/mybatis-generator/pom.xml
@@ -4,12 +4,12 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-extras-parent</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
</parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>mybatis-generator-plugin</artifactId>
<name>IoTDB Extras: Mybatis Generator Plugin</name>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
<packaging>jar</packaging>
<licenses>
<license>
diff --git a/pom.xml b/pom.xml
index f14942a..6cd6fc5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,14 +28,13 @@
</parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-extras-parent</artifactId>
- <version>2.0.3</version>
+ <version>2.0.3-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache IoTDB Project Extras Parent POM</name>
<description>This is the secondary repository that builds the examples and
integration modules for IoTDB.</description>
<modules>
<module>connectors</module>
<module>distributions</module>
- <module>examples</module>
<module>iotdb-collector</module>
<module>mybatis-generator</module>
</modules>
@@ -1652,6 +1651,11 @@
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>${openapi.generator.version}</version>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>3.4.0</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -2073,6 +2077,12 @@
<module>iotdb-spring-boot-starter</module>
</modules>
</profile>
+ <profile>
+ <id>with-examples</id>
+ <modules>
+ <module>examples</module>
+ </modules>
+ </profile>
<!-- Make sure the source assembly has the right name -->
<profile>
<id>apache-release</id>