You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2024/09/05 12:23:29 UTC
(iotdb) branch ty/ChangeVersion created (now 7e9929be7cd)
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a change to branch ty/ChangeVersion
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at 7e9929be7cd delete useless fiels
This branch includes the following new commits:
new f17d459ff95 Change version to 2.0.0-SNAPSHOT
new 7e9929be7cd delete useless fiels
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(iotdb) 01/02: Change version to 2.0.0-SNAPSHOT
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch ty/ChangeVersion
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit f17d459ff9528ede7c4c6a563dce4beab1f8de2f
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Thu Sep 5 20:22:57 2024 +0800
Change version to 2.0.0-SNAPSHOT
---
code-coverage/pom.xml | 2 +-
code-coverage/{pom.xml => pom.xml.versionsBackup} | 0
distribution/pom.xml | 10 +++---
distribution/{pom.xml => pom.xml.versionsBackup} | 0
example/client-cpp-example/pom.xml | 2 +-
.../{pom.xml => pom.xml.versionsBackup} | 0
example/jdbc/pom.xml | 2 +-
example/jdbc/{pom.xml => pom.xml.versionsBackup} | 0
example/mqtt-customize/pom.xml | 2 +-
.../{pom.xml => pom.xml.versionsBackup} | 0
example/mqtt/pom.xml | 2 +-
example/mqtt/{pom.xml => pom.xml.versionsBackup} | 0
example/pipe-count-point-processor/pom.xml | 2 +-
.../{pom.xml => pom.xml.versionsBackup} | 0
example/pipe-opc-ua-sink/pom.xml | 2 +-
.../{pom.xml => pom.xml.versionsBackup} | 0
example/pom.xml | 2 +-
example/{pom.xml => pom.xml.versionsBackup} | 0
example/rest-java-example/pom.xml | 2 +-
.../{pom.xml => pom.xml.versionsBackup} | 0
example/schema/pom.xml | 2 +-
example/schema/{pom.xml => pom.xml.versionsBackup} | 0
example/session/pom.xml | 2 +-
.../session/{pom.xml => pom.xml.versionsBackup} | 0
example/trigger/pom.xml | 2 +-
.../trigger/{pom.xml => pom.xml.versionsBackup} | 0
example/udf/pom.xml | 2 +-
example/udf/{pom.xml => pom.xml.versionsBackup} | 0
integration-test/pom.xml | 32 ++++++++---------
.../{pom.xml => pom.xml.versionsBackup} | 0
iotdb-api/external-api/pom.xml | 2 +-
.../{pom.xml => pom.xml.versionsBackup} | 0
iotdb-api/pipe-api/pom.xml | 2 +-
.../pipe-api/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-api/pom.xml | 2 +-
iotdb-api/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-api/trigger-api/pom.xml | 2 +-
.../{pom.xml => pom.xml.versionsBackup} | 0
iotdb-api/udf-api/pom.xml | 2 +-
.../udf-api/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-client/cli/pom.xml | 18 +++++-----
.../cli/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-client/client-cpp/pom.xml | 4 +--
.../client-cpp/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-client/client-py/pom.xml | 6 ++--
.../client-py/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-client/isession/pom.xml | 8 ++---
.../isession/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-client/jdbc/pom.xml | 8 ++---
.../jdbc/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-client/pom.xml | 2 +-
iotdb-client/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-client/service-rpc/pom.xml | 6 ++--
.../{pom.xml => pom.xml.versionsBackup} | 0
iotdb-client/session/pom.xml | 10 +++---
.../session/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-core/ainode/pom.xml | 10 +++---
.../ainode/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-core/antlr/pom.xml | 2 +-
.../antlr/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-core/confignode/pom.xml | 26 +++++++-------
.../confignode/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-core/consensus/pom.xml | 14 ++++----
.../consensus/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-core/datanode/pom.xml | 40 +++++++++++-----------
.../datanode/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-core/metrics/core/pom.xml | 4 +--
.../core/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-core/metrics/interface/pom.xml | 8 ++---
.../interface/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-core/metrics/pom.xml | 2 +-
.../metrics/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-core/node-commons/pom.xml | 24 ++++++-------
.../{pom.xml => pom.xml.versionsBackup} | 0
iotdb-core/pom.xml | 2 +-
iotdb-core/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-core/relational-grammar/pom.xml | 2 +-
.../{pom.xml => pom.xml.versionsBackup} | 0
iotdb-protocol/openapi/pom.xml | 2 +-
.../openapi/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-protocol/pom.xml | 2 +-
iotdb-protocol/{pom.xml => pom.xml.versionsBackup} | 0
iotdb-protocol/thrift-ainode/pom.xml | 4 +--
.../{pom.xml => pom.xml.versionsBackup} | 0
iotdb-protocol/thrift-commons/pom.xml | 2 +-
.../{pom.xml => pom.xml.versionsBackup} | 0
iotdb-protocol/thrift-confignode/pom.xml | 4 +--
.../{pom.xml => pom.xml.versionsBackup} | 0
iotdb-protocol/thrift-consensus/pom.xml | 4 +--
.../{pom.xml => pom.xml.versionsBackup} | 0
iotdb-protocol/thrift-datanode/pom.xml | 4 +--
.../{pom.xml => pom.xml.versionsBackup} | 0
library-udf/pom.xml | 4 +--
library-udf/{pom.xml => pom.xml.versionsBackup} | 0
pom.xml | 2 +-
pom.xml => pom.xml.versionsBackup | 0
96 files changed, 151 insertions(+), 151 deletions(-)
diff --git a/code-coverage/pom.xml b/code-coverage/pom.xml
index 9f5f892a1e8..f7a1f82d5f1 100644
--- a/code-coverage/pom.xml
+++ b/code-coverage/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-code-coverage</artifactId>
<packaging>pom</packaging>
diff --git a/code-coverage/pom.xml b/code-coverage/pom.xml.versionsBackup
similarity index 100%
copy from code-coverage/pom.xml
copy to code-coverage/pom.xml.versionsBackup
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 2320a15d4d0..09cdf7f8d7e 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-distribution</artifactId>
<packaging>pom</packaging>
@@ -33,25 +33,25 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-cli</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>library-udf</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
diff --git a/distribution/pom.xml b/distribution/pom.xml.versionsBackup
similarity index 100%
copy from distribution/pom.xml
copy to distribution/pom.xml.versionsBackup
diff --git a/example/client-cpp-example/pom.xml b/example/client-cpp-example/pom.xml
index a17c01cbce4..ace95bcfd9a 100644
--- a/example/client-cpp-example/pom.xml
+++ b/example/client-cpp-example/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>client-cpp-example</artifactId>
<name>IoTDB: Example: CPP Client</name>
diff --git a/example/client-cpp-example/pom.xml b/example/client-cpp-example/pom.xml.versionsBackup
similarity index 100%
copy from example/client-cpp-example/pom.xml
copy to example/client-cpp-example/pom.xml.versionsBackup
diff --git a/example/jdbc/pom.xml b/example/jdbc/pom.xml
index 6d54a8e8fd6..73833335f0e 100644
--- a/example/jdbc/pom.xml
+++ b/example/jdbc/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>jdbc-example</artifactId>
<name>IoTDB: Example: JDBC</name>
diff --git a/example/jdbc/pom.xml b/example/jdbc/pom.xml.versionsBackup
similarity index 100%
copy from example/jdbc/pom.xml
copy to example/jdbc/pom.xml.versionsBackup
diff --git a/example/mqtt-customize/pom.xml b/example/mqtt-customize/pom.xml
index b6d8601a15e..bd0c9e6a7c1 100644
--- a/example/mqtt-customize/pom.xml
+++ b/example/mqtt-customize/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>customize-mqtt-example</artifactId>
<name>IoTDB: Example: Customized MQTT</name>
diff --git a/example/mqtt-customize/pom.xml b/example/mqtt-customize/pom.xml.versionsBackup
similarity index 100%
copy from example/mqtt-customize/pom.xml
copy to example/mqtt-customize/pom.xml.versionsBackup
diff --git a/example/mqtt/pom.xml b/example/mqtt/pom.xml
index 9e49c12d480..892fa11c545 100644
--- a/example/mqtt/pom.xml
+++ b/example/mqtt/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>mqtt-example</artifactId>
<name>IoTDB: Example: MQTT</name>
diff --git a/example/mqtt/pom.xml b/example/mqtt/pom.xml.versionsBackup
similarity index 100%
copy from example/mqtt/pom.xml
copy to example/mqtt/pom.xml.versionsBackup
diff --git a/example/pipe-count-point-processor/pom.xml b/example/pipe-count-point-processor/pom.xml
index 51099bcf99f..4ba2d8c5121 100644
--- a/example/pipe-count-point-processor/pom.xml
+++ b/example/pipe-count-point-processor/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>pipe-count-point-processor-example</artifactId>
<name>IoTDB: Example: Pipe: Count Point Processor</name>
diff --git a/example/pipe-count-point-processor/pom.xml b/example/pipe-count-point-processor/pom.xml.versionsBackup
similarity index 100%
copy from example/pipe-count-point-processor/pom.xml
copy to example/pipe-count-point-processor/pom.xml.versionsBackup
diff --git a/example/pipe-opc-ua-sink/pom.xml b/example/pipe-opc-ua-sink/pom.xml
index d65b695ad6b..7846ab5e24a 100644
--- a/example/pipe-opc-ua-sink/pom.xml
+++ b/example/pipe-opc-ua-sink/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>pipe-opc-ua-sink-example</artifactId>
diff --git a/example/pipe-opc-ua-sink/pom.xml b/example/pipe-opc-ua-sink/pom.xml.versionsBackup
similarity index 100%
copy from example/pipe-opc-ua-sink/pom.xml
copy to example/pipe-opc-ua-sink/pom.xml.versionsBackup
diff --git a/example/pom.xml b/example/pom.xml
index 094ca541af4..c8eaeb7cd90 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-examples</artifactId>
<packaging>pom</packaging>
diff --git a/example/pom.xml b/example/pom.xml.versionsBackup
similarity index 100%
copy from example/pom.xml
copy to example/pom.xml.versionsBackup
diff --git a/example/rest-java-example/pom.xml b/example/rest-java-example/pom.xml
index ac973cf779e..2fc64e72b60 100644
--- a/example/rest-java-example/pom.xml
+++ b/example/rest-java-example/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>rest-java-example</artifactId>
<name>IoTDB: Example: Java Rest</name>
diff --git a/example/rest-java-example/pom.xml b/example/rest-java-example/pom.xml.versionsBackup
similarity index 100%
copy from example/rest-java-example/pom.xml
copy to example/rest-java-example/pom.xml.versionsBackup
diff --git a/example/schema/pom.xml b/example/schema/pom.xml
index 195e0bf1b27..b2e927742c2 100644
--- a/example/schema/pom.xml
+++ b/example/schema/pom.xml
@@ -24,7 +24,7 @@
<parent>
<artifactId>iotdb-examples</artifactId>
<groupId>org.apache.iotdb</groupId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>schema-example</artifactId>
<name>IoTDB: Example: Schema</name>
diff --git a/example/schema/pom.xml b/example/schema/pom.xml.versionsBackup
similarity index 100%
copy from example/schema/pom.xml
copy to example/schema/pom.xml.versionsBackup
diff --git a/example/session/pom.xml b/example/session/pom.xml
index 8621d795cac..a7bdd7aa124 100644
--- a/example/session/pom.xml
+++ b/example/session/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>client-example</artifactId>
<name>IoTDB: Example: Session Client</name>
diff --git a/example/session/pom.xml b/example/session/pom.xml.versionsBackup
similarity index 100%
copy from example/session/pom.xml
copy to example/session/pom.xml.versionsBackup
diff --git a/example/trigger/pom.xml b/example/trigger/pom.xml
index da9b17601c6..efe4342b58a 100644
--- a/example/trigger/pom.xml
+++ b/example/trigger/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>trigger-example</artifactId>
<name>IoTDB: Example: Trigger</name>
diff --git a/example/trigger/pom.xml b/example/trigger/pom.xml.versionsBackup
similarity index 100%
copy from example/trigger/pom.xml
copy to example/trigger/pom.xml.versionsBackup
diff --git a/example/udf/pom.xml b/example/udf/pom.xml
index 03566e0c978..5e801f359b9 100644
--- a/example/udf/pom.xml
+++ b/example/udf/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>udf-example</artifactId>
<name>IoTDB: Example: UDF</name>
diff --git a/example/udf/pom.xml b/example/udf/pom.xml.versionsBackup
similarity index 100%
copy from example/udf/pom.xml
copy to example/udf/pom.xml.versionsBackup
diff --git a/integration-test/pom.xml b/integration-test/pom.xml
index a34f517dc71..da5f9b7c1c0 100644
--- a/integration-test/pom.xml
+++ b/integration-test/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>integration-test</artifactId>
<name>IoTDB: Integration-Test</name>
@@ -72,47 +72,47 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>trigger-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>isession</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>node-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
@@ -122,7 +122,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>udf-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
@@ -132,7 +132,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
@@ -161,17 +161,17 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-cli</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
@@ -201,7 +201,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
diff --git a/integration-test/pom.xml b/integration-test/pom.xml.versionsBackup
similarity index 100%
copy from integration-test/pom.xml
copy to integration-test/pom.xml.versionsBackup
diff --git a/iotdb-api/external-api/pom.xml b/iotdb-api/external-api/pom.xml
index cd837030350..18e171c3aec 100644
--- a/iotdb-api/external-api/pom.xml
+++ b/iotdb-api/external-api/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>external-api</artifactId>
<name>IoTDB: API: External API</name>
diff --git a/iotdb-api/external-api/pom.xml b/iotdb-api/external-api/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-api/external-api/pom.xml
copy to iotdb-api/external-api/pom.xml.versionsBackup
diff --git a/iotdb-api/pipe-api/pom.xml b/iotdb-api/pipe-api/pom.xml
index 04f8c637a74..b0368594e5e 100644
--- a/iotdb-api/pipe-api/pom.xml
+++ b/iotdb-api/pipe-api/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>pipe-api</artifactId>
<name>IoTDB: API: Pipe API</name>
diff --git a/iotdb-api/pipe-api/pom.xml b/iotdb-api/pipe-api/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-api/pipe-api/pom.xml
copy to iotdb-api/pipe-api/pom.xml.versionsBackup
diff --git a/iotdb-api/pom.xml b/iotdb-api/pom.xml
index 5eaa92d67f2..01aba458653 100644
--- a/iotdb-api/pom.xml
+++ b/iotdb-api/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-api</artifactId>
<packaging>pom</packaging>
diff --git a/iotdb-api/pom.xml b/iotdb-api/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-api/pom.xml
copy to iotdb-api/pom.xml.versionsBackup
diff --git a/iotdb-api/trigger-api/pom.xml b/iotdb-api/trigger-api/pom.xml
index cc6279389d6..64560a259bb 100644
--- a/iotdb-api/trigger-api/pom.xml
+++ b/iotdb-api/trigger-api/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>trigger-api</artifactId>
<name>IoTDB: API: Trigger API</name>
diff --git a/iotdb-api/trigger-api/pom.xml b/iotdb-api/trigger-api/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-api/trigger-api/pom.xml
copy to iotdb-api/trigger-api/pom.xml.versionsBackup
diff --git a/iotdb-api/udf-api/pom.xml b/iotdb-api/udf-api/pom.xml
index c7fbafa4063..8a66274237f 100644
--- a/iotdb-api/udf-api/pom.xml
+++ b/iotdb-api/udf-api/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>udf-api</artifactId>
<name>IoTDB: API: UDF API</name>
diff --git a/iotdb-api/udf-api/pom.xml b/iotdb-api/udf-api/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-api/udf-api/pom.xml
copy to iotdb-api/udf-api/pom.xml.versionsBackup
diff --git a/iotdb-client/cli/pom.xml b/iotdb-client/cli/pom.xml
index f8bc063ff70..faf10b630a1 100644
--- a/iotdb-client/cli/pom.xml
+++ b/iotdb-client/cli/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-cli</artifactId>
<name>IoTDB: Client: CLI</name>
@@ -37,37 +37,37 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-antlr</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>node-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>isession</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
@@ -82,7 +82,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/iotdb-client/cli/pom.xml b/iotdb-client/cli/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-client/cli/pom.xml
copy to iotdb-client/cli/pom.xml.versionsBackup
diff --git a/iotdb-client/client-cpp/pom.xml b/iotdb-client/client-cpp/pom.xml
index 602cf30bce4..f358a2d9aea 100644
--- a/iotdb-client/client-cpp/pom.xml
+++ b/iotdb-client/client-cpp/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>client-cpp</artifactId>
<packaging>pom</packaging>
@@ -43,7 +43,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/iotdb-client/client-cpp/pom.xml b/iotdb-client/client-cpp/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-client/client-cpp/pom.xml
copy to iotdb-client/client-cpp/pom.xml.versionsBackup
diff --git a/iotdb-client/client-py/pom.xml b/iotdb-client/client-py/pom.xml
index 336835de9eb..713ebe57d14 100644
--- a/iotdb-client/client-py/pom.xml
+++ b/iotdb-client/client-py/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-python-api</artifactId>
<name>IoTDB: Client: Python-API</name>
@@ -34,13 +34,13 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/iotdb-client/client-py/pom.xml b/iotdb-client/client-py/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-client/client-py/pom.xml
copy to iotdb-client/client-py/pom.xml.versionsBackup
diff --git a/iotdb-client/isession/pom.xml b/iotdb-client/isession/pom.xml
index d561b5b8e28..ed8306daa38 100644
--- a/iotdb-client/isession/pom.xml
+++ b/iotdb-client/isession/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>isession</artifactId>
<name>IoTDB: Client: isession</name>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
@@ -47,12 +47,12 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
diff --git a/iotdb-client/isession/pom.xml b/iotdb-client/isession/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-client/isession/pom.xml
copy to iotdb-client/isession/pom.xml.versionsBackup
diff --git a/iotdb-client/jdbc/pom.xml b/iotdb-client/jdbc/pom.xml
index a1a9216278e..625c75ca140 100644
--- a/iotdb-client/jdbc/pom.xml
+++ b/iotdb-client/jdbc/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-jdbc</artifactId>
<name>IoTDB: Client: Jdbc</name>
@@ -38,12 +38,12 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
@@ -58,7 +58,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
diff --git a/iotdb-client/jdbc/pom.xml b/iotdb-client/jdbc/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-client/jdbc/pom.xml
copy to iotdb-client/jdbc/pom.xml.versionsBackup
diff --git a/iotdb-client/pom.xml b/iotdb-client/pom.xml
index 7e007431669..d4ea9435263 100644
--- a/iotdb-client/pom.xml
+++ b/iotdb-client/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-client</artifactId>
<packaging>pom</packaging>
diff --git a/iotdb-client/pom.xml b/iotdb-client/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-client/pom.xml
copy to iotdb-client/pom.xml.versionsBackup
diff --git a/iotdb-client/service-rpc/pom.xml b/iotdb-client/service-rpc/pom.xml
index bfc3805f581..9515493257e 100644
--- a/iotdb-client/service-rpc/pom.xml
+++ b/iotdb-client/service-rpc/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>service-rpc</artifactId>
<name>IoTDB: Client: Service-RPC</name>
@@ -60,12 +60,12 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
diff --git a/iotdb-client/service-rpc/pom.xml b/iotdb-client/service-rpc/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-client/service-rpc/pom.xml
copy to iotdb-client/service-rpc/pom.xml.versionsBackup
diff --git a/iotdb-client/session/pom.xml b/iotdb-client/session/pom.xml
index b465de97ed0..a79d3c25baf 100644
--- a/iotdb-client/session/pom.xml
+++ b/iotdb-client/session/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-session</artifactId>
<name>IoTDB: Client: Session</name>
@@ -37,17 +37,17 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>isession</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
@@ -62,7 +62,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/iotdb-client/session/pom.xml b/iotdb-client/session/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-client/session/pom.xml
copy to iotdb-client/session/pom.xml.versionsBackup
diff --git a/iotdb-core/ainode/pom.xml b/iotdb-core/ainode/pom.xml
index c9dc1b11406..303dd3f45da 100644
--- a/iotdb-core/ainode/pom.xml
+++ b/iotdb-core/ainode/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-ainode</artifactId>
<name>IoTDB: Core: AINode</name>
@@ -33,25 +33,25 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-ainode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/iotdb-core/ainode/pom.xml b/iotdb-core/ainode/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-core/ainode/pom.xml
copy to iotdb-core/ainode/pom.xml.versionsBackup
diff --git a/iotdb-core/antlr/pom.xml b/iotdb-core/antlr/pom.xml
index 108f2ca047f..1012420ff7a 100644
--- a/iotdb-core/antlr/pom.xml
+++ b/iotdb-core/antlr/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-antlr</artifactId>
<name>IoTDB: Core: Antlr-Parser</name>
diff --git a/iotdb-core/antlr/pom.xml b/iotdb-core/antlr/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-core/antlr/pom.xml
copy to iotdb-core/antlr/pom.xml.versionsBackup
diff --git a/iotdb-core/confignode/pom.xml b/iotdb-core/confignode/pom.xml
index ce73fa5a986..6857cfd6069 100644
--- a/iotdb-core/confignode/pom.xml
+++ b/iotdb-core/confignode/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-confignode</artifactId>
<name>IoTDB: Core: ConfigNode</name>
@@ -42,62 +42,62 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>pipe-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>trigger-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>metrics-interface</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-ainode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>node-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>udf-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
diff --git a/iotdb-core/confignode/pom.xml b/iotdb-core/confignode/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-core/confignode/pom.xml
copy to iotdb-core/confignode/pom.xml.versionsBackup
diff --git a/iotdb-core/consensus/pom.xml b/iotdb-core/consensus/pom.xml
index 6c914a352a0..bbf4e2e3459 100644
--- a/iotdb-core/consensus/pom.xml
+++ b/iotdb-core/consensus/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-consensus</artifactId>
<name>IoTDB: Core: Consensus</name>
@@ -39,32 +39,32 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>node-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>metrics-interface</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>pipe-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.ratis</groupId>
diff --git a/iotdb-core/consensus/pom.xml b/iotdb-core/consensus/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-core/consensus/pom.xml
copy to iotdb-core/consensus/pom.xml.versionsBackup
diff --git a/iotdb-core/datanode/pom.xml b/iotdb-core/datanode/pom.xml
index 14d045fd124..b85da147672 100644
--- a/iotdb-core/datanode/pom.xml
+++ b/iotdb-core/datanode/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-server</artifactId>
<name>IoTDB: Core: Data-Node (Server)</name>
@@ -37,12 +37,12 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
@@ -57,82 +57,82 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>external-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>openapi</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>node-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>isession</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-antlr</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-relational-grammar</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>udf-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>trigger-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>metrics-interface</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-ainode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>pipe-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
@@ -314,7 +314,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>metrics-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
diff --git a/iotdb-core/datanode/pom.xml b/iotdb-core/datanode/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-core/datanode/pom.xml
copy to iotdb-core/datanode/pom.xml.versionsBackup
diff --git a/iotdb-core/metrics/core/pom.xml b/iotdb-core/metrics/core/pom.xml
index 412a9a58762..f68d953adb5 100644
--- a/iotdb-core/metrics/core/pom.xml
+++ b/iotdb-core/metrics/core/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-metrics</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>metrics-core</artifactId>
<name>IoTDB: Core: Metrics: API Impl</name>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>metrics-interface</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
diff --git a/iotdb-core/metrics/core/pom.xml b/iotdb-core/metrics/core/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-core/metrics/core/pom.xml
copy to iotdb-core/metrics/core/pom.xml.versionsBackup
diff --git a/iotdb-core/metrics/interface/pom.xml b/iotdb-core/metrics/interface/pom.xml
index 0ad22085f39..695fbc879d1 100644
--- a/iotdb-core/metrics/interface/pom.xml
+++ b/iotdb-core/metrics/interface/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-metrics</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>metrics-interface</artifactId>
<name>IoTDB: Core: Metrics: Metrics API</name>
@@ -33,17 +33,17 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>isession</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
diff --git a/iotdb-core/metrics/interface/pom.xml b/iotdb-core/metrics/interface/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-core/metrics/interface/pom.xml
copy to iotdb-core/metrics/interface/pom.xml.versionsBackup
diff --git a/iotdb-core/metrics/pom.xml b/iotdb-core/metrics/pom.xml
index 1c6c789e7eb..2b62015bb9f 100644
--- a/iotdb-core/metrics/pom.xml
+++ b/iotdb-core/metrics/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-metrics</artifactId>
<packaging>pom</packaging>
diff --git a/iotdb-core/metrics/pom.xml b/iotdb-core/metrics/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-core/metrics/pom.xml
copy to iotdb-core/metrics/pom.xml.versionsBackup
diff --git a/iotdb-core/node-commons/pom.xml b/iotdb-core/node-commons/pom.xml
index fb513e0e794..2243f340bfc 100644
--- a/iotdb-core/node-commons/pom.xml
+++ b/iotdb-core/node-commons/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>node-commons</artifactId>
<name>IoTDB: Core: Node Commons</name>
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
@@ -48,37 +48,37 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>udf-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>trigger-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>pipe-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
@@ -88,12 +88,12 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>metrics-interface</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>metrics-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.dropwizard.metrics</groupId>
@@ -189,7 +189,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-ainode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
diff --git a/iotdb-core/node-commons/pom.xml b/iotdb-core/node-commons/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-core/node-commons/pom.xml
copy to iotdb-core/node-commons/pom.xml.versionsBackup
diff --git a/iotdb-core/pom.xml b/iotdb-core/pom.xml
index 839dd80246c..77bec8db889 100644
--- a/iotdb-core/pom.xml
+++ b/iotdb-core/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-core</artifactId>
<packaging>pom</packaging>
diff --git a/iotdb-core/pom.xml b/iotdb-core/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-core/pom.xml
copy to iotdb-core/pom.xml.versionsBackup
diff --git a/iotdb-core/relational-grammar/pom.xml b/iotdb-core/relational-grammar/pom.xml
index d9363584678..a27124cb36d 100644
--- a/iotdb-core/relational-grammar/pom.xml
+++ b/iotdb-core/relational-grammar/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-relational-grammar</artifactId>
<name>IoTDB: Core: Relational-Antlr-Parser</name>
diff --git a/iotdb-core/relational-grammar/pom.xml b/iotdb-core/relational-grammar/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-core/relational-grammar/pom.xml
copy to iotdb-core/relational-grammar/pom.xml.versionsBackup
diff --git a/iotdb-protocol/openapi/pom.xml b/iotdb-protocol/openapi/pom.xml
index 5a80af4eac6..9b42d36494a 100644
--- a/iotdb-protocol/openapi/pom.xml
+++ b/iotdb-protocol/openapi/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>openapi</artifactId>
<name>IoTDB: Protocol: OpenAPI</name>
diff --git a/iotdb-protocol/openapi/pom.xml b/iotdb-protocol/openapi/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-protocol/openapi/pom.xml
copy to iotdb-protocol/openapi/pom.xml.versionsBackup
diff --git a/iotdb-protocol/pom.xml b/iotdb-protocol/pom.xml
index 7715bf00e8e..523ea7f37da 100644
--- a/iotdb-protocol/pom.xml
+++ b/iotdb-protocol/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-protocol</artifactId>
<packaging>pom</packaging>
diff --git a/iotdb-protocol/pom.xml b/iotdb-protocol/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-protocol/pom.xml
copy to iotdb-protocol/pom.xml.versionsBackup
diff --git a/iotdb-protocol/thrift-ainode/pom.xml b/iotdb-protocol/thrift-ainode/pom.xml
index ccecd83b651..3ed313f9ab3 100644
--- a/iotdb-protocol/thrift-ainode/pom.xml
+++ b/iotdb-protocol/thrift-ainode/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-thrift-ainode</artifactId>
<name>IoTDB: Protocol: Thrift AI Node</name>
@@ -41,7 +41,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
diff --git a/iotdb-protocol/thrift-ainode/pom.xml b/iotdb-protocol/thrift-ainode/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-protocol/thrift-ainode/pom.xml
copy to iotdb-protocol/thrift-ainode/pom.xml.versionsBackup
diff --git a/iotdb-protocol/thrift-commons/pom.xml b/iotdb-protocol/thrift-commons/pom.xml
index b264c6acef3..a9ebdba2fe2 100644
--- a/iotdb-protocol/thrift-commons/pom.xml
+++ b/iotdb-protocol/thrift-commons/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-thrift-commons</artifactId>
<name>IoTDB: Protocol: Thrift Commons</name>
diff --git a/iotdb-protocol/thrift-commons/pom.xml b/iotdb-protocol/thrift-commons/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-protocol/thrift-commons/pom.xml
copy to iotdb-protocol/thrift-commons/pom.xml.versionsBackup
diff --git a/iotdb-protocol/thrift-confignode/pom.xml b/iotdb-protocol/thrift-confignode/pom.xml
index 765cf27c090..7d7f00db430 100644
--- a/iotdb-protocol/thrift-confignode/pom.xml
+++ b/iotdb-protocol/thrift-confignode/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-thrift-confignode</artifactId>
<name>IoTDB: Protocol: Thrift Config Node</name>
@@ -41,7 +41,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
diff --git a/iotdb-protocol/thrift-confignode/pom.xml b/iotdb-protocol/thrift-confignode/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-protocol/thrift-confignode/pom.xml
copy to iotdb-protocol/thrift-confignode/pom.xml.versionsBackup
diff --git a/iotdb-protocol/thrift-consensus/pom.xml b/iotdb-protocol/thrift-consensus/pom.xml
index a8d6cfb5dbe..6c4fcb3fc15 100644
--- a/iotdb-protocol/thrift-consensus/pom.xml
+++ b/iotdb-protocol/thrift-consensus/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-thrift-consensus</artifactId>
<name>IoTDB: Protocol: Thrift Consensus</name>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/iotdb-protocol/thrift-consensus/pom.xml b/iotdb-protocol/thrift-consensus/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-protocol/thrift-consensus/pom.xml
copy to iotdb-protocol/thrift-consensus/pom.xml.versionsBackup
diff --git a/iotdb-protocol/thrift-datanode/pom.xml b/iotdb-protocol/thrift-datanode/pom.xml
index 3f2351c6b86..3204b36c956 100644
--- a/iotdb-protocol/thrift-datanode/pom.xml
+++ b/iotdb-protocol/thrift-datanode/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>iotdb-thrift</artifactId>
<name>IoTDB: Protocol: Thrift Data Node</name>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
diff --git a/iotdb-protocol/thrift-datanode/pom.xml b/iotdb-protocol/thrift-datanode/pom.xml.versionsBackup
similarity index 100%
copy from iotdb-protocol/thrift-datanode/pom.xml
copy to iotdb-protocol/thrift-datanode/pom.xml.versionsBackup
diff --git a/library-udf/pom.xml b/library-udf/pom.xml
index 17d4666ae90..48af935e19a 100644
--- a/library-udf/pom.xml
+++ b/library-udf/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>library-udf</artifactId>
<name>IoTDB: UDF</name>
@@ -41,7 +41,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>udf-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/library-udf/pom.xml b/library-udf/pom.xml.versionsBackup
similarity index 100%
copy from library-udf/pom.xml
copy to library-udf/pom.xml.versionsBackup
diff --git a/pom.xml b/pom.xml
index a1713a76d7c..cb563242175 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
</parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache IoTDB Project Parent POM</name>
<description>This is the top level project that builds, packages the tsfile, iotdb engine, jdbc, and integration libs.</description>
diff --git a/pom.xml b/pom.xml.versionsBackup
similarity index 100%
copy from pom.xml
copy to pom.xml.versionsBackup
(iotdb) 02/02: delete useless fiels
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch ty/ChangeVersion
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 7e9929be7cd504ee6a6ce9b9305b51cd3ab5a1b4
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Thu Sep 5 20:23:12 2024 +0800
delete useless fiels
---
code-coverage/pom.xml.versionsBackup | 139 --
distribution/pom.xml.versionsBackup | 172 --
example/client-cpp-example/pom.xml.versionsBackup | 157 --
example/jdbc/pom.xml.versionsBackup | 43 -
example/mqtt-customize/pom.xml.versionsBackup | 39 -
example/mqtt/pom.xml.versionsBackup | 37 -
.../pom.xml.versionsBackup | 66 -
example/pipe-opc-ua-sink/pom.xml.versionsBackup | 76 -
example/pom.xml.versionsBackup | 90 -
example/rest-java-example/pom.xml.versionsBackup | 49 -
example/schema/pom.xml.versionsBackup | 43 -
example/session/pom.xml.versionsBackup | 43 -
example/trigger/pom.xml.versionsBackup | 73 -
example/udf/pom.xml.versionsBackup | 68 -
integration-test/pom.xml.versionsBackup | 594 ------
iotdb-api/external-api/pom.xml.versionsBackup | 66 -
iotdb-api/pipe-api/pom.xml.versionsBackup | 68 -
iotdb-api/pom.xml.versionsBackup | 38 -
iotdb-api/trigger-api/pom.xml.versionsBackup | 67 -
iotdb-api/udf-api/pom.xml.versionsBackup | 67 -
iotdb-client/cli/pom.xml.versionsBackup | 264 ---
iotdb-client/client-cpp/pom.xml.versionsBackup | 432 -----
iotdb-client/client-py/pom.xml.versionsBackup | 203 ---
iotdb-client/isession/pom.xml.versionsBackup | 62 -
iotdb-client/jdbc/pom.xml.versionsBackup | 306 ----
iotdb-client/pom.xml.versionsBackup | 48 -
iotdb-client/service-rpc/pom.xml.versionsBackup | 187 --
iotdb-client/session/pom.xml.versionsBackup | 181 --
iotdb-core/ainode/pom.xml.versionsBackup | 370 ----
iotdb-core/antlr/pom.xml.versionsBackup | 104 --
iotdb-core/confignode/pom.xml.versionsBackup | 260 ---
iotdb-core/consensus/pom.xml.versionsBackup | 196 --
iotdb-core/datanode/pom.xml.versionsBackup | 600 ------
iotdb-core/metrics/core/pom.xml.versionsBackup | 50 -
.../metrics/interface/pom.xml.versionsBackup | 130 --
iotdb-core/metrics/pom.xml.versionsBackup | 79 -
iotdb-core/node-commons/pom.xml.versionsBackup | 363 ----
iotdb-core/pom.xml.versionsBackup | 49 -
.../relational-grammar/pom.xml.versionsBackup | 106 --
iotdb-protocol/openapi/pom.xml.versionsBackup | 212 ---
iotdb-protocol/pom.xml.versionsBackup | 40 -
.../thrift-ainode/pom.xml.versionsBackup | 69 -
.../thrift-commons/pom.xml.versionsBackup | 60 -
.../thrift-confignode/pom.xml.versionsBackup | 69 -
.../thrift-consensus/pom.xml.versionsBackup | 69 -
.../thrift-datanode/pom.xml.versionsBackup | 105 --
library-udf/pom.xml.versionsBackup | 118 --
pom.xml.versionsBackup | 1921 --------------------
48 files changed, 8648 deletions(-)
diff --git a/code-coverage/pom.xml.versionsBackup b/code-coverage/pom.xml.versionsBackup
deleted file mode 100644
index 9f5f892a1e8..00000000000
--- a/code-coverage/pom.xml.versionsBackup
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-code-coverage</artifactId>
- <packaging>pom</packaging>
- <name>IoTDB: Code-Coverage</name>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>make-cmake-executable</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>process-resources</phase>
- <configuration>
- <basedir>${project.basedir}</basedir>
- <executable>chmod</executable>
- <arguments>
- <argument>+x</argument>
- <argument>copy-code-coverage-sources.sh</argument>
- </arguments>
- </configuration>
- </execution>
- <execution>
- <id>collect-code-coverage-results</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>post-integration-test</phase>
- <configuration>
- <executable>${project.basedir}/copy-code-coverage-sources.sh</executable>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>org/apache/iotdb/service/sync/thrift/*</exclude>
- <exclude>org/apache/iotdb/service/rpc/thrift/*</exclude>
- <exclude>org/apache/iotdb/cluster/rpc/thrift/*</exclude>
- <exclude>org/apache/iotdb/protocol/influxdb/rpc/thrift/*</exclude>
- <exclude>org/apache/iotdb/db/qp/sql/*</exclude>
- </excludes>
- <rules>
- <rule implementation="org.jacoco.maven.RuleConfiguration">
- <element>BUNDLE</element>
- <limits>
- <!-- Cover methodes >=30%. (the plugin does not support
- ignore getter and setter and toString etc..) -->
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>METHOD</counter>
- <value>COVEREDRATIO</value>
- <minimum>0.00</minimum>
- </limit>
- <!-- if-else, swtich etc.. >=70% -->
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>BRANCH</counter>
- <value>COVEREDRATIO</value>
- <minimum>0.00</minimum>
- </limit>
- <!-- class files >=95% -->
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>CLASS</counter>
- <value>COVEREDRATIO</value>
- <minimum>0.00</minimum>
- </limit>
- </limits>
- </rule>
- </rules>
- </configuration>
- <executions>
- <!-- see https://natritmeyer.com/howto/reporting-aggregated-unit-and-integration-test-coverage-with-jacoco/-->
- <execution>
- <id>merge-unit-and-integration-final</id>
- <goals>
- <goal>merge</goal>
- </goals>
- <phase>post-integration-test</phase>
- <configuration>
- <fileSets>
- <fileSet>
- <directory>${project.build.directory}/</directory>
- <includes>
- <include>*.exec</include>
- </includes>
- </fileSet>
- </fileSets>
- <destFile>${project.build.directory}/merged.exec</destFile>
- </configuration>
- </execution>
- <execution>
- <id>create-merged-report-final</id>
- <goals>
- <goal>report</goal>
- <goal>check</goal>
- </goals>
- <phase>post-integration-test</phase>
- <configuration>
- <dataFile>${project.build.directory}/merged.exec</dataFile>
- <outputDirectory>${project.build.directory}/jacoco-merged-reports</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/distribution/pom.xml.versionsBackup b/distribution/pom.xml.versionsBackup
deleted file mode 100644
index 2320a15d4d0..00000000000
--- a/distribution/pom.xml.versionsBackup
+++ /dev/null
@@ -1,172 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-distribution</artifactId>
- <packaging>pom</packaging>
- <name>IoTDB: Distribution</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-server</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-cli</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>library-udf</artifactId>
- <version>1.4.0-SNAPSHOT</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/all.xml</descriptor>
- <descriptor>src/assembly/datanode.xml</descriptor>
- <descriptor>src/assembly/confignode.xml</descriptor>
- <descriptor>src/assembly/cli.xml</descriptor>
- <descriptor>src/assembly/library-udf.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}-all-bin.zip</include>
- <include>apache-iotdb-${project.version}-datanode-bin.zip</include>
- <include>apache-iotdb-${project.version}-cli-bin.zip</include>
- <include>apache-iotdb-${project.version}-confignode-bin.zip</include>
- <include>apache-iotdb-${project.version}-library-udf-bin.zip</include>
- </includes>
- </fileSet>
- </fileSets>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>with-cpp</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 combine.children="append">
- <descriptor>src/assembly/client-cpp.xml</descriptor>
- </descriptors>
- </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>
- <fileSets>
- <fileSet>
- <includes combine.children="append">
- <include>apache-iotdb-${project.version}-client-cpp-${os.classifier}-bin.zip</include>
- </includes>
- </fileSet>
- </fileSets>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/example/client-cpp-example/pom.xml.versionsBackup b/example/client-cpp-example/pom.xml.versionsBackup
deleted file mode 100644
index a17c01cbce4..00000000000
--- a/example/client-cpp-example/pom.xml.versionsBackup
+++ /dev/null
@@ -1,157 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>client-cpp-example</artifactId>
- <name>IoTDB: Example: CPP Client</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>client-cpp</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <!-- We don't really want to include it, we just want to make sure it's built first -->
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <!-- TODO: Change the build so it doesn't copy the CMakeLists.txt into the target directory directly. -->
- <build>
- <plugins>
- <plugin>
- <groupId>com.coderplus.maven.plugins</groupId>
- <artifactId>copy-rename-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-thrift-source</id>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <fileSets>
- <fileSet>
- <sourceFile>${project.basedir}/src/SessionExample.cpp</sourceFile>
- <destinationFile>${project.build.directory}/SessionExample.cpp</destinationFile>
- </fileSet>
- <fileSet>
- <sourceFile>${project.basedir}/src/AlignedTimeseriesSessionExample.cpp</sourceFile>
- <destinationFile>${project.build.directory}/AlignedTimeseriesSessionExample.cpp</destinationFile>
- </fileSet>
- <fileSet>
- <sourceFile>${project.basedir}/src/CMakeLists.txt</sourceFile>
- <destinationFile>${project.build.directory}/CMakeLists.txt</destinationFile>
- </fileSet>
- </fileSets>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--
- Fetch the client-cpp module for this os and architecture and copy it to the
- target directory, so the build can find it.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack-client</id>
- <goals>
- <goal>unpack</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>client-cpp</artifactId>
- <version>${project.version}</version>
- <type>zip</type>
- <classifier>cpp-${os.classifier}</classifier>
- <overWrite>true</overWrite>
- </artifactItem>
- </artifactItems>
- <outputDirectory>${project.build.directory}/client</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>unpack-thrift</id>
- <goals>
- <goal>unpack</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.iotdb.tools</groupId>
- <artifactId>iotdb-tools-thrift</artifactId>
- <version>${iotdb-tools-thrift.version}</version>
- <classifier>${os.classifier}</classifier>
- <type>zip</type>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}/thrift</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.googlecode.cmake-maven-project</groupId>
- <artifactId>cmake-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>cmake-generate</id>
- <goals>
- <goal>generate</goal>
- </goals>
- <phase>compile</phase>
- <configuration>
- <generator>${cmake.generator}</generator>
- <sourcePath>${project.build.directory}</sourcePath>
- <targetPath>${project.build.directory}</targetPath>
- <options>
- <option>-DBOOST_INCLUDEDIR=${boost.include.dir}</option>
- </options>
- </configuration>
- </execution>
- <execution>
- <id>cmake-compile</id>
- <goals>
- <goal>compile</goal>
- </goals>
- <phase>compile</phase>
- <configuration>
- <config>${cmake.build.type}</config>
- <!-- The directory where the "generate" step generated the build configuration -->
- <projectDirectory>${project.build.directory}</projectDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/example/jdbc/pom.xml.versionsBackup b/example/jdbc/pom.xml.versionsBackup
deleted file mode 100644
index 6d54a8e8fd6..00000000000
--- a/example/jdbc/pom.xml.versionsBackup
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>jdbc-example</artifactId>
- <name>IoTDB: Example: JDBC</name>
- <properties>
- <maven.compiler.source>1.7</maven.compiler.source>
- <maven.compiler.target>1.7</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-jdbc</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-</project>
diff --git a/example/mqtt-customize/pom.xml.versionsBackup b/example/mqtt-customize/pom.xml.versionsBackup
deleted file mode 100644
index b6d8601a15e..00000000000
--- a/example/mqtt-customize/pom.xml.versionsBackup
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>customize-mqtt-example</artifactId>
- <name>IoTDB: Example: Customized MQTT</name>
- <dependencies>
- <!-- used by the server-->
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-server</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-</project>
diff --git a/example/mqtt/pom.xml.versionsBackup b/example/mqtt/pom.xml.versionsBackup
deleted file mode 100644
index 9e49c12d480..00000000000
--- a/example/mqtt/pom.xml.versionsBackup
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>mqtt-example</artifactId>
- <name>IoTDB: Example: MQTT</name>
- <dependencies>
- <dependency>
- <groupId>org.fusesource.mqtt-client</groupId>
- <artifactId>mqtt-client</artifactId>
- </dependency>
- </dependencies>
-</project>
diff --git a/example/pipe-count-point-processor/pom.xml.versionsBackup b/example/pipe-count-point-processor/pom.xml.versionsBackup
deleted file mode 100644
index 51099bcf99f..00000000000
--- a/example/pipe-count-point-processor/pom.xml.versionsBackup
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>pipe-count-point-processor-example</artifactId>
- <name>IoTDB: Example: Pipe: Count Point Processor</name>
- <properties>
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>pipe-api</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-server</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.2.2</version>
- <configuration/>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/example/pipe-opc-ua-sink/pom.xml.versionsBackup b/example/pipe-opc-ua-sink/pom.xml.versionsBackup
deleted file mode 100644
index d65b695ad6b..00000000000
--- a/example/pipe-opc-ua-sink/pom.xml.versionsBackup
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>pipe-opc-ua-sink-example</artifactId>
- <name>IoTDB: Example: Pipe: OPCUA Sink</name>
- <dependencies>
- <dependency>
- <groupId>org.eclipse.milo</groupId>
- <artifactId>sdk-client</artifactId>
- <version>${milo.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.milo</groupId>
- <artifactId>sdk-server</artifactId>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>get-jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <mainClass>org.apache.iotdb.opcua.ClientTest</mainClass>
- </manifest>
- </archive>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- <!-- this is used for inheritance merges -->
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/example/pom.xml.versionsBackup b/example/pom.xml.versionsBackup
deleted file mode 100644
index 094ca541af4..00000000000
--- a/example/pom.xml.versionsBackup
+++ /dev/null
@@ -1,90 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-examples</artifactId>
- <packaging>pom</packaging>
- <name>IoTDB: Examples</name>
- <modules>
- <module>jdbc</module>
- <module>mqtt</module>
- <module>mqtt-customize</module>
- <module>pipe-count-point-processor</module>
- <module>pipe-opc-ua-sink</module>
- <module>rest-java-example</module>
- <module>schema</module>
- <module>session</module>
- <module>trigger</module>
- <module>udf</module>
- </modules>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>8</source>
- <target>8</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>check-dependencies</id>
- <goals>
- <goal>analyze-only</goal>
- </goals>
- <phase>verify</phase>
- <configuration>
- <skip>true</skip>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <configuration>
- <!-- Managing the dependencies of all examples would not provide much, but be a lot of work -->
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <profiles>
- <profile>
- <id>with-cpp</id>
- <modules>
- <module>client-cpp-example</module>
- </modules>
- </profile>
- </profiles>
-</project>
diff --git a/example/rest-java-example/pom.xml.versionsBackup b/example/rest-java-example/pom.xml.versionsBackup
deleted file mode 100644
index ac973cf779e..00000000000
--- a/example/rest-java-example/pom.xml.versionsBackup
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>rest-java-example</artifactId>
- <name>IoTDB: Example: Java Rest</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- </dependencies>
-</project>
diff --git a/example/schema/pom.xml.versionsBackup b/example/schema/pom.xml.versionsBackup
deleted file mode 100644
index 195e0bf1b27..00000000000
--- a/example/schema/pom.xml.versionsBackup
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>iotdb-examples</artifactId>
- <groupId>org.apache.iotdb</groupId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>schema-example</artifactId>
- <name>IoTDB: Example: Schema</name>
- <dependencies>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/example/session/pom.xml.versionsBackup b/example/session/pom.xml.versionsBackup
deleted file mode 100644
index 8621d795cac..00000000000
--- a/example/session/pom.xml.versionsBackup
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>client-example</artifactId>
- <name>IoTDB: Example: Session Client</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-session</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>node-commons</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-</project>
diff --git a/example/trigger/pom.xml.versionsBackup b/example/trigger/pom.xml.versionsBackup
deleted file mode 100644
index da9b17601c6..00000000000
--- a/example/trigger/pom.xml.versionsBackup
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>trigger-example</artifactId>
- <name>IoTDB: Example: Trigger</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>trigger-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-server</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>get-jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- <!-- this is used for inheritance merges -->
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/example/udf/pom.xml.versionsBackup b/example/udf/pom.xml.versionsBackup
deleted file mode 100644
index 03566e0c978..00000000000
--- a/example/udf/pom.xml.versionsBackup
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-examples</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>udf-example</artifactId>
- <name>IoTDB: Example: UDF</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-server</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>get-jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- <!-- this is used for inheritance merges -->
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/integration-test/pom.xml.versionsBackup b/integration-test/pom.xml.versionsBackup
deleted file mode 100644
index a34f517dc71..00000000000
--- a/integration-test/pom.xml.versionsBackup
+++ /dev/null
@@ -1,594 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>integration-test</artifactId>
- <name>IoTDB: Integration-Test</name>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.forkCount>1</integrationTest.forkCount>
- <integrationTest.includedGroups/>
- <integrationTest.launchNodeInSameJVM>true</integrationTest.launchNodeInSameJVM>
- <integrationTest.nodeMaxHeapSize>200m</integrationTest.nodeMaxHeapSize>
- <integrationTest.nodeNewHeapSize>200m</integrationTest.nodeNewHeapSize>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv/>
- <lightWeightStandaloneMode.configNodeConsensus>Simple</lightWeightStandaloneMode.configNodeConsensus>
- <!-- -DClusterConfigurations values configured here -->
- <lightWeightStandaloneMode.configNodeNumber>1</lightWeightStandaloneMode.configNodeNumber>
- <lightWeightStandaloneMode.dataNodeNumber>1</lightWeightStandaloneMode.dataNodeNumber>
- <lightWeightStandaloneMode.dataRegionConsensus>Simple</lightWeightStandaloneMode.dataRegionConsensus>
- <lightWeightStandaloneMode.dataRegionReplicaNumber>1</lightWeightStandaloneMode.dataRegionReplicaNumber>
- <lightWeightStandaloneMode.schemaRegionConsensus>Simple</lightWeightStandaloneMode.schemaRegionConsensus>
- <lightWeightStandaloneMode.schemaRegionReplicaNumber>1</lightWeightStandaloneMode.schemaRegionReplicaNumber>
- <scalableSingleNodeMode.configNodeConsensus>Ratis</scalableSingleNodeMode.configNodeConsensus>
- <scalableSingleNodeMode.configNodeNumber>1</scalableSingleNodeMode.configNodeNumber>
- <scalableSingleNodeMode.dataNodeNumber>1</scalableSingleNodeMode.dataNodeNumber>
- <scalableSingleNodeMode.dataRegionConsensus>IoT</scalableSingleNodeMode.dataRegionConsensus>
- <scalableSingleNodeMode.dataRegionReplicaNumber>1</scalableSingleNodeMode.dataRegionReplicaNumber>
- <scalableSingleNodeMode.schemaRegionConsensus>Ratis</scalableSingleNodeMode.schemaRegionConsensus>
- <scalableSingleNodeMode.schemaRegionReplicaNumber>1</scalableSingleNodeMode.schemaRegionReplicaNumber>
- <highPerformanceMode.configNodeConsensus>Ratis</highPerformanceMode.configNodeConsensus>
- <highPerformanceMode.configNodeNumber>1</highPerformanceMode.configNodeNumber>
- <highPerformanceMode.dataNodeNumber>3</highPerformanceMode.dataNodeNumber>
- <highPerformanceMode.dataRegionConsensus>IoT</highPerformanceMode.dataRegionConsensus>
- <highPerformanceMode.dataRegionReplicaNumber>2</highPerformanceMode.dataRegionReplicaNumber>
- <highPerformanceMode.schemaRegionConsensus>Ratis</highPerformanceMode.schemaRegionConsensus>
- <highPerformanceMode.schemaRegionReplicaNumber>3</highPerformanceMode.schemaRegionReplicaNumber>
- <strongConsistencyClusterMode.configNodeConsensus>Ratis</strongConsistencyClusterMode.configNodeConsensus>
- <strongConsistencyClusterMode.configNodeNumber>3</strongConsistencyClusterMode.configNodeNumber>
- <strongConsistencyClusterMode.dataNodeNumber>3</strongConsistencyClusterMode.dataNodeNumber>
- <strongConsistencyClusterMode.dataRegionConsensus>Ratis</strongConsistencyClusterMode.dataRegionConsensus>
- <strongConsistencyClusterMode.dataRegionReplicaNumber>3</strongConsistencyClusterMode.dataRegionReplicaNumber>
- <strongConsistencyClusterMode.schemaRegionConsensus>Ratis</strongConsistencyClusterMode.schemaRegionConsensus>
- <strongConsistencyClusterMode.schemaRegionReplicaNumber>3</strongConsistencyClusterMode.schemaRegionReplicaNumber>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-server</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-session</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-jdbc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>trigger-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>isession</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>node-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>udf-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>library-udf</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
- <dependency>
- <groupId>jakarta.validation</groupId>
- <artifactId>jakarta.validation-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-cli</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk18on</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <version>5.10.2</version>
- <artifactId>junit-jupiter-api</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.awaitility</groupId>
- <artifactId>awaitility</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-server</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.github.stephenc.jcip</groupId>
- <artifactId>jcip-annotations</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!-- skip default-test -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <executions>
- <execution>
- <id>default-test</id>
- <configuration>
- <skip>true</skip>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- If the test starts separate processes, we should package first -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <skipAssembly>${integrationTest.launchNodeInSameJVM}</skipAssembly>
- </configuration>
- <executions>
- <!-- Package binaries-->
- <execution>
- <id>cluster-test-assembly</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/mpp-test.xml</descriptor>
- </descriptors>
- <finalName>template-node</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- </configuration>
- </execution>
- <execution>
- <id>cluster-test-assembly-share</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/mpp-share.xml</descriptor>
- </descriptors>
- <finalName>template-node-share</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Run integration tests -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <executions>
- <execution>
- <id>integration-test</id>
- <goals>
- <goal>integration-test</goal>
- </goals>
- <configuration>
- <groups>${integrationTest.includedGroups}</groups>
- <excludedGroups>${integrationTest.excludedGroups}</excludedGroups>
- <useSystemClassLoader>false</useSystemClassLoader>
- <parallel>none</parallel>
- <forkCount>${integrationTest.forkCount}</forkCount>
- <reuseForks>false</reuseForks>
- <systemPropertyVariables>
- <TestEnv>${integrationTest.testEnv}</TestEnv>
- <RandomSelectWriteNode>${integrationTest.randomSelectWriteNode}</RandomSelectWriteNode>
- <ReadAndVerifyWithMultiNode>${integrationTest.readAndVerifyWithMultiNode}</ReadAndVerifyWithMultiNode>
- <lightWeightStandaloneMode.configNodeNumber>${lightWeightStandaloneMode.configNodeNumber}</lightWeightStandaloneMode.configNodeNumber>
- <lightWeightStandaloneMode.dataNodeNumber>${lightWeightStandaloneMode.dataNodeNumber}</lightWeightStandaloneMode.dataNodeNumber>
- <lightWeightStandaloneMode.configNodeConsensus>${lightWeightStandaloneMode.configNodeConsensus}</lightWeightStandaloneMode.configNodeConsensus>
- <lightWeightStandaloneMode.schemaRegionConsensus>${lightWeightStandaloneMode.schemaRegionConsensus}</lightWeightStandaloneMode.schemaRegionConsensus>
- <lightWeightStandaloneMode.dataRegionConsensus>${lightWeightStandaloneMode.dataRegionConsensus}</lightWeightStandaloneMode.dataRegionConsensus>
- <lightWeightStandaloneMode.schemaRegionReplicaNumber>${lightWeightStandaloneMode.schemaRegionReplicaNumber}</lightWeightStandaloneMode.schemaRegionReplicaNumber>
- <lightWeightStandaloneMode.dataRegionReplicaNumber>${lightWeightStandaloneMode.dataRegionReplicaNumber}</lightWeightStandaloneMode.dataRegionReplicaNumber>
- <scalableSingleNodeMode.configNodeNumber>${scalableSingleNodeMode.configNodeNumber}</scalableSingleNodeMode.configNodeNumber>
- <scalableSingleNodeMode.dataNodeNumber>${scalableSingleNodeMode.dataNodeNumber}</scalableSingleNodeMode.dataNodeNumber>
- <scalableSingleNodeMode.configNodeConsensus>${scalableSingleNodeMode.configNodeConsensus}</scalableSingleNodeMode.configNodeConsensus>
- <scalableSingleNodeMode.schemaRegionConsensus>${scalableSingleNodeMode.schemaRegionConsensus}</scalableSingleNodeMode.schemaRegionConsensus>
- <scalableSingleNodeMode.dataRegionConsensus>${scalableSingleNodeMode.dataRegionConsensus}</scalableSingleNodeMode.dataRegionConsensus>
- <scalableSingleNodeMode.schemaRegionReplicaNumber>${scalableSingleNodeMode.schemaRegionReplicaNumber}</scalableSingleNodeMode.schemaRegionReplicaNumber>
- <scalableSingleNodeMode.dataRegionReplicaNumber>${scalableSingleNodeMode.dataRegionReplicaNumber}</scalableSingleNodeMode.dataRegionReplicaNumber>
- <highPerformanceMode.configNodeNumber>${highPerformanceMode.configNodeNumber}</highPerformanceMode.configNodeNumber>
- <highPerformanceMode.dataNodeNumber>${highPerformanceMode.dataNodeNumber}</highPerformanceMode.dataNodeNumber>
- <highPerformanceMode.configNodeConsensus>${highPerformanceMode.configNodeConsensus}</highPerformanceMode.configNodeConsensus>
- <highPerformanceMode.schemaRegionConsensus>${highPerformanceMode.schemaRegionConsensus}</highPerformanceMode.schemaRegionConsensus>
- <highPerformanceMode.dataRegionConsensus>${highPerformanceMode.dataRegionConsensus}</highPerformanceMode.dataRegionConsensus>
- <highPerformanceMode.schemaRegionReplicaNumber>${highPerformanceMode.schemaRegionReplicaNumber}</highPerformanceMode.schemaRegionReplicaNumber>
- <highPerformanceMode.dataRegionReplicaNumber>${highPerformanceMode.dataRegionReplicaNumber}</highPerformanceMode.dataRegionReplicaNumber>
- <strongConsistencyClusterMode.configNodeNumber>${strongConsistencyClusterMode.configNodeNumber}</strongConsistencyClusterMode.configNodeNumber>
- <strongConsistencyClusterMode.dataNodeNumber>${strongConsistencyClusterMode.dataNodeNumber}</strongConsistencyClusterMode.dataNodeNumber>
- <strongConsistencyClusterMode.configNodeConsensus>${strongConsistencyClusterMode.configNodeConsensus}</strongConsistencyClusterMode.configNodeConsensus>
- <strongConsistencyClusterMode.schemaRegionConsensus>${strongConsistencyClusterMode.schemaRegionConsensus}</strongConsistencyClusterMode.schemaRegionConsensus>
- <strongConsistencyClusterMode.dataRegionConsensus>${strongConsistencyClusterMode.dataRegionConsensus}</strongConsistencyClusterMode.dataRegionConsensus>
- <strongConsistencyClusterMode.schemaRegionReplicaNumber>${strongConsistencyClusterMode.schemaRegionReplicaNumber}</strongConsistencyClusterMode.schemaRegionReplicaNumber>
- <strongConsistencyClusterMode.dataRegionReplicaNumber>${strongConsistencyClusterMode.dataRegionReplicaNumber}</strongConsistencyClusterMode.dataRegionReplicaNumber>
- </systemPropertyVariables>
- <summaryFile>target/failsafe-reports/failsafe-summary-IT.xml</summaryFile>
- </configuration>
- </execution>
- <execution>
- <id>verify</id>
- <goals>
- <goal>verify</goal>
- </goals>
- <configuration>
- <summaryFiles>
- <summaryFile>target/failsafe-reports/failsafe-summary-IT.xml</summaryFile>
- </summaryFiles>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Running this here wouldn't really make much sense -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>check-dependencies</id>
- <goals>
- <goal>analyze-only</goal>
- </goals>
- <phase>verify</phase>
- <configuration>
- <skip>true</skip>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <configuration>
- <mainClass>org.apache.iotdb.it.framework.IoTDBTestReporter</mainClass>
- </configuration>
- <executions>
- <execution>
- <id>report</id>
- <goals>
- <goal>java</goal>
- </goals>
- <phase>post-integration-test</phase>
- </execution>
- </executions>
- </plugin>
- <!-- Make sure stuff is also cleaned up, which might be left over from the tests -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>data</directory>
- <includes>
- <include>**</include>
- </includes>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>SimpleIT</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.LocalStandaloneIT</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>false</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>false</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>Simple</integrationTest.testEnv>
- </properties>
- </profile>
- <!-- Currently RemoteIT is not working as it lacks of the remote endpoint parameters -->
- <profile>
- <id>RemoteIT</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.RemoteIT</integrationTest.includedGroups>
- <integrationTest.testEnv>Remote</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>MultiClusterIT</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.MultiClusterIT1,org.apache.iotdb.itbase.category.MultiClusterIT2AutoCreateSchema,org.apache.iotdb.itbase.category.MultiClusterIT2ManualCreateSchema,org.apache.iotdb.itbase.category.MultiClusterIT2SubscriptionArchVerification,org.apache.iotdb.itbase.category.MultiClusterIT2SubscriptionRegressionConsumer,org.apache.iotdb.itbase.category.MultiClusterIT2SubscriptionRegressionMisc,org.apache.iotdb.itbase.category [...]
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>MultiCluster</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>MultiClusterIT1</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.MultiClusterIT1</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>MultiCluster</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>MultiClusterIT2AutoCreateSchema</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.MultiClusterIT2AutoCreateSchema</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>MultiCluster</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>MultiClusterIT2ManualCreateSchema</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.MultiClusterIT2ManualCreateSchema</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>MultiCluster</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>MultiClusterIT2SubscriptionArchVerification</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.MultiClusterIT2SubscriptionArchVerification</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>MultiCluster</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>MultiClusterIT2SubscriptionRegressionConsumer</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.MultiClusterIT2SubscriptionRegressionConsumer</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>MultiCluster</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>MultiClusterIT2SubscriptionRegressionMisc</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.MultiClusterIT2SubscriptionRegressionMisc</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>MultiCluster</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>MultiClusterIT3</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.MultiClusterIT3</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>MultiCluster</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>ClusterIT</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.ClusterIT</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>Cluster1</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>AIClusterIT</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.AIClusterIT</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>false</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>false</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>AI</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>DailyIT</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.DailyIT</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>Cluster1</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>TableSimpleIT</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.TableLocalStandaloneIT</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>false</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>false</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>TABLE_SIMPLE</integrationTest.testEnv>
- </properties>
- </profile>
- <profile>
- <id>TableClusterIT</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <integrationTest.excludedGroups/>
- <integrationTest.includedGroups>org.apache.iotdb.itbase.category.TableClusterIT</integrationTest.includedGroups>
- <integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
- <integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
- <integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
- <integrationTest.testEnv>TABLE_CLUSTER1</integrationTest.testEnv>
- </properties>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-api/external-api/pom.xml.versionsBackup b/iotdb-api/external-api/pom.xml.versionsBackup
deleted file mode 100644
index cd837030350..00000000000
--- a/iotdb-api/external-api/pom.xml.versionsBackup
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>external-api</artifactId>
- <name>IoTDB: API: External API</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>get-jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- <!-- this is used for inheritance merges -->
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-api/pipe-api/pom.xml.versionsBackup b/iotdb-api/pipe-api/pom.xml.versionsBackup
deleted file mode 100644
index 04f8c637a74..00000000000
--- a/iotdb-api/pipe-api/pom.xml.versionsBackup
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>pipe-api</artifactId>
- <name>IoTDB: API: Pipe API</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>get-jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- <!-- this is used for inheritance merges -->
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-api/pom.xml.versionsBackup b/iotdb-api/pom.xml.versionsBackup
deleted file mode 100644
index 5eaa92d67f2..00000000000
--- a/iotdb-api/pom.xml.versionsBackup
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-api</artifactId>
- <packaging>pom</packaging>
- <name>IoTDB: API</name>
- <modules>
- <module>external-api</module>
- <module>pipe-api</module>
- <module>trigger-api</module>
- <module>udf-api</module>
- </modules>
-</project>
diff --git a/iotdb-api/trigger-api/pom.xml.versionsBackup b/iotdb-api/trigger-api/pom.xml.versionsBackup
deleted file mode 100644
index cc6279389d6..00000000000
--- a/iotdb-api/trigger-api/pom.xml.versionsBackup
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>trigger-api</artifactId>
- <name>IoTDB: API: Trigger API</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>get-jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- <!-- this is used for inheritance merges -->
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-api/udf-api/pom.xml.versionsBackup b/iotdb-api/udf-api/pom.xml.versionsBackup
deleted file mode 100644
index c7fbafa4063..00000000000
--- a/iotdb-api/udf-api/pom.xml.versionsBackup
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>udf-api</artifactId>
- <name>IoTDB: API: UDF API</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>get-jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- <!-- this is used for inheritance merges -->
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-client/cli/pom.xml.versionsBackup b/iotdb-client/cli/pom.xml.versionsBackup
deleted file mode 100644
index f8bc063ff70..00000000000
--- a/iotdb-client/cli/pom.xml.versionsBackup
+++ /dev/null
@@ -1,264 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-cli</artifactId>
- <name>IoTDB: Client: CLI</name>
- <properties>
- <cli.it.skip>${cli.test.skip}</cli.it.skip>
- <cli.test.skip>false</cli.test.skip>
- <cli.ut.skip>${cli.test.skip}</cli.ut.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-session</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-jdbc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-antlr</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>node-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-server</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>isession</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-runtime</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-collections4</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-cli</groupId>
- <artifactId>commons-cli</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jline</groupId>
- <artifactId>jline</artifactId>
- </dependency>
- <!-- Not for importing class, used for windows CLI,
- refer to https://github.com/apache/iotdb/pull/4458 -->
- <dependency>
- <groupId>net.java.dev.jna</groupId>
- <artifactId>jna</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-csv</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!--using `mvn test` to run UT, `mvn verify` to run ITs
- Reference: https://antoniogoncalves.org/2012/12/13/lets-turn-integration-tests-with-maven-to-a-first-class-citizen/-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${cli.ut.skip}</skipTests>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <skipTests>${cli.ut.skip}</skipTests>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- <executions>
- <execution>
- <id>run-integration-tests</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <phase>integration-test</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>shade</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <createDependencyReducedPom>false</createDependencyReducedPom>
- <artifactSet>
- <includes>
- <include>org.apache.iotdb:iotdb-cli</include>
- <include>org.apache.iotdb:iotdb-server</include>
- </includes>
- </artifactSet>
- <filters>
- <filter>
- <artifact>org.apache.iotdb:iotdb-server</artifact>
- <includes>
- <include>org/apache/iotdb/db/utils/*</include>
- </includes>
- </filter>
- </filters>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <!-- Package binaries-->
- <execution>
- <id>client-assembly</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/cli.xml</descriptor>
- </descriptors>
- <appendAssemblyId>false</appendAssemblyId>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- </manifest>
- </archive>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <configuration>
- <usedDependencies>
- <!-- This dependency is required at runtime, used for windows CLI -->
- <usedDependency>net.java.dev.jna:jna</usedDependency>
- </usedDependencies>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>skipCliTests</id>
- <activation>
- <property>
- <name>skipTests</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <cli.it.skip>true</cli.it.skip>
- <cli.test.skip>true</cli.test.skip>
- <cli.ut.skip>true</cli.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>skipUT_CliTests</id>
- <activation>
- <property>
- <name>skipUTs</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <cli.ut.skip>true</cli.ut.skip>
- </properties>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-client/client-cpp/pom.xml.versionsBackup b/iotdb-client/client-cpp/pom.xml.versionsBackup
deleted file mode 100644
index 602cf30bce4..00000000000
--- a/iotdb-client/client-cpp/pom.xml.versionsBackup
+++ /dev/null
@@ -1,432 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>client-cpp</artifactId>
- <packaging>pom</packaging>
- <name>IoTDB: Client: Client for CPP</name>
- <description>C++ client</description>
- <!-- TODO: The tests don't run, if distribution has not been built locally and fails without reasoning -->
- <properties>
- <catch2.url>https://github.com/catchorg/Catch2/releases/download/v2.13.7/catch.hpp</catch2.url>
- <cmake.build.type>Release</cmake.build.type>
- <!-- Default value of cmake root -->
- <cmake.root.dir>${project.build.directory}/dependency/cmake/</cmake.root.dir>
- <thrift.exec.absolute.path>${project.build.directory}/thrift/bin/${thrift.executable}</thrift.exec.absolute.path>
- <maven.test.skip>${ctest.skip.tests}</maven.test.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!-- Build and do session integration test -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-test-resources</id>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <phase>validate</phase>
- <configuration>
- <outputDirectory>${project.build.directory}/build/test</outputDirectory>
- <resources>
- <resource>
- <directory>${project.basedir}/src/test</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>get-thrift</id>
- <goals>
- <goal>unpack</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.iotdb.tools</groupId>
- <artifactId>iotdb-tools-thrift</artifactId>
- <version>${iotdb-tools-thrift.version}</version>
- <classifier>${os.classifier}</classifier>
- <type>zip</type>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}/thrift</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.googlecode.maven-download-plugin</groupId>
- <artifactId>download-maven-plugin</artifactId>
- <executions>
- <!-- Download the Catch2 header file. -->
- <execution>
- <id>get-catch2</id>
- <goals>
- <goal>wget</goal>
- </goals>
- <phase>generate-test-resources</phase>
- <configuration>
- <url>${catch2.url}</url>
- <unpack>false</unpack>
- <outputDirectory>${project.build.directory}/build/test/catch2</outputDirectory>
- <skip>${ctest.skip.tests}</skip>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.coderplus.maven.plugins</groupId>
- <artifactId>copy-rename-maven-plugin</artifactId>
- <executions>
- <!-- TODO: Do this differently using the artifact downloader -->
- <execution>
- <id>copy-protocol-thrift-source</id>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <fileSets>
- <fileSet>
- <sourceFile>../../iotdb-protocol/thrift-datanode/src/main/thrift/client.thrift</sourceFile>
- <destinationFile>${project.build.directory}/protocols/client.thrift</destinationFile>
- </fileSet>
- <fileSet>
- <sourceFile>../../iotdb-protocol/thrift-commons/src/main/thrift/common.thrift</sourceFile>
- <destinationFile>${project.build.directory}/protocols/common.thrift</destinationFile>
- </fileSet>
- </fileSets>
- </configuration>
- </execution>
- <!-- TODO: Do this differently using the maven-resources-plugin -->
- <execution>
- <!-- Copy source file and CmakeLists.txt into target directory -->
- <id>copy-cmakelist-file</id>
- <goals>
- <goal>copy</goal>
- </goals>
- <phase>compile</phase>
- <configuration>
- <fileSets>
- <fileSet>
- <sourceFile>${project.basedir}/src/main/CMakeLists.txt</sourceFile>
- <destinationFile>${project.build.directory}/build/main/CMakeLists.txt</destinationFile>
- </fileSet>
- <fileSet>
- <sourceFile>${project.basedir}/src/main/Session.h</sourceFile>
- <destinationFile>${project.build.directory}/build/main/generated-sources-cpp/Session.h</destinationFile>
- </fileSet>
- <fileSet>
- <sourceFile>${project.basedir}/src/main/Session.cpp</sourceFile>
- <destinationFile>${project.build.directory}/build/main/generated-sources-cpp/Session.cpp</destinationFile>
- </fileSet>
- </fileSets>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.thrift</groupId>
- <artifactId>thrift-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-thrift-sources-cpp</id>
- <goals>
- <goal>compile</goal>
- </goals>
- <!-- Move from generate-sources to generate-resources to avoid double executions -->
- <phase>generate-resources</phase>
- <configuration>
- <generator>cpp:no_skeleton</generator>
- <thriftExecutable>${thrift.exec.absolute.path}</thriftExecutable>
- <thriftSourceRoot>${project.build.directory}/protocols</thriftSourceRoot>
- <outputDirectory>${project.build.directory}/build/main/generated-sources-cpp</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.googlecode.cmake-maven-project</groupId>
- <artifactId>cmake-maven-plugin</artifactId>
- <executions>
- <!-- Uses a CMake generator to generate the build using the build tool of choice -->
- <execution>
- <id>cmake-generate</id>
- <goals>
- <goal>generate</goal>
- </goals>
- <phase>compile</phase>
- <configuration>
- <generator>${cmake.generator}</generator>
- <sourcePath>${project.build.directory}/build/main</sourcePath>
- <targetPath>${project.build.directory}/build/main</targetPath>
- <options>
- <option>-DBOOST_INCLUDEDIR=${boost.include.dir}</option>
- </options>
- </configuration>
- </execution>
- <!-- Generate Cmake build directory to compile testing program -->
- <execution>
- <id>cmake-generate-test</id>
- <goals>
- <goal>generate</goal>
- </goals>
- <phase>test-compile</phase>
- <configuration>
- <generator>${cmake.generator}</generator>
- <sourcePath>${project.build.directory}/build/test</sourcePath>
- <targetPath>${project.build.directory}/build/test</targetPath>
- <options>
- <option>-DBOOST_INCLUDEDIR=${boost.include.dir}</option>
- </options>
- </configuration>
- </execution>
- <!-- Actually executes the build -->
- <execution>
- <id>cmake-compile</id>
- <goals>
- <goal>compile</goal>
- </goals>
- <phase>compile</phase>
- <configuration>
- <config>${cmake.build.type}</config>
- <!-- The directory where the "generate" step generated the build configuration -->
- <projectDirectory>${project.build.directory}/build/main</projectDirectory>
- </configuration>
- </execution>
- <!-- Actually executes the testing compilation -->
- <execution>
- <id>cmake-compile-test</id>
- <goals>
- <goal>compile</goal>
- </goals>
- <phase>test-compile</phase>
- <configuration>
- <config>${cmake.build.type}</config>
- <projectDirectory>${project.build.directory}/build/test</projectDirectory>
- </configuration>
- </execution>
- <!-- Run the integration test cases -->
- <!-- TODO: This execution doesn't seem to respect the "skipTests" config -->
- <execution>
- <id>cmake-run-test</id>
- <goals>
- <goal>test</goal>
- </goals>
- <phase>integration-test</phase>
- <configuration>
- <buildDirectory>${project.build.directory}/build/test</buildDirectory>
- <skipTests>${ctest.skip.tests}</skipTests>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--Package all C++ header files and client library-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>package-client-cpp</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <finalName>${project.artifactId}-${project.version}</finalName>
- <descriptors>
- <descriptor>src/assembly/client-cpp.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.bazaarvoice.maven.plugins</groupId>
- <artifactId>process-exec-maven-plugin</artifactId>
- <executions>
- <!-- Start a local IoTDB server to run integration test cases -->
- <execution>
- <id>start-iotdb</id>
- <goals>
- <goal>start</goal>
- </goals>
- <phase>pre-integration-test</phase>
- <configuration>
- <skip>${ctest.skip.tests}</skip>
- <name>iotdb-server</name>
- <waitForInterrupt>false</waitForInterrupt>
- <!-- Maximum time in seconds to wait after launching IoTDB -->
- <waitAfterLaunch>15</waitAfterLaunch>
- <!-- Redirect IoTDB server log to /dev/null -->
- <processLogFile>${project.build.directory}/build/test/test.log</processLogFile>
- <arguments>
- <!-- TODO: This depends on distribution being build first and it being available in unpacked form ... unpacking the distribution locally will be the better option -->
- <argument>${project.basedir}/../../distribution/target/apache-iotdb-${project.version}-all-bin/apache-iotdb-${project.version}-all-bin/sbin/${iotdb.start.script}</argument>
- </arguments>
- </configuration>
- </execution>
- <!-- Stop the IoTDB server when integration test finishes -->
- <execution>
- <id>stop-iotdb</id>
- <goals>
- <goal>stop-all</goal>
- </goals>
- <phase>post-integration-test</phase>
- <configuration>
- <skip>${ctest.skip.tests}</skip>
- <name>iotdb-server</name>
- <waitForInterrupt>false</waitForInterrupt>
- <!-- Maximum time in seconds to wait after launching IoTDB -->
- <waitAfterLaunch>5</waitAfterLaunch>
- <!-- Redirect IoTDB server log to /dev/null -->
- <processLogFile>${project.build.directory}/build/test/test1.log</processLogFile>
- <arguments>
- <argument>${project.basedir}/../../distribution/target/apache-iotdb-${project.version}-all-bin/apache-iotdb-${project.version}-all-bin/sbin/${iotdb.stop.script}</argument>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>.os-unix</id>
- <activation>
- <os>
- <name>Linux</name>
- <family>unix</family>
- <arch>!aarch64</arch>
- </os>
- </activation>
- <properties>
- <iotdb.start.script>start-standalone.sh</iotdb.start.script>
- <iotdb.stop.script>stop-standalone.sh</iotdb.stop.script>
- <os.suffix>linux</os.suffix>
- </properties>
- </profile>
- <profile>
- <id>.os-unix-arm</id>
- <activation>
- <os>
- <name>Linux</name>
- <family>unix</family>
- <arch>aarch64</arch>
- </os>
- </activation>
- <properties>
- <iotdb.start.script>start-standalone.sh</iotdb.start.script>
- <iotdb.stop.script>stop-standalone.sh</iotdb.stop.script>
- <os.suffix>linux</os.suffix>
- </properties>
- </profile>
- <profile>
- <id>.os-mac</id>
- <activation>
- <os>
- <family>mac</family>
- <arch>!aarch64</arch>
- </os>
- </activation>
- <properties>
- <iotdb.start.script>start-standalone.sh</iotdb.start.script>
- <iotdb.stop.script>stop-standalone.sh</iotdb.stop.script>
- <os.suffix>mac</os.suffix>
- </properties>
- </profile>
- <profile>
- <id>.os-mac-arm</id>
- <activation>
- <os>
- <family>mac</family>
- <arch>aarch64</arch>
- </os>
- </activation>
- <properties>
- <iotdb.start.script>start-standalone.sh</iotdb.start.script>
- <iotdb.stop.script>stop-standalone.sh</iotdb.stop.script>
- <os.suffix>mac</os.suffix>
- </properties>
- </profile>
- <profile>
- <id>.os-windows</id>
- <activation>
- <os>
- <family>windows</family>
- </os>
- </activation>
- <properties>
- <iotdb.start.script>start-standalone.bat</iotdb.start.script>
- <iotdb.stop.script>stop-standalone.bat</iotdb.stop.script>
- <os.suffix>win</os.suffix>
- </properties>
- </profile>
- <profile>
- <id>.skipTests</id>
- <activation>
- <property>
- <name>skipTests</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>com.googlecode.cmake-maven-project</groupId>
- <artifactId>cmake-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>cmake-compile-test</id>
- <phase>none</phase>
- <!-- This effectively skips the execution -->
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-client/client-py/pom.xml.versionsBackup b/iotdb-client/client-py/pom.xml.versionsBackup
deleted file mode 100644
index 336835de9eb..00000000000
--- a/iotdb-client/client-py/pom.xml.versionsBackup
+++ /dev/null
@@ -1,203 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-python-api</artifactId>
- <name>IoTDB: Client: Python-API</name>
- <description>Python API of IoTDB.</description>
- <dependencies>
- <!-- This is just for ensuring the other module is built first -->
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <resources>
- <resource>
- <filtering>true</filtering>
- <directory>${basedir}/resources</directory>
- <includes>
- <include>pyproject.toml</include>
- </includes>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <!-- clean thrift and old build folder -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>iotdb</directory>
- <includes>
- <include>thrift/</include>
- </includes>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>apache_iotdb.egg-info</directory>
- </fileset>
- <fileset>
- <directory>build</directory>
- </fileset>
- <fileset>
- <directory>dist</directory>
- </fileset>
- <fileset>
- <directory>./</directory>
- <includes>
- <include>LICENSE</include>
- </includes>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <!-- fill thrift folder -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- <executions>
- <execution>
- <id>copy-thrift-python-resources</id>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <!-- here the phase you need -->
- <phase>generate-sources</phase>
- <configuration>
- <encoding>utf-8</encoding>
- <outputDirectory>${basedir}/iotdb/thrift/</outputDirectory>
- <resources>
- <resource>
- <directory>${basedir}/../../iotdb-protocol/thrift-datanode/target/generated-sources-python/iotdb/thrift/</directory>
- <includes>
- <include>**/rpc/*</include>
- </includes>
- </resource>
- <resource>
- <directory>${basedir}/../../iotdb-protocol/thrift-commons/target/generated-sources-python/iotdb/thrift/</directory>
- </resource>
- </resources>
- </configuration>
- </execution>
- <!-- Copy License -->
- <execution>
- <id>copy-pypi-file-resources</id>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <!-- here the phase you need -->
- <phase>generate-sources</phase>
- <configuration>
- <encoding>utf-8</encoding>
- <outputDirectory>${basedir}/</outputDirectory>
- <resources>
- <resource>
- <directory>${basedir}/..</directory>
- <includes>
- <include>LICENSE</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- <execution>
- <id>copy-setup-file-resources</id>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <!-- here the phase you need -->
- <phase>generate-sources</phase>
- <configuration>
- <encoding>utf-8</encoding>
- <outputDirectory>${basedir}/</outputDirectory>
- <resources>
- <resource>
- <directory>${basedir}/target/classes</directory>
- <includes>
- <include>pyproject.toml</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>write-iotdb-version</id>
- <goals>
- <goal>regex-property</goal>
- </goals>
- <phase>generate-resources</phase>
- <configuration>
- <name>iotdb_version</name>
- <regex>-SNAPSHOT</regex>
- <value>${project.version}</value>
- <replacement>\.dev0</replacement>
- <failIfNoMatch>false</failIfNoMatch>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <configuration>
- <usedDependencies>
- <!-- This dependency is only used for ensuring the build order -->
- <usedDependency>org.apache.iotdb:iotdb-thrift-commons</usedDependency>
- <usedDependency>org.apache.iotdb:iotdb-thrift</usedDependency>
- </usedDependencies>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/iotdb-client/isession/pom.xml.versionsBackup b/iotdb-client/isession/pom.xml.versionsBackup
deleted file mode 100644
index d561b5b8e28..00000000000
--- a/iotdb-client/isession/pom.xml.versionsBackup
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>isession</artifactId>
- <name>IoTDB: Client: isession</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- </dependencies>
-</project>
diff --git a/iotdb-client/jdbc/pom.xml.versionsBackup b/iotdb-client/jdbc/pom.xml.versionsBackup
deleted file mode 100644
index a1a9216278e..00000000000
--- a/iotdb-client/jdbc/pom.xml.versionsBackup
+++ /dev/null
@@ -1,306 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-jdbc</artifactId>
- <name>IoTDB: Client: Jdbc</name>
- <description>A jdbc driver for a time series database, IoTDB, which uses TsFile as its storage format on disk.</description>
- <properties>
- <jdbc.it.skip>${jdbc.test.skip}</jdbc.it.skip>
- <jdbc.test.skip>false</jdbc.test.skip>
- <jdbc.ut.skip>${jdbc.test.skip}</jdbc.ut.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.cmpn</artifactId>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-common</artifactId>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <resources>
- <resource>
- <targetPath>${project.build.directory}/feature</targetPath>
- <filtering>true</filtering>
- <directory>src/main/feature</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>resources</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!--
- The feature plugin doesn't correctly attach the generated feature file so it
- wouldn't be signed and hashed during a release build. By manually-attaching it
- we make sure it's processed correctly.
- -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-features</id>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <artifacts>
- <artifact>
- <file>target/feature/feature.xml</file>
- <classifier>features</classifier>
- <type>xml</type>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--
- Generate an OSGI compatible MANIFEST file.
- -->
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <configuration>
- <exportScr>true</exportScr>
- <instructions>
- <_include>osgi.bnd</_include>
- <_removeheaders>Bnd-LastModified,Built-By</_removeheaders>
- <Embed-Dependency>dependencies</Embed-Dependency>
- </instructions>
- </configuration>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <goals>
- <goal>manifest</goal>
- </goals>
- <phase>process-classes</phase>
- </execution>
- </executions>
- </plugin>
- <!--
- Use the MANIFEST file generated by the maven-bundle-plugin.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- </plugin>
- <!--using `mvn test` to run UT, `mvn verify` to run ITs
- Reference: https://antoniogoncalves.org/2012/12/13/lets-turn-integration-tests-with-maven-to-a-first-class-citizen/-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${jdbc.ut.skip}</skipTests>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <skipTests>${jdbc.test.skip}</skipTests>
- <skipITs>${jdbc.it.skip}</skipITs>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- <executions>
- <execution>
- <id>run-integration-tests</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <phase>integration-test</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>only-eclipse</id>
- <activation>
- <property>
- <name>m2e.version</name>
- </property>
- </activation>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <versionRange>${maven-dependency-plugin.version}</versionRange>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore/>
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- </profile>
- <profile>
- <id>skipTsfileTests</id>
- <activation>
- <property>
- <name>skipTests</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <jdbc.it.skip>true</jdbc.it.skip>
- <jdbc.test.skip>true</jdbc.test.skip>
- <jdbc.ut.skip>true</jdbc.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>skipUT_JDBC_Tests</id>
- <activation>
- <property>
- <name>skipUTs</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <jdbc.ut.skip>true</jdbc.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>get-jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>${maven.assembly.version}</version>
- <configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- <!-- this is used for inheritance merges -->
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-client/pom.xml.versionsBackup b/iotdb-client/pom.xml.versionsBackup
deleted file mode 100644
index 7e007431669..00000000000
--- a/iotdb-client/pom.xml.versionsBackup
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-client</artifactId>
- <packaging>pom</packaging>
- <name>IoTDB: Client</name>
- <modules>
- <module>cli</module>
- <module>client-py</module>
- <module>isession</module>
- <module>jdbc</module>
- <module>service-rpc</module>
- <module>session</module>
- </modules>
- <profiles>
- <profile>
- <id>with-cpp</id>
- <modules>
- <module>client-cpp</module>
- </modules>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-client/service-rpc/pom.xml.versionsBackup b/iotdb-client/service-rpc/pom.xml.versionsBackup
deleted file mode 100644
index bfc3805f581..00000000000
--- a/iotdb-client/service-rpc/pom.xml.versionsBackup
+++ /dev/null
@@ -1,187 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>service-rpc</artifactId>
- <name>IoTDB: Client: Service-RPC</name>
- <description>RPC framework for client and server.</description>
- <properties>
- <rpc.it.skip>${rpc.test.skip}</rpc.it.skip>
- <rpc.test.skip>false</rpc.test.skip>
- <rpc.ut.skip>${rpc.test.skip}</rpc.ut.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>pipe-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- <!-- we want to reduce the size of JDBC -->
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>org.xerial.snappy</groupId>
- <artifactId>snappy-java</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!--
- Generate an OSGI compatible MANIFEST file.
- -->
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <configuration>
- <exportScr>true</exportScr>
- <instructions>
- <_include>-bnd.bnd</_include>
- <_removeheaders>Bnd-LastModified,Built-By</_removeheaders>
- <Embed-Dependency>dependencies</Embed-Dependency>
- </instructions>
- </configuration>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <goals>
- <goal>manifest</goal>
- </goals>
- <phase>process-classes</phase>
- </execution>
- </executions>
- </plugin>
- <!--
- Use the MANIFEST file generated by the maven-bundle-plugin.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- </plugin>
- <!--using `mvn test` to run UT, `mvn verify` to run ITs
- Reference: https://antoniogoncalves.org/2012/12/13/lets-turn-integration-tests-with-maven-to-a-first-class-citizen/-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${rpc.ut.skip}</skipTests>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <skipTests>${rpc.test.skip}</skipTests>
- <skipITs>${rpc.it.skip}</skipITs>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- <executions>
- <execution>
- <id>run-integration-tests</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <phase>integration-test</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>skipTsfileTests</id>
- <activation>
- <property>
- <name>skipTests</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <rpc.it.skip>true</rpc.it.skip>
- <rpc.test.skip>true</rpc.test.skip>
- <rpc.ut.skip>true</rpc.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>skipUT_ServiceRPC_Tests</id>
- <activation>
- <property>
- <name>skipUTs</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <rpc.ut.skip>true</rpc.ut.skip>
- </properties>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-client/session/pom.xml.versionsBackup b/iotdb-client/session/pom.xml.versionsBackup
deleted file mode 100644
index b465de97ed0..00000000000
--- a/iotdb-client/session/pom.xml.versionsBackup
+++ /dev/null
@@ -1,181 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-client</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-session</artifactId>
- <name>IoTDB: Client: Session</name>
- <properties>
- <session.it.skip>${session.test.skip}</session.it.skip>
- <session.test.skip>false</session.test.skip>
- <session.ut.skip>${session.test.skip}</session.ut.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>isession</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-reflect</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!--using `mvn test` to run UT, `mvn verify` to run ITs
- Reference: https://antoniogoncalves.org/2012/12/13/lets-turn-integration-tests-with-maven-to-a-first-class-citizen/-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${session.ut.skip}</skipTests>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <skipTests>${session.test.skip}</skipTests>
- <skipITs>${session.it.skip}</skipITs>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- <executions>
- <execution>
- <id>run-integration-tests</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <phase>integration-test</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>skipSessionTests</id>
- <activation>
- <property>
- <name>skipTests</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <session.it.skip>true</session.it.skip>
- <session.test.skip>true</session.test.skip>
- <session.ut.skip>true</session.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>skipUT_SessionTests</id>
- <activation>
- <property>
- <name>skipUTs</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <session.ut.skip>true</session.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>get-jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- <!-- this is used for inheritance merges -->
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-core/ainode/pom.xml.versionsBackup b/iotdb-core/ainode/pom.xml.versionsBackup
deleted file mode 100644
index c9dc1b11406..00000000000
--- a/iotdb-core/ainode/pom.xml.versionsBackup
+++ /dev/null
@@ -1,370 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-ainode</artifactId>
- <name>IoTDB: Core: AINode</name>
- <dependencies>
- <!-- These dependencies are just added to ensure the other modules are built first -->
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-ainode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!-- clean thrift folder -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- </fileset>
- <fileset>
- <directory>iotdb</directory>
- <includes>
- <include>conf/</include>
- <include>thrift/</include>
- </includes>
- </fileset>
- <fileset>
- <directory>target</directory>
- </fileset>
- <fileset>
- <directory>venv</directory>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.gmaven</groupId>
- <artifactId>groovy-maven-plugin</artifactId>
- <executions>
- <!--
- The python versioning follows slightly different rules than Maven.
- This little script makes sure the python project file is always in
- sync with the maven module.
- -->
- <execution>
- <id>sync-python-version</id>
- <phase>validate</phase>
- <goals>
- <goal>execute</goal>
- </goals>
- <configuration>
- <source>${project.basedir}/resources/syncPythonVersion.groovy</source>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.apache.groovy</groupId>
- <artifactId>groovy</artifactId>
- <version>4.0.22</version>
- </dependency>
- <dependency>
- <groupId>org.apache.groovy</groupId>
- <artifactId>groovy-toml</artifactId>
- <version>4.0.22</version>
- </dependency>
- </dependencies>
- </plugin>
- <!-- Copy external resources and prepare the pom.properties file -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- <executions>
- <execution>
- <id>copy-thrift-python-resources</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/iotdb/thrift/</outputDirectory>
- <resources>
- <resource>
- <directory>${basedir}/../../iotdb-protocol/thrift-commons/target/generated-sources-python/iotdb/thrift/</directory>
- </resource>
- <resource>
- <directory>${basedir}/../../iotdb-protocol/thrift-confignode/target/generated-sources-python/iotdb/thrift/</directory>
- </resource>
- <resource>
- <directory>${basedir}/../../iotdb-protocol/thrift-ainode/target/generated-sources-python/iotdb/thrift/</directory>
- </resource>
- <resource>
- <directory>${basedir}/../../iotdb-protocol/thrift-datanode/target/generated-sources-python/iotdb/thrift/</directory>
- <excludes>rpc/**</excludes>
- </resource>
- </resources>
- </configuration>
- </execution>
- <!--
- Copy the template pom.properties from the resources directory and replace the
- version variable with the real one from this module.
- -->
- <execution>
- <id>copy-pom-properties</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/iotdb/conf/</outputDirectory>
- <resources>
- <resource>
- <directory>${basedir}/resources/</directory>
- <includes>pom.properties</includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Generate a file called git.properties to provide git version info -->
- <plugin>
- <groupId>pl.project13.maven</groupId>
- <artifactId>git-commit-id-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-git-properties</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>revision</goal>
- </goals>
- <configuration>
- <generateGitPropertiesFile>true</generateGitPropertiesFile>
- <generateGitPropertiesFilename>${project.basedir}/iotdb/conf/git.properties</generateGitPropertiesFilename>
- <includeOnlyProperties>
- <includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty>
- <includeOnlyProperty>^git.dirty$</includeOnlyProperty>
- </includeOnlyProperties>
- <commitIdGenerationMode>full</commitIdGenerationMode>
- <failOnNoGitDirectory>false</failOnNoGitDirectory>
- <offline>true</offline>
- <gitDescribe>
- <dirty>-dev</dirty>
- </gitDescribe>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <executions>
- <!-- Prepare a local installation of python -->
- <execution>
- <id>python-venv</id>
- <phase>initialize</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>${python.exe.bin}</executable>
- <arguments>
- <argument>-m</argument>
- <argument>venv</argument>
- <argument>./venv</argument>
- </arguments>
- </configuration>
- </execution>
- <!-- Update pip in our local working environment -->
- <execution>
- <id>python-upgrade-pip</id>
- <phase>initialize</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>${python.venv.bin}${python.exe.bin}</executable>
- <arguments>
- <argument>-m</argument>
- <argument>pip</argument>
- <argument>install</argument>
- <argument>--upgrade</argument>
- <argument>pip</argument>
- </arguments>
- </configuration>
- </execution>
- <!-- Install poetry in our local working environment -->
- <execution>
- <id>python-install-poetry</id>
- <phase>initialize</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>${python.venv.bin}pip3</executable>
- <arguments>
- <argument>install</argument>
- <argument>poetry</argument>
- </arguments>
- </configuration>
- </execution>
- <!-- Refoemat code -->
- <!--execution>
- <id>python-black</id>
- <phase>process-sources</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>${python.venv.bin}${python.exe.bin}</executable>
- <arguments>
- <argument>-m</argument>
- <argument>black</argument>
- <argument>.</argument>
- </arguments>
- </configuration>
- </execution-->
- <execution>
- <id>python-compile</id>
- <phase>compile</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>${python.venv.bin}poetry</executable>
- <arguments>
- <argument>build</argument>
- </arguments>
- </configuration>
- </execution>
- <!--execution>
- <id>python-test</id>
- <phase>test</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>${python.venv.bin}${python.exe.bin}</executable>
- <arguments>
- <argument>-m</argument>
- <argument>pytest</argument>
- <argument>tests</argument>
- </arguments>
- </configuration>
- </execution-->
- <!--execution>
- <id>python-package</id>
- <phase>package</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>${python.venv.bin}pip3</executable>
- <arguments>
- <argument>wheel</argument>
- <argument>.</argument>
- <argument>-w</argument>
- <argument>dist</argument>
- <argument>- -no-deps</argument>
- </arguments>
- </configuration>
- </execution-->
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>3.3.0</version>
- <executions>
- <execution>
- <id>create-ainode-zip</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <finalName>apache-iotdb-ainode-${project.version}</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- <descriptors>
- <descriptor>ainode.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Tell the dependency plugin that we indeed used these dependencies -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>check-dependencies</id>
- <goals>
- <goal>analyze-only</goal>
- </goals>
- <phase>verify</phase>
- <configuration>
- <usedDependencies combine.children="append">
- <usedDependency>org.apache.iotdb:iotdb-thrift-commons</usedDependency>
- <usedDependency>org.apache.iotdb:iotdb-thrift</usedDependency>
- <usedDependency>org.apache.iotdb:iotdb-thrift-confignode</usedDependency>
- <usedDependency>org.apache.iotdb:iotdb-thrift-ainode</usedDependency>
- </usedDependencies>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/iotdb-core/antlr/pom.xml.versionsBackup b/iotdb-core/antlr/pom.xml.versionsBackup
deleted file mode 100644
index 108f2ca047f..00000000000
--- a/iotdb-core/antlr/pom.xml.versionsBackup
+++ /dev/null
@@ -1,104 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-antlr</artifactId>
- <name>IoTDB: Core: Antlr-Parser</name>
- <description>Antlr parser for IoTDB.</description>
- <dependencies>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-runtime</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>antlr4</goal>
- </goals>
- <configuration>
- <listener>false</listener>
- <visitor>true</visitor>
- <libDirectory>src/main/antlr4/org/apache/iotdb/db/qp/sql</libDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <goals>
- <goal>add-source</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-sources/antlr4</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>${basedir}/gen</directory>
- </fileset>
- <fileset>
- <directory>${basedir}/src</directory>
- <includes>
- <include>**/*.tokens</include>
- </includes>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <configuration>
- <consoleOutput>true</consoleOutput>
- <excludes combine.children="append">
- <exclude>**/SqlLexer.java</exclude>
- <exclude>**/SqlLexer.interp</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/iotdb-core/confignode/pom.xml.versionsBackup b/iotdb-core/confignode/pom.xml.versionsBackup
deleted file mode 100644
index ce73fa5a986..00000000000
--- a/iotdb-core/confignode/pom.xml.versionsBackup
+++ /dev/null
@@ -1,260 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-confignode</artifactId>
- <name>IoTDB: Core: ConfigNode</name>
- <properties>
- <confignode.it.skip>${confignode.test.skip}</confignode.it.skip>
- <confignode.test.skip>false</confignode.test.skip>
- <confignode.ut.skip>${confignode.test.skip}</confignode.ut.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-server</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>pipe-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>trigger-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>metrics-interface</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-ainode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>node-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>udf-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-common</artifactId>
- </dependency>
- <dependency>
- <groupId>jakarta.validation</groupId>
- <artifactId>jakarta.validation-api</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <!-- Package binaries-->
- <execution>
- <id>confignode-assembly</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/confignode.xml</descriptor>
- </descriptors>
- <appendAssemblyId>false</appendAssemblyId>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- </manifest>
- </archive>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- generate test codes into test-jar-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!--using `mvn test` to run UT, `mvn verify` to run ITs
- Reference: https://antoniogoncalves.org/2012/12/13/lets-turn-integration-tests-with-maven-to-a-first-class-citizen/-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${confignode.ut.skip}</skipTests>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- </plugin>
- <!-- Make sure stuff is also cleaned up, which might be left over from the tests -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>data</directory>
- <includes>
- <include>**</include>
- </includes>
- </fileset>
- <fileset>
- <directory>ext</directory>
- <includes>
- <include>**</include>
- </includes>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>skipConfigNodeTests</id>
- <activation>
- <property>
- <name>skipTests</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <confignode.it.skip>true</confignode.it.skip>
- <confignode.test.skip>true</confignode.test.skip>
- <confignode.ut.skip>true</confignode.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>skipUT_ConfigNode_Tests</id>
- <activation>
- <property>
- <name>skipUTs</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <confignode.ut.skip>true</confignode.ut.skip>
- </properties>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-core/consensus/pom.xml.versionsBackup b/iotdb-core/consensus/pom.xml.versionsBackup
deleted file mode 100644
index 6c914a352a0..00000000000
--- a/iotdb-core/consensus/pom.xml.versionsBackup
+++ /dev/null
@@ -1,196 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-consensus</artifactId>
- <name>IoTDB: Core: Consensus</name>
- <properties>
- <consensus.it.skip>${consensus.test.skip}</consensus.it.skip>
- <consensus.test.skip>false</consensus.test.skip>
- <consensus.ut.skip>${consensus.test.skip}</consensus.ut.skip>
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>node-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>metrics-interface</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>pipe-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-server</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-server-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-common</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-client</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-grpc</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-proto</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-metrics-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-thirdparty-misc</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-pool2</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!-- generate test codes into test-jar-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!--using `mvn test` to run UT, `mvn verify` to run ITs
- Reference: https://antoniogoncalves.org/2012/12/13/lets-turn-integration-tests-with-maven-to-a-first-class-citizen/-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${consensus.ut.skip}</skipTests>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>skipConsensusTests</id>
- <activation>
- <property>
- <name>skipTests</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <consensus.it.skip>true</consensus.it.skip>
- <consensus.test.skip>true</consensus.test.skip>
- <consensus.ut.skip>true</consensus.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>skipUT_Consensus_Tests</id>
- <activation>
- <property>
- <name>skipUTs</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <consensus.ut.skip>true</consensus.ut.skip>
- </properties>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-core/datanode/pom.xml.versionsBackup b/iotdb-core/datanode/pom.xml.versionsBackup
deleted file mode 100644
index 14d045fd124..00000000000
--- a/iotdb-core/datanode/pom.xml.versionsBackup
+++ /dev/null
@@ -1,600 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-server</artifactId>
- <name>IoTDB: Core: Data-Node (Server)</name>
- <properties>
- <iotdb.it.skip>${iotdb.test.skip}</iotdb.it.skip>
- <iotdb.test.skip>false</iotdb.test.skip>
- <iotdb.ut.skip>${iotdb.test.skip}</iotdb.ut.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>external-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>openapi</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>node-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>isession</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-antlr</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-relational-grammar</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>udf-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>trigger-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>metrics-interface</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-ainode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>pipe-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-session</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-collections4</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
- <dependency>
- <groupId>io.airlift</groupId>
- <artifactId>units</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.errorprone</groupId>
- <artifactId>error_prone_annotations</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-common</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-common</artifactId>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.milo</groupId>
- <artifactId>stack-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.milo</groupId>
- <artifactId>sdk-core</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- </dependency>
- <dependency>
- <groupId>jakarta.servlet</groupId>
- <artifactId>jakarta.servlet-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.milo</groupId>
- <artifactId>stack-server</artifactId>
- </dependency>
- <dependency>
- <groupId>org.checkerframework</groupId>
- <artifactId>checker-qual</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-http</artifactId>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-mqtt</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-pool2</artifactId>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-runtime</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-util</artifactId>
- </dependency>
- <dependency>
- <groupId>io.airlift</groupId>
- <artifactId>airline</artifactId>
- </dependency>
- <dependency>
- <groupId>io.airlift</groupId>
- <artifactId>concurrent</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-server</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.milo</groupId>
- <artifactId>sdk-server</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-cli</groupId>
- <artifactId>commons-cli</artifactId>
- </dependency>
- <dependency>
- <groupId>jakarta.validation</groupId>
- <artifactId>jakarta.validation-api</artifactId>
- </dependency>
- <dependency>
- <groupId>jakarta.ws.rs</groupId>
- <artifactId>jakarta.ws.rs-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.reflections</groupId>
- <artifactId>reflections</artifactId>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.containers</groupId>
- <artifactId>jersey-container-servlet-core</artifactId>
- </dependency>
- <dependency>
- <groupId>io.moquette</groupId>
- <artifactId>moquette-broker</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-buffer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-servlet</artifactId>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.inject</groupId>
- <artifactId>jersey-hk2</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>com.github.ben-manes.caffeine</groupId>
- <artifactId>caffeine</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- <dependency>
- <groupId>com.lmax</groupId>
- <artifactId>disruptor</artifactId>
- </dependency>
- <dependency>
- <groupId>org.java-websocket</groupId>
- <artifactId>Java-WebSocket</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- This dependency is needed at runtime, so please not set test scope -->
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>metrics-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- Possibly these need to move into the compile or provided scope -->
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt-impl</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- Possibly these need to move into the compile or provided scope -->
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt-jackson</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>net.minidev</groupId>
- <artifactId>json-smart</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-thirdparty-misc</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>com.nimbusds</groupId>
- <artifactId>oauth2-oidc-sdk</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-core</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-module-junit4</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-api-mockito2</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.awaitility</groupId>
- <artifactId>awaitility</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!--using `mvn test` to run UT, `mvn verify` to run ITs
- Reference: https://antoniogoncalves.org/2012/12/13/lets-turn-integration-tests-with-maven-to-a-first-class-citizen/-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${iotdb.ut.skip}</skipTests>
- <systemProperties>
- <IOTDB_CONF>${project.basedir}/src/test/resources</IOTDB_CONF>
- </systemProperties>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <skipTests>${iotdb.test.skip}</skipTests>
- <skipITs>${iotdb.it.skip}</skipITs>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- <executions>
- <execution>
- <id>run-integration-tests</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <phase>integration-test</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <!-- Package binaries-->
- <execution>
- <id>server-assembly</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/server.xml</descriptor>
- </descriptors>
- <appendAssemblyId>false</appendAssemblyId>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- </manifest>
- </archive>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- generate test codes into test-jar-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <!-- copy all templates/data in the same location to compile them at once -->
- <id>copy-fmpp-resources</id>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <phase>initialize</phase>
- <configuration>
- <outputDirectory>${project.build.directory}/codegen</outputDirectory>
- <resources>
- <resource>
- <directory>src/main/codegen</directory>
- <filtering>false</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <!-- generate sources from fmpp -->
- <groupId>org.apache.drill.tools</groupId>
- <artifactId>drill-fmpp-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-fmpp</id>
- <goals>
- <goal>generate</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <config>${project.build.directory}/codegen/config.fmpp</config>
- <output>${project.build.directory}/generated-sources/freemarker</output>
- <templates>${project.build.directory}/codegen/templates</templates>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <goals>
- <goal>add-source</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-sources/freemarker</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Make sure stuff is also cleaned up, which might be left over from the tests -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>data</directory>
- <includes>
- <include>**</include>
- </includes>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <configuration>
- <ignoredDependencies>
- <!-- For some reason this plugin missed it being used for a constant import -->
- <ignoredDependency>org.apache.iotdb:isession</ignoredDependency>
- </ignoredDependencies>
- <usedDependencies>
- <!-- These are used at runtime in tests -->
- <usedDependency>io.jsonwebtoken:jjwt-impl</usedDependency>
- <usedDependency>io.jsonwebtoken:jjwt-jackson</usedDependency>
- <!-- This dependency is required at runtime, when enabling the rest service -->
- <usedDependency>org.glassfish.jersey.inject:jersey-hk2</usedDependency>
- </usedDependencies>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>8</source>
- <target>8</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>skipIoTDBTests</id>
- <activation>
- <property>
- <name>skipTests</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <iotdb.it.skip>true</iotdb.it.skip>
- <iotdb.test.skip>true</iotdb.test.skip>
- <iotdb.ut.skip>true</iotdb.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>skipUT_IoTDB_Tests</id>
- <activation>
- <property>
- <name>skipUTs</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <iotdb.ut.skip>true</iotdb.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>only_test_server</id>
- <activation>
- <property>
- <name>iotdb.test.only</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <iotdb.it.skip>false</iotdb.it.skip>
- <iotdb.test.skip>false</iotdb.test.skip>
- <iotdb.ut.skip>false</iotdb.ut.skip>
- </properties>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-core/metrics/core/pom.xml.versionsBackup b/iotdb-core/metrics/core/pom.xml.versionsBackup
deleted file mode 100644
index 412a9a58762..00000000000
--- a/iotdb-core/metrics/core/pom.xml.versionsBackup
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-metrics</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>metrics-core</artifactId>
- <name>IoTDB: Core: Metrics: API Impl</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>metrics-interface</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-core</artifactId>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- </dependencies>
-</project>
diff --git a/iotdb-core/metrics/interface/pom.xml.versionsBackup b/iotdb-core/metrics/interface/pom.xml.versionsBackup
deleted file mode 100644
index 0ad22085f39..00000000000
--- a/iotdb-core/metrics/interface/pom.xml.versionsBackup
+++ /dev/null
@@ -1,130 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-metrics</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>metrics-interface</artifactId>
- <name>IoTDB: Core: Metrics: Metrics API</name>
- <description>Metrics interface for IoTDB</description>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-session</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>isession</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>io.projectreactor.netty</groupId>
- <artifactId>reactor-netty-http</artifactId>
- </dependency>
- <dependency>
- <groupId>io.projectreactor.netty</groupId>
- <artifactId>reactor-netty-core</artifactId>
- </dependency>
- <dependency>
- <groupId>io.projectreactor</groupId>
- <artifactId>reactor-core</artifactId>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-common</artifactId>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport</artifactId>
- </dependency>
- <dependency>
- <groupId>org.reactivestreams</groupId>
- <artifactId>reactive-streams</artifactId>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <!-- Package binaries-->
- <execution>
- <id>metric-assembly</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/metric.xml</descriptor>
- </descriptors>
- <appendAssemblyId>false</appendAssemblyId>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- </manifest>
- </archive>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/iotdb-core/metrics/pom.xml.versionsBackup b/iotdb-core/metrics/pom.xml.versionsBackup
deleted file mode 100644
index 1c6c789e7eb..00000000000
--- a/iotdb-core/metrics/pom.xml.versionsBackup
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-metrics</artifactId>
- <packaging>pom</packaging>
- <name>IoTDB: Core: Metrics</name>
- <description>Metrics interfaces for IoTDB</description>
- <modules>
- <module>core</module>
- <module>interface</module>
- </modules>
- <properties>
- <metrics.test.skip>false</metrics.test.skip>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${metrics.test.skip}</skipTests>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>skipMetricsTests</id>
- <activation>
- <property>
- <name>skipTests</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <metrics.test.skip>true</metrics.test.skip>
- </properties>
- </profile>
- <profile>
- <id>skipUT_Metrics_Tests</id>
- <activation>
- <property>
- <name>skipUTs</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <metrics.test.skip>true</metrics.test.skip>
- </properties>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-core/node-commons/pom.xml.versionsBackup b/iotdb-core/node-commons/pom.xml.versionsBackup
deleted file mode 100644
index fb513e0e794..00000000000
--- a/iotdb-core/node-commons/pom.xml.versionsBackup
+++ /dev/null
@@ -1,363 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>node-commons</artifactId>
- <name>IoTDB: Core: Node Commons</name>
- <description>Common modules of the server and config node</description>
- <properties>
- <commons.it.skip>${commons.test.skip}</commons.it.skip>
- <commons.test.skip>false</commons.test.skip>
- <commons.ut.skip>${commons.test.skip}</commons.ut.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>service-rpc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>udf-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>trigger-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>pipe-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-confignode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-consensus</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>tsfile</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>metrics-interface</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>metrics-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-pool2</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-cli</groupId>
- <artifactId>commons-cli</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- </dependency>
- <dependency>
- <groupId>net.minidev</groupId>
- <artifactId>json-smart</artifactId>
- </dependency>
- <dependency>
- <groupId>com.nimbusds</groupId>
- <artifactId>nimbus-jose-jwt</artifactId>
- </dependency>
- <dependency>
- <groupId>cglib</groupId>
- <artifactId>cglib</artifactId>
- </dependency>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt-api</artifactId>
- </dependency>
- <dependency>
- <groupId>com.nimbusds</groupId>
- <artifactId>oauth2-oidc-sdk</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- </dependency>
- <dependency>
- <groupId>com.github.ben-manes.caffeine</groupId>
- <artifactId>caffeine</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-jexl3</artifactId>
- </dependency>
- <dependency>
- <groupId>com.github.luben</groupId>
- <artifactId>zstd-jni</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.awaitility</groupId>
- <artifactId>awaitility</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-common</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-ainode</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- <build>
- <resources>
- <resource>
- <directory>${project.basedir}/src/assembly/resources/conf</directory>
- <includes>
- <include>iotdb-system.properties.template</include>
- </includes>
- <filtering>false</filtering>
- </resource>
- </resources>
- <plugins>
- <!--
- Generate an OSGI compatible MANIFEST file.
- -->
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <configuration>
- <exportScr>true</exportScr>
- <instructions>
- <_include>-bnd.bnd</_include>
- <_removeheaders>Bnd-LastModified,Built-By</_removeheaders>
- <Embed-Dependency>dependencies</Embed-Dependency>
- </instructions>
- </configuration>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>process-classes</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>pl.project13.maven</groupId>
- <artifactId>git-commit-id-plugin</artifactId>
- <configuration>
- <generateGitPropertiesFile>true</generateGitPropertiesFile>
- <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
- <includeOnlyProperties>
- <includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty>
- <includeOnlyProperty>^git.dirty$</includeOnlyProperty>
- </includeOnlyProperties>
- <commitIdGenerationMode>full</commitIdGenerationMode>
- <failOnNoGitDirectory>false</failOnNoGitDirectory>
- <failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>
- <offline>true</offline>
- <gitDescribe>
- <dirty>-dev</dirty>
- </gitDescribe>
- </configuration>
- <executions>
- <execution>
- <id>get-the-git-infos</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>revision</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!--
- Use the MANIFEST file generated by the maven-bundle-plugin.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
- <manifest>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <!--using `mvn test` to run UT, `mvn verify` to run ITs
- Reference: https://antoniogoncalves.org/2012/12/13/lets-turn-integration-tests-with-maven-to-a-first-class-citizen/-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${commons.ut.skip}</skipTests>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <skipTests>${commons.test.skip}</skipTests>
- <skipITs>${commons.it.skip}</skipITs>
- <reuseForks>false</reuseForks>
- <runOrder>random</runOrder>
- </configuration>
- <executions>
- <execution>
- <id>run-integration-tests</id>
- <phase>integration-test</phase>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>skipCommonsTests</id>
- <activation>
- <property>
- <name>skipTests</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <commons.it.skip>true</commons.it.skip>
- <commons.test.skip>true</commons.test.skip>
- <commons.ut.skip>true</commons.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>skipUT_CommonsTests</id>
- <activation>
- <property>
- <name>skipUTs</name>
- <value>true</value>
- </property>
- </activation>
- <properties>
- <commons.ut.skip>true</commons.ut.skip>
- </properties>
- </profile>
- <profile>
- <id>get-jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- <!-- this is used for inheritance merges -->
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-core/pom.xml.versionsBackup b/iotdb-core/pom.xml.versionsBackup
deleted file mode 100644
index 839dd80246c..00000000000
--- a/iotdb-core/pom.xml.versionsBackup
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-core</artifactId>
- <packaging>pom</packaging>
- <name>IoTDB: Core</name>
- <modules>
- <module>antlr</module>
- <module>confignode</module>
- <module>consensus</module>
- <module>datanode</module>
- <module>metrics</module>
- <module>node-commons</module>
- <module>relational-grammar</module>
- </modules>
- <profiles>
- <profile>
- <id>with-ainode</id>
- <modules>
- <module>ainode</module>
- </modules>
- </profile>
- </profiles>
-</project>
diff --git a/iotdb-core/relational-grammar/pom.xml.versionsBackup b/iotdb-core/relational-grammar/pom.xml.versionsBackup
deleted file mode 100644
index d9363584678..00000000000
--- a/iotdb-core/relational-grammar/pom.xml.versionsBackup
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-core</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-relational-grammar</artifactId>
- <name>IoTDB: Core: Relational-Antlr-Parser</name>
- <description>Relational Antlr parser for IoTDB.</description>
- <dependencies>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-runtime</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-maven-plugin</artifactId>
- <configuration>
- <visitor>true</visitor>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>antlr4</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <goals>
- <goal>add-source</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-sources/antlr4</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>${basedir}/gen</directory>
- </fileset>
- <fileset>
- <directory>${basedir}/src</directory>
- <includes>
- <include>**/*.tokens</include>
- </includes>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <configuration>
- <consoleOutput>true</consoleOutput>
- <excludes combine.children="append">
- <exclude>**/SqlLexer.java</exclude>
- <exclude>**/SqlLexer.interp</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/iotdb-protocol/openapi/pom.xml.versionsBackup b/iotdb-protocol/openapi/pom.xml.versionsBackup
deleted file mode 100644
index 5a80af4eac6..00000000000
--- a/iotdb-protocol/openapi/pom.xml.versionsBackup
+++ /dev/null
@@ -1,212 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>openapi</artifactId>
- <name>IoTDB: Protocol: OpenAPI</name>
- <dependencies>
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-annotations</artifactId>
- </dependency>
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-models</artifactId>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-annotations</artifactId>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.jaxrs</groupId>
- <artifactId>jackson-jaxrs-json-provider</artifactId>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.datatype</groupId>
- <artifactId>jackson-datatype-jsr310</artifactId>
- </dependency>
- <dependency>
- <groupId>jakarta.validation</groupId>
- <artifactId>jakarta.validation-api</artifactId>
- </dependency>
- <dependency>
- <groupId>jakarta.ws.rs</groupId>
- <artifactId>jakarta.ws.rs-api</artifactId>
- </dependency>
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-jaxrs</artifactId>
- </dependency>
- <!-- Just needed for unused import code -->
- <dependency>
- <groupId>org.glassfish.jersey.media</groupId>
- <artifactId>jersey-media-multipart</artifactId>
- </dependency>
- <dependency>
- <groupId>jakarta.servlet</groupId>
- <artifactId>jakarta.servlet-api</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!-- TODO: For some reason the code-generation is run twice -->
- <plugin>
- <groupId>org.openapitools</groupId>
- <artifactId>openapi-generator-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-java-rest-codes-common</id>
- <goals>
- <goal>generate</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <inputSpec>${project.basedir}/src/main/openapi3/iotdb_rest_common.yaml</inputSpec>
- <output>${project.build.directory}/generated-sources/java</output>
- <apiPackage>org.apache.iotdb.db.protocol.rest</apiPackage>
- <modelPackage>org.apache.iotdb.db.protocol.rest.model</modelPackage>
- <invokerPackage>org.apache.iotdb.db.protocol.rest.invoker</invokerPackage>
- <generatorName>jaxrs-jersey</generatorName>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-rest-service</artifactId>
- <artifactVersion>${project.version}</artifactVersion>
- <addCompileSourceRoot>true</addCompileSourceRoot>
- <configOptions>
- <licenseName>Apache License 2.0</licenseName>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-rest-service</artifactId>
- <artifactVersion>${project.version}</artifactVersion>
- <dateLibrary>java8</dateLibrary>
- <useGzipFeature>true</useGzipFeature>
- </configOptions>
- </configuration>
- </execution>
- <execution>
- <id>generate-java-rest-codes-v1</id>
- <goals>
- <goal>generate</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <inputSpec>${project.basedir}/src/main/openapi3/iotdb_rest_v1.yaml</inputSpec>
- <output>${project.build.directory}/generated-sources/java</output>
- <apiPackage>org.apache.iotdb.db.protocol.rest.v1</apiPackage>
- <modelPackage>org.apache.iotdb.db.protocol.rest.v1.model</modelPackage>
- <invokerPackage>org.apache.iotdb.db.protocol.rest.v1.invoker</invokerPackage>
- <generatorName>jaxrs-jersey</generatorName>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-rest-service</artifactId>
- <artifactVersion>${project.version}</artifactVersion>
- <addCompileSourceRoot>true</addCompileSourceRoot>
- <configOptions>
- <licenseName>Apache License 2.0</licenseName>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-rest-service</artifactId>
- <artifactVersion>${project.version}</artifactVersion>
- <dateLibrary>java8</dateLibrary>
- <useGzipFeature>true</useGzipFeature>
- </configOptions>
- </configuration>
- </execution>
- <execution>
- <id>generate-java-rest-codes-v2</id>
- <goals>
- <goal>generate</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <inputSpec>${project.basedir}/src/main/openapi3/iotdb_rest_v2.yaml</inputSpec>
- <output>${project.build.directory}/generated-sources/java</output>
- <apiPackage>org.apache.iotdb.db.protocol.rest.v2</apiPackage>
- <modelPackage>org.apache.iotdb.db.protocol.rest.v2.model</modelPackage>
- <invokerPackage>org.apache.iotdb.db.protocol.rest.v2.invoker</invokerPackage>
- <generatorName>jaxrs-jersey</generatorName>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-rest-service</artifactId>
- <artifactVersion>${project.version}</artifactVersion>
- <addCompileSourceRoot>true</addCompileSourceRoot>
- <configOptions>
- <licenseName>Apache License 2.0</licenseName>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-rest-service</artifactId>
- <artifactVersion>${project.version}</artifactVersion>
- <dateLibrary>java8</dateLibrary>
- <useGzipFeature>true</useGzipFeature>
- </configOptions>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <goals>
- <goal>add-source</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <sources>
- <source>${project.basedir}/target/generated-sources/java/src/gen/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--
- TODO: For some reason I am unable to prevent the generation of the default implementations in the "impl"
- package. Also I was unable to prevent the maven-compiler-plugin from compiling them. So we're simply
- excluding them from the jar as a measure of last resort.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/impl/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <configuration>
- <usedDependencies combine.children="append">
- <!-- We just need this dependency to prevent the compiler from freaking out on unused imports -->
- <usedDependency>org.glassfish.jersey.media:jersey-media-multipart</usedDependency>
- </usedDependencies>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/iotdb-protocol/pom.xml.versionsBackup b/iotdb-protocol/pom.xml.versionsBackup
deleted file mode 100644
index 7715bf00e8e..00000000000
--- a/iotdb-protocol/pom.xml.versionsBackup
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-protocol</artifactId>
- <packaging>pom</packaging>
- <name>IoTDB: Protocol</name>
- <modules>
- <module>openapi</module>
- <module>thrift-datanode</module>
- <module>thrift-commons</module>
- <module>thrift-confignode</module>
- <module>thrift-consensus</module>
- <module>thrift-ainode</module>
- </modules>
-</project>
diff --git a/iotdb-protocol/thrift-ainode/pom.xml.versionsBackup b/iotdb-protocol/thrift-ainode/pom.xml.versionsBackup
deleted file mode 100644
index ccecd83b651..00000000000
--- a/iotdb-protocol/thrift-ainode/pom.xml.versionsBackup
+++ /dev/null
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-thrift-ainode</artifactId>
- <name>IoTDB: Protocol: Thrift AI Node</name>
- <description>RPC (Thrift) framework among AINodes.</description>
- <dependencies>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <goals>
- <goal>add-source</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-sources/thrift</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/iotdb-protocol/thrift-commons/pom.xml.versionsBackup b/iotdb-protocol/thrift-commons/pom.xml.versionsBackup
deleted file mode 100644
index b264c6acef3..00000000000
--- a/iotdb-protocol/thrift-commons/pom.xml.versionsBackup
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-thrift-commons</artifactId>
- <name>IoTDB: Protocol: Thrift Commons</name>
- <description>RPC (Thrift) common framework.</description>
- <dependencies>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <goals>
- <goal>add-source</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-sources/thrift</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/iotdb-protocol/thrift-confignode/pom.xml.versionsBackup b/iotdb-protocol/thrift-confignode/pom.xml.versionsBackup
deleted file mode 100644
index 765cf27c090..00000000000
--- a/iotdb-protocol/thrift-confignode/pom.xml.versionsBackup
+++ /dev/null
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-thrift-confignode</artifactId>
- <name>IoTDB: Protocol: Thrift Config Node</name>
- <description>RPC (Thrift) framework among ConfigNodes.</description>
- <dependencies>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <goals>
- <goal>add-source</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-sources/thrift</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/iotdb-protocol/thrift-consensus/pom.xml.versionsBackup b/iotdb-protocol/thrift-consensus/pom.xml.versionsBackup
deleted file mode 100644
index a8d6cfb5dbe..00000000000
--- a/iotdb-protocol/thrift-consensus/pom.xml.versionsBackup
+++ /dev/null
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-thrift-consensus</artifactId>
- <name>IoTDB: Protocol: Thrift Consensus</name>
- <description>RPC modules for consensus</description>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <goals>
- <goal>add-source</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-sources/thrift</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/iotdb-protocol/thrift-datanode/pom.xml.versionsBackup b/iotdb-protocol/thrift-datanode/pom.xml.versionsBackup
deleted file mode 100644
index 3f2351c6b86..00000000000
--- a/iotdb-protocol/thrift-datanode/pom.xml.versionsBackup
+++ /dev/null
@@ -1,105 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-protocol</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>iotdb-thrift</artifactId>
- <name>IoTDB: Protocol: Thrift Data Node</name>
- <description>RPC (Thrift) framework for client and DataNodes.</description>
- <dependencies>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-thrift-commons</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!--
- Generate an OSGI compatible MANIFEST file.
- -->
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <configuration>
- <exportScr>true</exportScr>
- <instructions>
- <_include>-bnd.bnd</_include>
- <_removeheaders>Bnd-LastModified,Built-By</_removeheaders>
- <Embed-Dependency>dependencies</Embed-Dependency>
- </instructions>
- </configuration>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <goals>
- <goal>manifest</goal>
- </goals>
- <phase>process-classes</phase>
- </execution>
- </executions>
- </plugin>
- <!--
- Use the MANIFEST file generated by the maven-bundle-plugin.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <goals>
- <goal>add-source</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-sources/thrift</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/library-udf/pom.xml.versionsBackup b/library-udf/pom.xml.versionsBackup
deleted file mode 100644
index 17d4666ae90..00000000000
--- a/library-udf/pom.xml.versionsBackup
+++ /dev/null
@@ -1,118 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </parent>
- <artifactId>library-udf</artifactId>
- <name>IoTDB: UDF</name>
- <properties>
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.tsfile</groupId>
- <artifactId>common</artifactId>
- <version>${tsfile.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>udf-api</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.collections</groupId>
- <artifactId>eclipse-collections</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.collections</groupId>
- <artifactId>eclipse-collections-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math3</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
- <!-- FFT, IFFT, LowPass, HighPass -->
- <dependency>
- <groupId>com.github.wendykierp</groupId>
- <artifactId>JTransforms</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>get-jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- <finalName>${project.build.finalName}-jar-with-dependencies</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git a/pom.xml.versionsBackup b/pom.xml.versionsBackup
deleted file mode 100644
index a1713a76d7c..00000000000
--- a/pom.xml.versionsBackup
+++ /dev/null
@@ -1,1921 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache</groupId>
- <artifactId>apache</artifactId>
- <version>31</version>
- </parent>
- <groupId>org.apache.iotdb</groupId>
- <artifactId>iotdb-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>Apache IoTDB Project Parent POM</name>
- <description>This is the top level project that builds, packages the tsfile, iotdb engine, jdbc, and integration libs.</description>
- <modules>
- <module>iotdb-api</module>
- <module>iotdb-client</module>
- <module>iotdb-core</module>
- <module>iotdb-protocol</module>
- <module>distribution</module>
- <module>example</module>
- <module>library-udf</module>
- </modules>
- <properties>
- <!-- This was the last version to support Java 8 -->
- <airlift-units.version>1.7</airlift-units.version>
- <airlift.version>206</airlift.version>
- <!--airlift-stats.version>235</airlift-stats.version-->
- <airline.version>0.9</airline.version>
- <!-- This was the last version to support Java 8 -->
- <antlr4.version>4.9.3</antlr4.version>
- <!-- By default, the argLine is empty-->
- <argLine/>
- <awaitility.version>4.2.0</awaitility.version>
- <boost.include.dir/>
- <!-- This was the last version to support Java 8 -->
- <caffeine.version>2.9.3</caffeine.version>
- <cglib.version>3.3.0</cglib.version>
- <checker-qual.version>3.38.0</checker-qual.version>
- <cmake.build.type>Release</cmake.build.type>
- <commons-cli.version>1.5.0</commons-cli.version>
- <commons-codec.version>1.16.1</commons-codec.version>
- <commons-csv.version>1.10.0</commons-csv.version>
- <commons-io.version>2.13.0</commons-io.version>
- <commons-jexl3.version>3.3</commons-jexl3.version>
- <commons-lang3.version>3.13.0</commons-lang3.version>
- <commons-math3.version>3.6.1</commons-math3.version>
- <commons-pool2.version>2.11.1</commons-pool2.version>
- <commons.collections4.version>4.4</commons.collections4.version>
- <ctest.skip.tests>false</ctest.skip.tests>
- <disruptor.version>3.4.4</disruptor.version>
- <drill.freemarker.maven.plugin.version>1.21.1</drill.freemarker.maven.plugin.version>
- <dropwizard.metrics.version>4.2.19</dropwizard.metrics.version>
- <eclipse-collections.version>11.1.0</eclipse-collections.version>
- <!-- disable enforcer by default-->
- <enforcer.skip>true</enforcer.skip>
- <felix.version>5.1.9</felix.version>
- <findbugs.jsr305.version>3.0.2</findbugs.jsr305.version>
- <fusesource-mqtt-client.version>1.16</fusesource-mqtt-client.version>
- <!-- JDK1.8 only support google java format 1.7-->
- <google.java.format.version>1.22.0</google.java.format.version>
- <gson.version>2.10.1</gson.version>
- <guava.version>32.1.2-jre</guava.version>
- <httpclient.version>4.5.14</httpclient.version>
- <httpcore.version>4.4.16</httpcore.version>
- <!--
- This is the version of the thrift binary, that we release separately from here:
- https://github.com/apache/iotdb-bin-resources/tree/main/iotdb-tools-thrift
- -->
- <iotdb-tools-thrift.version>0.14.1.0</iotdb-tools-thrift.version>
- <jackson.version>2.15.4</jackson.version>
- <!-- This is the last version to support the javax namespace -->
- <jakarta.servlet-api.version>4.0.4</jakarta.servlet-api.version>
- <!-- This is the last version to support the javax namespace -->
- <jakarta.validation-api.version>2.0.2</jakarta.validation-api.version>
- <!-- This is the last version to support the javax namespace -->
- <jakarta.ws.rs-api.version>2.1.6</jakarta.ws.rs-api.version>
- <java-websocket.version>1.5.4</java-websocket.version>
- <jcip-annotations.version>1.0-1</jcip-annotations.version>
- <!-- This is the last version to support the javax namespace -->
- <jersey.version>2.40</jersey.version>
- <!-- This was the last version to support Java 8 -->
- <jetty.version>9.4.55.v20240627</jetty.version>
- <jjwt.version>0.11.5</jjwt.version>
- <jline.version>3.26.2</jline.version>
- <jna.version>5.14.0</jna.version>
- <json-smart.version>2.5.0</json-smart.version>
- <jtransforms.version>3.1</jtransforms.version>
- <junit.version>4.13.2</junit.version>
- <!-- This was the last version to support Java 8 -->
- <logback.version>1.3.14</logback.version>
- <lz4-java.version>1.8.0</lz4-java.version>
- <maven.assembly.version>3.6.0</maven.assembly.version>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- <micrometer.version>1.11.4</micrometer.version>
- <milo.version>0.6.14</milo.version>
- <!-- It seems that powermock is having issues with the newest mockito versions -->
- <mockito.version>2.23.4</mockito.version>
- <!-- This was the last version to support Java 8 -->
- <!--mockito.version>4.11.0</mockito.version-->
- <moquette.version>0.17</moquette.version>
- <netty.version>4.1.110.Final</netty.version>
- <nimbus-jose-jwt.version>9.37.3</nimbus-jose-jwt.version>
- <oauth2-oidc-sdk.version>10.15</oauth2-oidc-sdk.version>
- <!-- This was the last version to support Java 8 -->
- <openapi.generator.version>6.6.0</openapi.generator.version>
- <osgi.version>7.0.0</osgi.version>
- <pax-jdbc-common.version>1.5.6</pax-jdbc-common.version>
- <powermock.version>2.0.9</powermock.version>
- <ratis-thirdparty-misc.version>1.0.5</ratis-thirdparty-misc.version>
- <!--
- This is an unreleased version of a custom branch. The 8-character part after the version number
- This is an unreleased version of a custom branch. The 8-character part after the version number
- is for ensuring the SNAPSHOT will stay available. We should however have the Ratis folks do a
- new release soon, as releasing with this version is more than sub-ideal.
- -->
- <ratis.version>3.1.1-0133c90-SNAPSHOT</ratis.version>
- <reactive-streams.version>1.0.4</reactive-streams.version>
- <reactor-netty.version>1.1.20</reactor-netty.version>
- <reactor.version>3.5.18</reactor.version>
- <reflections.version>0.10.2</reflections.version>
- <slf4j.version>2.0.9</slf4j.version>
- <snappy-java.version>1.1.10.5</snappy-java.version>
- <sonar.coverage.jacoco.xmlReportPaths>target/jacoco-merged-reports/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
- <!-- Exclude all generated code -->
- <sonar.exclusions>**/generated-sources</sonar.exclusions>
- <!-- URL of the ASF SonarQube server -->
- <sonar.host.url>https://sonarcloud.io</sonar.host.url>
- <sonar.java.checkstyle.reportPaths>target/checkstyle-report.xml</sonar.java.checkstyle.reportPaths>
- <sonar.junit.reportPaths>target/surefire-reports,target/failsafe-reports</sonar.junit.reportPaths>
- <sonar.organization>apache</sonar.organization>
- <!-- Override this to `true`, if you want to disable spotless -->
- <spotless.skip>false</spotless.skip>
- <spotless.version>2.43.0</spotless.version>
- <!-- This was the last version to support Java 8 -->
- <swagger.version>1.6.14</swagger.version>
- <thrift.exec-cmd.executable>chmod</thrift.exec-cmd.executable>
- <thrift.exec.absolute.path/>
- <!--
- Thrift 0.17.0 was the last version that could be used in Java 8 applications,
- However Thrift 0.17.0 has an invalid entry in the META-INF/MANIFEST.mf file.
- All versions between 0.17.0 and 0.14.1 have know vulnerabilities, so for now
- we'll stay at 0.14.1.
- -->
- <thrift.version>0.14.1</thrift.version>
- <xz.version>1.9</xz.version>
- <zstd-jni.version>1.5.6-3</zstd-jni.version>
- <tsfile.version>1.2.0-0c274ae2-SNAPSHOT</tsfile.version>
- </properties>
- <!--
- if we claim dependencies in dependencyManagement, then we do not claim
- their version in subproject's pom, but we have to claim themselves again
- in subprojects
- -->
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-bom</artifactId>
- <version>${netty.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- <version>${thrift.version}</version>
- <exclusions>
- <!-- Seemed suspicious to have this dependency in -->
- <exclusion>
- <groupId>org.apache.tomcat.embed</groupId>
- <artifactId>tomcat-embed-core</artifactId>
- </exclusion>
- <!-- We don't want the old javax packages -->
- <exclusion>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>commons-cli</groupId>
- <artifactId>commons-cli</artifactId>
- <version>${commons-cli.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${commons-lang3.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jline</groupId>
- <artifactId>jline</artifactId>
- <version>${jline.version}</version>
- </dependency>
- <dependency>
- <groupId>net.java.dev.jna</groupId>
- <artifactId>jna</artifactId>
- <version>${jna.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-csv</artifactId>
- <version>${commons-csv.version}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <version>${mockito.version}</version>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-runtime</artifactId>
- <version>${antlr4.version}</version>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.cmpn</artifactId>
- <version>${osgi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.core</artifactId>
- <version>${osgi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-common</artifactId>
- <version>${pax-jdbc-common.version}</version>
- </dependency>
- <dependency>
- <groupId>org.xerial.snappy</groupId>
- <artifactId>snappy-java</artifactId>
- <version>${snappy-java.version}</version>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-reflect</artifactId>
- <version>${powermock.version}</version>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>${guava.version}</version>
- </dependency>
- <dependency>
- <groupId>org.java-websocket</groupId>
- <artifactId>Java-WebSocket</artifactId>
- <version>${java-websocket.version}</version>
- </dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <version>${findbugs.jsr305.version}</version>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>${gson.version}</version>
- </dependency>
- <dependency>
- <groupId>jakarta.servlet</groupId>
- <artifactId>jakarta.servlet-api</artifactId>
- <version>${jakarta.servlet-api.version}</version>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk18on</artifactId>
- <version>1.78</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${commons-io.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-server</artifactId>
- <version>${ratis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-server-api</artifactId>
- <version>${ratis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-common</artifactId>
- <version>${ratis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-client</artifactId>
- <version>${ratis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-grpc</artifactId>
- <version>${ratis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-proto</artifactId>
- <version>${ratis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-metrics-api</artifactId>
- <version>${ratis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ratis</groupId>
- <artifactId>ratis-thirdparty-misc</artifactId>
- <version>${ratis-thirdparty-misc.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-collections4</artifactId>
- <version>${commons.collections4.version}</version>
- </dependency>
- <dependency>
- <groupId>io.airlift</groupId>
- <artifactId>units</artifactId>
- <version>${airlift-units.version}</version>
- </dependency>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt-api</artifactId>
- <version>${jjwt.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.milo</groupId>
- <artifactId>stack-core</artifactId>
- <version>${milo.version}</version>
- <exclusions>
- <exclusion>
- <groupId>com.sun.activation</groupId>
- <artifactId>jakarta.activation</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.eclipse.milo</groupId>
- <artifactId>sdk-core</artifactId>
- <version>${milo.version}</version>
- <exclusions>
- <exclusion>
- <groupId>com.sun.activation</groupId>
- <artifactId>jakarta.activation</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.eclipse.milo</groupId>
- <artifactId>stack-server</artifactId>
- <version>${milo.version}</version>
- </dependency>
- <dependency>
- <groupId>org.checkerframework</groupId>
- <artifactId>checker-qual</artifactId>
- <version>${checker-qual.version}</version>
- </dependency>
- <!-- TODO: Deprecated: Use Airline 2 or Picocli instead -->
- <dependency>
- <groupId>io.airlift</groupId>
- <artifactId>airline</artifactId>
- <version>${airline.version}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>io.airlift</groupId>
- <artifactId>concurrent</artifactId>
- <version>${airlift.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.milo</groupId>
- <artifactId>sdk-server</artifactId>
- <version>${milo.version}</version>
- <exclusions>
- <exclusion>
- <groupId>com.sun.activation</groupId>
- <artifactId>jakarta.activation</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.reflections</groupId>
- <artifactId>reflections</artifactId>
- <version>${reflections.version}</version>
- </dependency>
- <dependency>
- <groupId>io.moquette</groupId>
- <artifactId>moquette-broker</artifactId>
- <version>${moquette.version}</version>
- </dependency>
- <dependency>
- <groupId>com.lmax</groupId>
- <artifactId>disruptor</artifactId>
- <version>${disruptor.version}</version>
- </dependency>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt-impl</artifactId>
- <version>${jjwt.version}</version>
- </dependency>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt-jackson</artifactId>
- <version>${jjwt.version}</version>
- </dependency>
- <dependency>
- <groupId>com.nimbusds</groupId>
- <artifactId>oauth2-oidc-sdk</artifactId>
- <version>${oauth2-oidc-sdk.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>${httpclient.version}</version>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-core</artifactId>
- <version>${powermock.version}</version>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-module-junit4</artifactId>
- <version>${powermock.version}</version>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-api-mockito2</artifactId>
- <version>${powermock.version}</version>
- </dependency>
- <dependency>
- <groupId>com.nimbusds</groupId>
- <artifactId>nimbus-jose-jwt</artifactId>
- <version>${nimbus-jose-jwt.version}</version>
- </dependency>
- <dependency>
- <groupId>cglib</groupId>
- <artifactId>cglib</artifactId>
- <version>${cglib.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-jexl3</artifactId>
- <version>${commons-jexl3.version}</version>
- </dependency>
- <dependency>
- <groupId>com.github.luben</groupId>
- <artifactId>zstd-jni</artifactId>
- <version>${zstd-jni.version}</version>
- </dependency>
- <dependency>
- <groupId>org.lz4</groupId>
- <artifactId>lz4-java</artifactId>
- <version>${lz4-java.version}</version>
- </dependency>
- <dependency>
- <groupId>org.tukaani</groupId>
- <artifactId>xz</artifactId>
- <version>${xz.version}</version>
- </dependency>
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-annotations</artifactId>
- <version>${swagger.version}</version>
- </dependency>
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-models</artifactId>
- <version>${swagger.version}</version>
- </dependency>
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-jaxrs</artifactId>
- <version>${swagger.version}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.ws.rs</groupId>
- <artifactId>jsr311-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.fusesource.mqtt-client</groupId>
- <artifactId>mqtt-client</artifactId>
- <version>${fusesource-mqtt-client.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.collections</groupId>
- <artifactId>eclipse-collections</artifactId>
- <version>${eclipse-collections.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.collections</groupId>
- <artifactId>eclipse-collections-api</artifactId>
- <version>${eclipse-collections.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math3</artifactId>
- <version>${commons-math3.version}</version>
- </dependency>
- <dependency>
- <groupId>com.github.wendykierp</groupId>
- <artifactId>JTransforms</artifactId>
- <version>${jtransforms.version}</version>
- </dependency>
- <dependency>
- <groupId>com.github.stephenc.jcip</groupId>
- <artifactId>jcip-annotations</artifactId>
- <version>${jcip-annotations.version}</version>
- </dependency>
- <dependency>
- <groupId>jakarta.validation</groupId>
- <artifactId>jakarta.validation-api</artifactId>
- <version>${jakarta.validation-api.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>${commons-codec.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-pool2</artifactId>
- <version>${commons-pool2.version}</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-core</artifactId>
- <version>${dropwizard.metrics.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-http</artifactId>
- <version>${jetty.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-util</artifactId>
- <version>${jetty.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-server</artifactId>
- <version>${jetty.version}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>jakarta.ws.rs</groupId>
- <artifactId>jakarta.ws.rs-api</artifactId>
- <version>${jakarta.ws.rs-api.version}</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.containers</groupId>
- <artifactId>jersey-container-servlet-core</artifactId>
- <version>${jersey.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-servlet</artifactId>
- <version>${jetty.version}</version>
- </dependency>
- <dependency>
- <groupId>com.github.ben-manes.caffeine</groupId>
- <artifactId>caffeine</artifactId>
- <version>${caffeine.version}</version>
- </dependency>
- <dependency>
- <groupId>net.minidev</groupId>
- <artifactId>json-smart</artifactId>
- <version>${json-smart.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- <version>${httpcore.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>org.awaitility</groupId>
- <artifactId>awaitility</artifactId>
- <version>${awaitility.version}</version>
- </dependency>
- <dependency>
- <groupId>io.projectreactor.netty</groupId>
- <artifactId>reactor-netty-http</artifactId>
- <version>${reactor-netty.version}</version>
- </dependency>
- <dependency>
- <groupId>io.projectreactor.netty</groupId>
- <artifactId>reactor-netty-core</artifactId>
- <version>${reactor-netty.version}</version>
- </dependency>
- <dependency>
- <groupId>io.projectreactor</groupId>
- <artifactId>reactor-core</artifactId>
- <version>${reactor.version}</version>
- </dependency>
- <dependency>
- <groupId>org.reactivestreams</groupId>
- <artifactId>reactive-streams</artifactId>
- <version>${reactive-streams.version}</version>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${logback.version}</version>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- <version>${logback.version}</version>
- </dependency>
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-core</artifactId>
- <version>${micrometer.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-annotations</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.jaxrs</groupId>
- <artifactId>jackson-jaxrs-json-provider</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.datatype</groupId>
- <artifactId>jackson-datatype-jsr310</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.media</groupId>
- <artifactId>jersey-media-multipart</artifactId>
- <version>${jersey.version}</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.inject</groupId>
- <artifactId>jersey-hk2</artifactId>
- <version>${jersey.version}</version>
- </dependency>
- <!-- Conflict:
- json-smart (pulls in 9.3),
- cglib (pulls in 7.1)
- -->
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm</artifactId>
- <version>9.3</version>
- </dependency>
- <!-- Conflict:
- guava (pulls in 2.18.0),
- caffeine (pulls in 2.10.0)
- -->
- <dependency>
- <groupId>com.google.errorprone</groupId>
- <artifactId>error_prone_annotations</artifactId>
- <version>2.18.0</version>
- </dependency>
- <!-- Conflict:
- jackson-json-provider (pulls in 2.15.2),
- jackson-databind (pulls in 2.15.2),
- jackson-databind-jsd310 (pulls in 2.15.2),
- swagger-jaxrs (pulls in 2.14.2)
- -->
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>3.5.0</version>
- <configuration>
- <excludePackageNames>*thrift*</excludePackageNames>
- <!--
- This will suppress the generation of a hidden timestamp at the top of each generated html page
- and hopefully let the site generation nod to too big updates every time.
- -->
- <notimestamp>true</notimestamp>
- <!--Don't fail the build, just because there were issues in the JavaDoc generation.-->
- <failOnError>false</failOnError>
- </configuration>
- </plugin>
- <!--
- We need to increase the memory available to tests as we were
- getting out-of-memory errors when building on windows machines.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.1.2</version>
- <configuration>
- <argLine>${argLine} -Xmx1024m</argLine>
- <!-- Force the working directory to be different for each fork, so forks don't trample each other -->
- <workingDirectory>${project.build.directory}/fork_${surefire.forkNumber}</workingDirectory>
- </configuration>
- </plugin>
- <!--
- Plugin for doing the code analysis.
- -->
- <plugin>
- <groupId>org.sonarsource.scanner.maven</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <version>3.9.1.2184</version>
- </plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <version>0.16.1</version>
- <configuration>
- <consoleOutput>true</consoleOutput>
- <excludes>
- <!-- Git related files -->
- <exclude>**/.git/**</exclude>
- <exclude>**/.mvn/**</exclude>
- <exclude>**/.gitignore</exclude>
- <exclude>**/.gitmodules</exclude>
- <exclude>**/.git-blame-ignore-revs</exclude>
- <exclude>**/git.properties</exclude>
- <!-- Maven related files -->
- <exclude>**/target/**</exclude>
- <!-- Eclipse related files -->
- <exclude>**/.project</exclude>
- <exclude>**/.settings/**</exclude>
- <exclude>**/.classpath</exclude>
- <!-- IntelliJ related files -->
- <exclude>**/.idea/**</exclude>
- <exclude>**/*.iml</exclude>
- <!-- Runtime log -->
- <exclude>**/*.log</exclude>
- <!-- Exclude CVS files -->
- <exclude>**/*.cvs</exclude>
- <!-- licenses -->
- <exclude>licenses/*</exclude>
- <!-- only for Travis CI with WinOS-->
- <exclude>hadoopbin</exclude>
- <exclude>windowssystem32</exclude>
- <exclude>.ignore</exclude>
- <!-- generated by Github -->
- <exclude>**/.github/**</exclude>
- <!-- figures -->
- <exclude>**/.eps</exclude>
- <exclude>**/.png</exclude>
- <exclude>**/.jpg</exclude>
- <exclude>**/.jpeg</exclude>
- <!--Generated by Apache Release -->
- <exclude>local-snapshots-dir/**</exclude>
- <!-- visualization plans -->
- <exclude>**/*.plan</exclude>
- <exclude>**/NOTICE-binary</exclude>
- <exclude>**/LICENSE-binary</exclude>
- <!-- json does not support comments-->
- <exclude>**/*.json</exclude>
- <!-- the zeppelin export file format-->
- <exclude>**/*.zpln</exclude>
- <!-- exclude go.mod, go.sum and rpc/* in iotdb-client-go submodule-->
- <exclude>**/go.mod</exclude>
- <exclude>**/go.sum</exclude>
- <exclude>client-go/rpc/*</exclude>
- <!-- python -->
- <exclude>.pytest_cache/**</exclude>
- <exclude>**/venv/**</exclude>
- <exclude>apache_iotdb.egg-info/**</exclude>
- <exclude>**/thrift/**/__init__.py</exclude>
- <!-- Java SPI uses files in resources/META-INF/services-->
- <exclude>**/resources/META-INF/services/**</exclude>
- <!-- site-->
- <exclude>**/redirects</exclude>
- <exclude>**/.eslintignore</exclude>
- <exclude>**/palette.styl</exclude>
- <exclude>**/RightMenu.vue</exclude>
- <exclude>**/pnpm-lock.yaml</exclude>
- <!-- This is generated by the IntelliJ Antlr Plugin -->
- <exclude>**/db/qp/sql/gen/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.diffplug.spotless</groupId>
- <artifactId>spotless-maven-plugin</artifactId>
- <version>${spotless.version}</version>
- <configuration>
- <java>
- <googleJavaFormat>
- <version>${google.java.format.version}</version>
- <style>GOOGLE</style>
- </googleJavaFormat>
- <importOrder>
- <order>org.apache.iotdb,,javax,java,\#</order>
- </importOrder>
- <removeUnusedImports/>
- </java>
- <lineEndings>UNIX</lineEndings>
- </configuration>
- <executions>
- <execution>
- <id>spotless-check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>validate</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.googlecode.maven-download-plugin</groupId>
- <artifactId>download-maven-plugin</artifactId>
- <version>1.7.1</version>
- </plugin>
- <plugin>
- <groupId>com.googlecode.cmake-maven-project</groupId>
- <artifactId>cmake-maven-plugin</artifactId>
- <version>3.29.3-b2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.2.2</version>
- </plugin>
- <plugin>
- <groupId>org.eluder.coveralls</groupId>
- <artifactId>coveralls-maven-plugin</artifactId>
- <version>4.3.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.4.1</version>
- </plugin>
- <plugin>
- <groupId>net.revelc.code.formatter</groupId>
- <artifactId>formatter-maven-plugin</artifactId>
- <version>2.23.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>3.3.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>3.1.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>${maven.assembly.version}</version>
- </plugin>
- <plugin>
- <groupId>org.cyclonedx</groupId>
- <artifactId>cyclonedx-maven-plugin</artifactId>
- <version>2.7.11</version>
- </plugin>
- <plugin>
- <groupId>net.nicoulaj.maven.plugins</groupId>
- <artifactId>checksum-maven-plugin</artifactId>
- <version>1.11</version>
- </plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>0.8.12</version>
- </plugin>
- <plugin>
- <groupId>com.coderplus.maven.plugins</groupId>
- <artifactId>copy-rename-maven-plugin</artifactId>
- <version>1.0.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.5.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>3.3.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>3.6.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.thrift</groupId>
- <artifactId>thrift-maven-plugin</artifactId>
- <version>0.10.0</version>
- </plugin>
- <plugin>
- <groupId>com.bazaarvoice.maven.plugins</groupId>
- <artifactId>process-exec-maven-plugin</artifactId>
- <version>0.9</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>3.4.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>${felix.version}</version>
- </plugin>
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- </plugin>
- <plugin>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-maven-plugin</artifactId>
- <version>${antlr4.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.drill.tools</groupId>
- <artifactId>drill-fmpp-maven-plugin</artifactId>
- <version>${drill.freemarker.maven.plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>3.3.2</version>
- </plugin>
- <plugin>
- <groupId>pl.project13.maven</groupId>
- <artifactId>git-commit-id-plugin</artifactId>
- <version>4.9.10</version>
- </plugin>
- <plugin>
- <groupId>org.openapitools</groupId>
- <artifactId>openapi-generator-maven-plugin</artifactId>
- <version>${openapi.generator.version}</version>
- </plugin>
- <plugin>
- <groupId>au.com.acegi</groupId>
- <artifactId>xml-format-maven-plugin</artifactId>
- <version>3.2.2</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>com.diffplug.spotless</groupId>
- <artifactId>spotless-maven-plugin</artifactId>
- <configuration>
- <skip>${spotless.skip}</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.eluder.coveralls</groupId>
- <artifactId>coveralls-maven-plugin</artifactId>
- <configuration>
- <jacocoReports>
- <jacocoReport>code-coverage/target/jacoco-merged-reports/jacoco.xml</jacocoReport>
- </jacocoReports>
- <sourceEncoding>UTF-8</sourceEncoding>
- <sourceDirectories>
- <!-- put all source folders not in src/main/java here-->
- <sourceDirectory>iotdb-core/antlr/target/generated-sources/antlr4</sourceDirectory>
- <sourceDirectory>iotdb-protocol/thrift-datanode/target/generated-sources/thrift</sourceDirectory>
- <sourceDirectory>iotdb-protocol/thrift-commons/target/generated-sources/thrift</sourceDirectory>
- <sourceDirectory>iotdb-protocol/thrift-confignode/target/generated-sources/thrift</sourceDirectory>
- <sourceDirectory>iotdb-protocol/thrift-consensus/target/generated-sources/thrift</sourceDirectory>
- <sourceDirectory>iotdb-protocol/openapi/target/generated-sources/java/src/gen/java</sourceDirectory>
- <sourceDirectory>iotdb-protocol/openapi/target/generated-sources/java/src/main/java</sourceDirectory>
- <sourceDirectory>iotdb-core/datanode/target/generated-sources/freemarker/</sourceDirectory>
- </sourceDirectories>
- </configuration>
- <!-- JDK11 removes the following libs. We have to add them-->
- <dependencies>
- <dependency>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- <version>2.4.0-b180830.0359</version>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-core</artifactId>
- <version>2.3.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-impl</artifactId>
- <version>2.3.6</version>
- </dependency>
- </dependencies>
- </plugin>
- <!--
- Strange things usually happen if you run with a too low Java version.
- This plugin not only checks the minimum java version of 1.8, but also
- checks all dependencies (and transitive dependencies) for reported CVEs.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.sonatype.ossindex.maven</groupId>
- <artifactId>ossindex-maven-enforcer-rules</artifactId>
- <version>3.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>extra-enforcer-rules</artifactId>
- <version>1.7.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.shared</groupId>
- <artifactId>maven-dependency-tree</artifactId>
- <version>3.2.1</version>
- </dependency>
- </dependencies>
- <executions>
- <!-- Ensure we're not mixing dependency versions -->
- <execution>
- <id>enforce-version-convergence</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <phase>validate</phase>
- <configuration>
- <rules>
- <dependencyConvergence/>
- </rules>
- </configuration>
- </execution>
- <!--
- Fails the build if classes are included from multiple
- artifacts and these are not identical.
- -->
- <execution>
- <id>enforce-ban-duplicate-classes</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <banDuplicateClasses>
- <scopes>
- <scope>compile</scope>
- <scope>provided</scope>
- </scopes>
- <findAllDuplicates>true</findAllDuplicates>
- <ignoreWhenIdentical>true</ignoreWhenIdentical>
- </banDuplicateClasses>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- <!-- Make sure no dependencies are used for which known vulnerabilities exist. -->
- <execution>
- <id>vulnerability-checks</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <phase>validate</phase>
- <configuration>
- <!-- Just generate warnings for now -->
- <fail>true</fail>
- <rules>
- <requireJavaVersion>
- <version>1.8.0</version>
- </requireJavaVersion>
- <banVulnerable implementation="org.sonatype.ossindex.maven.enforcer.BanVulnerableDependencies">
- <excludeCoordinates>
- <!-- TODO: For this CVE no fix exists yet (Keep an eye on it) -->
- <exclude>
- <groupId>io.netty</groupId>
- <artifactId>netty-handler</artifactId>
- <version>4.1.97.Final</version>
- </exclude>
- <!--
- CVE-2016-1000027 seems to effect the HTTP Invoker, which we are not using.
- These are marked deprecated anyway and are removed in Spring 6.x. Unfortunately,
- we are still stuck at 5.x due to the javax-namespace issues.
- -->
- <exclude>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- <version>5.3.30</version>
- </exclude>
- <!--
- For this CVE no fix exists and will probably never exist
- (We should discuss dropping 2.11 anyway)
- -->
- <exclude>
- <groupId>org.apache.spark</groupId>
- <artifactId>spark-core_2.11</artifactId>
- <version>2.4.8</version>
- </exclude>
- <!--
- We can't update to a fixed version as we're stuck with this version
- as it was the last to support the javax namespace.
- -->
- <exclude>
- <groupId>org.glassfish.jersey.core</groupId>
- <artifactId>jersey-common</artifactId>
- <version>2.4.8</version>
- </exclude>
- <!--
- TODO: For this CVE no fix exists yet, however we should keep an eye on this:
- https://docs.google.com/presentation/d/1W5KU7ffh4dheR8iD54ulABImi6byAhSI-OhEKw2adRo/edit#slide=id.gaf11915f86_0_0
- -->
- <exclude>
- <groupId>io.atomix</groupId>
- <artifactId>atomix-raft</artifactId>
- <version>3.1.12</version>
- </exclude>
- </excludeCoordinates>
- </banVulnerable>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--
- Even if Maven transitively pulls in dependencies, relying on these can
- quite often cause hard to find problems. So it's a good practice to make
- sure everything directly required is also directly added as a dependency.
- On the other side adding unused dependency only over-complicates the
- dependency graph, so the maven-dependency-plugin checks we depend on
- what we need and only that and that runtime dependencies are correctly
- imported with runtime scope.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>check-dependencies</id>
- <goals>
- <goal>analyze-only</goal>
- </goals>
- <phase>verify</phase>
- <configuration>
- <failOnWarning>true</failOnWarning>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>net.revelc.code.formatter</groupId>
- <artifactId>formatter-maven-plugin</artifactId>
- </plugin>
- <!--for code style check -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <configLocation>checkstyle.xml</configLocation>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>com.puppycrawl.tools</groupId>
- <artifactId>checkstyle</artifactId>
- <version>9.3</version>
- <!-- Starting with version 10, checkstyle requires Java 11 -->
- <!--version>10.12.3</version-->
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>validate</id>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>validate</phase>
- <configuration>
- <outputFile>target/checkstyle-report.xml</outputFile>
- <configLocation>checkstyle.xml</configLocation>
- <propertyExpansion>baseDir=${project.basedir}</propertyExpansion>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--
- Check if all files contain Apache headers in them.
- Ignore this plugin, we use license-maven-plugin to check apache header.
- -->
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <executions>
- <execution>
- <id>license-check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>verify</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>au.com.acegi</groupId>
- <artifactId>xml-format-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>xml-format</id>
- <goals>
- <goal>xml-format</goal>
- </goals>
- <phase>compile</phase>
- <configuration>
- <!-- configure your formatting preferences here (see link below) -->
- <indentSize>4</indentSize>
- <excludes>
- <exclude>**/target/**</exclude>
- </excludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--
- Generate the legally required text files in the jars
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>process-resource-bundles</id>
- <goals>
- <goal>process</goal>
- </goals>
- <configuration>
- <resourceBundles>
- <!-- Will generate META-INF/{DEPENDENCIES,LICENSE,NOTICE} -->
- <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
- </resourceBundles>
- <!-- Content in this directory will be appended to generated resources -->
- <appendedResourcesDirectory>${basedir}/src/remote-resources</appendedResourcesDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Separates the unit tests from the integration tests. -->
- <!-- TODO: Integration-Tests should be executed by the failsafe plugin -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <executions>
- <execution>
- <id>unit-tests</id>
- <goals>
- <goal>test</goal>
- </goals>
- <phase>test</phase>
- <configuration>
- <includes>
- <!-- Include unit tests within integration-test phase. -->
- <include>src/test/**/*Test.java</include>
- </includes>
- <excludes>
- <!-- Exclude integration tests within (unit) test phase. -->
- <exclude>src/test/**/*IT.java</exclude>
- </excludes>
- </configuration>
- </execution>
- <execution>
- <id>integration-tests</id>
- <goals>
- <goal>test</goal>
- </goals>
- <phase>integration-test</phase>
- <configuration>
- <includes>
- <!-- Include integration tests within integration-test phase. -->
- <include>src/test/**/*IT.java</include>
- </includes>
- <excludes>
- <!-- Exclude unit tests within (unit) test phase. -->
- <exclude>src/test/**/*Test.java</exclude>
- </excludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Also package the sources as jar -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>create-source-package</id>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <mailingLists>
- <mailingList>
- <name>Apache IoTDB Developer List</name>
- <subscribe>mailto:dev-subscribe@iotdb.apache.org</subscribe>
- <unsubscribe>mailto:dev-unsubscribe@iotdb.apache.org</unsubscribe>
- <post>mailto:dev@iotdb.apache.org</post>
- <archive>http://mail-archives.apache.org/mod_mbox/iotdb-dev/</archive>
- </mailingList>
- <mailingList>
- <name>IoTDB Commits List</name>
- <subscribe>mailto:commit-subscribe@iotdb.apache.org</subscribe>
- <unsubscribe>mailto:commits-unsubscribe@iotdb.apache.org</unsubscribe>
- <post>mailto:commits@iotdb.apache.org</post>
- <archive>http://mail-archives.apache.org/mod_mbox/iotdb-commits/</archive>
- </mailingList>
- <mailingList>
- <name>IoTDB Jira Notifications List</name>
- <subscribe>mailto:notifications-subscribe@iotdb.apache.org</subscribe>
- <unsubscribe>mailto:notifications-unsubscribe@iotdb.apache.org</unsubscribe>
- <post>mailto:notifications@iotdb.apache.org</post>
- <archive>http://mail-archives.apache.org/mod_mbox/iotdb-notifications/</archive>
- </mailingList>
- </mailingLists>
- <scm>
- <connection>scm:git:ssh://git@github.com/apache/iotdb.git</connection>
- <developerConnection>scm:git:ssh://git@github.com/apache/iotdb.git</developerConnection>
- <url>ssh://git@github.com:apache/iotdb.git</url>
- <tag>rel/0.10</tag>
- </scm>
- <issueManagement>
- <system>Jira</system>
- <url>https://issues.apache.org/jira/browse/iotdb</url>
- </issueManagement>
- <!-- Only configure the site distribution as the rest is handled by the apache parent -->
- <distributionManagement>
- <site>
- <id>apache.website</id>
- <url>scm:git:https://gitbox.apache.org/repos/asf/iotdb-website.git</url>
- </site>
- </distributionManagement>
- <profiles>
- <!--
- A set of profiles defining the different properties needed to download and run thrift
- They are automatically activated depending on the OS you are using.
- -->
- <profile>
- <id>.os-unix</id>
- <activation>
- <os>
- <name>Linux</name>
- <family>unix</family>
- <arch>!aarch64</arch>
- </os>
- </activation>
- <properties>
- <cmake.generator>Unix Makefiles</cmake.generator>
- <os.classifier>linux-x86_64</os.classifier>
- <thrift.executable>thrift</thrift.executable>
- <python.venv.bin>venv/bin/</python.venv.bin>
- <python.exe.bin>python3</python.exe.bin>
- </properties>
- </profile>
- <profile>
- <id>.os-unix-arm</id>
- <activation>
- <os>
- <name>Linux</name>
- <family>unix</family>
- <arch>aarch64</arch>
- </os>
- </activation>
- <properties>
- <cmake.generator>Unix Makefiles</cmake.generator>
- <os.classifier>linux-aarch64</os.classifier>
- <thrift.executable>thrift</thrift.executable>
- <python.venv.bin>venv/bin/</python.venv.bin>
- <python.exe.bin>python3</python.exe.bin>
- </properties>
- </profile>
- <profile>
- <id>.os-mac</id>
- <activation>
- <os>
- <family>mac</family>
- <arch>!aarch64</arch>
- </os>
- </activation>
- <properties>
- <boost.include.dir>/usr/local/include</boost.include.dir>
- <cmake.generator>Unix Makefiles</cmake.generator>
- <os.classifier>mac-x86_64</os.classifier>
- <thrift.executable>thrift</thrift.executable>
- <python.venv.bin>venv/bin/</python.venv.bin>
- <python.exe.bin>python3</python.exe.bin>
- </properties>
- </profile>
- <profile>
- <id>.os-mac-arm</id>
- <activation>
- <os>
- <family>mac</family>
- <arch>aarch64</arch>
- </os>
- </activation>
- <properties>
- <boost.include.dir>/opt/homebrew/opt/boost/include</boost.include.dir>
- <cmake.generator>Unix Makefiles</cmake.generator>
- <os.classifier>mac-aarch64</os.classifier>
- <thrift.executable>thrift</thrift.executable>
- <python.venv.bin>venv/bin/</python.venv.bin>
- <python.exe.bin>python3</python.exe.bin>
- </properties>
- </profile>
- <profile>
- <id>.os-windows</id>
- <activation>
- <os>
- <family>windows</family>
- <arch>!aarch64</arch>
- </os>
- </activation>
- <properties>
- <!-- The generated code relied on Boost and that relies on VS and can't be built with MinGW -->
- <cmake.generator>Visual Studio 17 2022</cmake.generator>
- <os.classifier>windows-x86_64</os.classifier>
- <thrift.executable>Release/thrift.exe</thrift.executable>
- <python.venv.bin>venv/Scripts/</python.venv.bin>
- <python.exe.bin>python</python.exe.bin>
- </properties>
- </profile>
- <profile>
- <id>.os-windows-arm</id>
- <activation>
- <os>
- <family>windows</family>
- <arch>aarch64</arch>
- </os>
- </activation>
- <properties>
- <!-- The generated code relied on Boost and that relies on VS and can't be built with MinGW -->
- <cmake.generator>Visual Studio 17 2022</cmake.generator>
- <os.classifier>windows-aarch64</os.classifier>
- <thrift.executable>Release/thrift.exe</thrift.executable>
- <python.venv.bin>venv/Scripts/</python.venv.bin>
- <python.exe.bin>python</python.exe.bin>
- </properties>
- </profile>
- <profile>
- <id>.java-9-and-above</id>
- <activation>
- <jdk>[9,)</jdk>
- </activation>
- <properties>
- <maven.compiler.release>8</maven.compiler.release>
- <!--
- Add argLine for Java 9 and above, due to
- [JEP 260: Encapsulate Most Internal APIs],
- [JEP 396: Strongly Encapsulate JDK Internals by Default],
- [JEP 403: Strongly Encapsulate JDK Internals]
- -->
- <argLine><![CDATA[
- --add-opens=java.base/java.lang=ALL-UNNAMED
- --add-opens=java.base/java.util=ALL-UNNAMED
- --add-opens=java.base/java.nio=ALL-UNNAMED
- --add-opens=java.base/java.io=ALL-UNNAMED
- --add-opens=java.base/java.net=ALL-UNNAMED
- --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
- --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
- --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
- --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
- --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
- --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
- ]]></argLine>
- </properties>
- </profile>
- <!-- Current version of spotless cannot support JDK11 below -->
- <profile>
- <id>.java-11-below</id>
- <activation>
- <jdk>(,11]</jdk>
- </activation>
- <properties>
- <!-- This was the last version to support Java 8, Just for run -->
- <spotless.version>2.27.1</spotless.version>
- <!-- To avoid format conflicts -->
- <spotless.skip>true</spotless.skip>
- </properties>
- </profile>
- <!-- Little helper profile that will disable running the cmake tests when the maven tests are being skipped -->
- <profile>
- <id>.skipTests</id>
- <activation>
- <property>
- <name>skipTests</name>
- </property>
- </activation>
- <properties>
- <ctest.skip.tests>true</ctest.skip.tests>
- </properties>
- </profile>
- <!--
- Self activating profile, that activates itself as soon as a "src/main/thrift" directory is found.
- The different plugins here download the thrift executable matching the current os, make that
- executable (on mac and unix/linux) and run the code generation.
-
- Note to the Download: The download-maven-plugin checks if a resource is previously downloaded
- and only downloads each file once. It caches downloaded files in:
- {maven local repo}/.cache/download-maven-plugin
- -->
- <profile>
- <id>.thrift-generation</id>
- <activation>
- <file>
- <exists>src/main/thrift</exists>
- </file>
- </activation>
- <properties>
- <thrift.exec.absolute.path>${project.build.directory}/thrift/bin/${thrift.executable}</thrift.exec.absolute.path>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>get-thrift</id>
- <goals>
- <goal>unpack</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.iotdb.tools</groupId>
- <artifactId>iotdb-tools-thrift</artifactId>
- <version>${iotdb-tools-thrift.version}</version>
- <classifier>${os.classifier}</classifier>
- <type>zip</type>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}/thrift</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.thrift</groupId>
- <artifactId>thrift-maven-plugin</artifactId>
- <configuration>
- <thriftExecutable>${thrift.exec.absolute.path}</thriftExecutable>
- <thriftSourceRoot>${project.basedir}/src/main/thrift</thriftSourceRoot>
- </configuration>
- <executions>
- <execution>
- <id>generate-thrift-sources-java</id>
- <goals>
- <goal>compile</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <generator>java</generator>
- </configuration>
- </execution>
- <execution>
- <id>generate-thrift-sources-python</id>
- <goals>
- <goal>compile</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <generator>py</generator>
- <includes>**/common.thrift,**/client.thrift,**/datanode.thrift,**/confignode.thrift,**/ainode.thrift</includes>
- <outputDirectory>${project.build.directory}/generated-sources-python/</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>generate-thrift-sources-go</id>
- <goals>
- <goal>compile</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <generator>go:package_prefix=github.com/apache/iotdb-client-go/</generator>
- <includes>**/common.thrift,**/client.thrift</includes>
- <outputDirectory>${project.build.directory}/generated-sources-go</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!-- Enable integration-testsuite on demand, as this takes quite a long time to run -->
- <profile>
- <id>with-integration-tests</id>
- <modules>
- <module>integration-test</module>
- </modules>
- </profile>
- <!-- Make sure the source assembly has the right name -->
- <profile>
- <id>apache-release</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>source-release-assembly</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <!--
- heads up: combine.self in the following is highlighted
- as an error in Eclipse's xml editor view.
- Just ignore that.
- See https://issues.apache.org/jira/browse/MNG-5454 sigh.
- -->
- <configuration combine.self="append">
- <finalName>apache-iotdb-${project.version}</finalName>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- </manifest>
- </archive>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--
- Generate an SBOM for the project
- -->
- <plugin>
- <groupId>org.cyclonedx</groupId>
- <artifactId>cyclonedx-maven-plugin</artifactId>
- <!-- Only run this in the root module of the project -->
- <inherited>false</inherited>
- <configuration>
- <outputName>apache-${project.artifactId}-${project.version}-sbom</outputName>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>makeAggregateBom</goal>
- </goals>
- <phase>package</phase>
- </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>
- <fileSet>
- <directory>${project.build.directory}</directory>
- <includes>
- <include>apache-iotdb-${project.version}-source-release.zip</include>
- </includes>
- </fileSet>
- </fileSets>
- <failIfNoFiles>false</failIfNoFiles>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!-- code coverage for ut and it, and then merge them together.-->
- <profile>
- <id>with-code-coverage</id>
- <modules>
- <module>code-coverage</module>
- </modules>
- <build>
- <plugins>
- <!--
- Jacoco is a code coverage analysis plugin when tests run.
- (not a static code analysis tool)
- -->
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>org/apache/iotdb/service/sync/thrift/*</exclude>
- <exclude>org/apache/iotdb/service/rpc/thrift/*</exclude>
- <exclude>org/apache/iotdb/db/qp/sql/*</exclude>
- </excludes>
- <rules>
- <rule implementation="org.jacoco.maven.RuleConfiguration">
- <element>BUNDLE</element>
- <limits>
- <!-- Cover methodes >=30%. (the plugin does not support
- ignore getter and setter and toString etc..) -->
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>METHOD</counter>
- <value>COVEREDRATIO</value>
- <minimum>0.00</minimum>
- </limit>
- <!-- if-else, swtich etc.. >=70% -->
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>BRANCH</counter>
- <value>COVEREDRATIO</value>
- <minimum>0.00</minimum>
- </limit>
- <!-- class files >=95% -->
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>CLASS</counter>
- <value>COVEREDRATIO</value>
- <minimum>0.00</minimum>
- </limit>
- </limits>
- </rule>
- </rules>
- </configuration>
- <executions>
- <!-- see https://natritmeyer.com/howto/reporting-aggregated-unit-and-integration-test-coverage-with-jacoco/-->
- <!-- For UT-->
- <execution>
- <id>prepare-ut</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <destFile>${project.build.directory}/${project.build.finalName}-jacoco-unit-tests.exec</destFile>
- <propertyName>surefire.jacoco.args</propertyName>
- </configuration>
- </execution>
- <!-- attached to Maven test phase -->
- <execution>
- <id>ut-report</id>
- <goals>
- <goal>report</goal>
- <goal>check</goal>
- </goals>
- <phase>test</phase>
- <configuration>
- <dataFile>${project.build.directory}/${project.build.finalName}-jacoco-unit-tests.exec</dataFile>
- <outputDirectory>${project.build.directory}/jacoco-unit-reports</outputDirectory>
- </configuration>
- </execution>
- <!-- For IT-->
- <execution>
- <id>before-integration-test-execution</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <phase>pre-integration-test</phase>
- <configuration>
- <destFile>${project.build.directory}/${project.build.finalName}-jacoco-integration-tests.exec</destFile>
- <propertyName>failsafe.jacoco.args</propertyName>
- </configuration>
- </execution>
- <execution>
- <id>after-integration-test-execution</id>
- <goals>
- <goal>report</goal>
- <goal>check</goal>
- </goals>
- <phase>integration-test</phase>
- <configuration>
- <dataFile>${project.build.directory}/${project.build.finalName}-jacoco-integration-tests.exec</dataFile>
- <outputDirectory>${project.build.directory}/jacoco-integration-reports</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>merge-unit-and-integration</id>
- <goals>
- <goal>merge</goal>
- </goals>
- <phase>post-integration-test</phase>
- <configuration>
- <fileSets>
- <fileSet>
- <directory>${project.build.directory}/</directory>
- <includes>
- <include>*.exec</include>
- </includes>
- </fileSet>
- </fileSets>
- <destFile>${project.build.directory}/${project.build.finalName}-merged.exec</destFile>
- </configuration>
- </execution>
- <execution>
- <id>create-merged-report</id>
- <goals>
- <goal>report</goal>
- <goal>check</goal>
- </goals>
- <phase>post-integration-test</phase>
- <configuration>
- <dataFile>${project.build.directory}/${project.build.finalName}-merged.exec</dataFile>
- <outputDirectory>${project.build.directory}/jacoco-merged-reports</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- overwrite argLine-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>${argLine} @{surefire.jacoco.args} -Xmx1024m</argLine>
- </configuration>
- </plugin>
- <!-- for IT-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <argLine>${argLine} @{failsafe.jacoco.args} -Xmx1024m</argLine>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>enforce</id>
- <properties>
- <enforcer.skip>false</enforcer.skip>
- </properties>
- </profile>
- </profiles>
-</project>