This is an automated email from the ASF dual-hosted git repository.

gongchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f0f00c70 [feature] manage dependencies version by parent pom (#2571)
0f0f00c70 is described below

commit 0f0f00c7002009469e16039167a1cbad4052af3d
Author: aias00 <[email protected]>
AuthorDate: Fri Aug 23 23:06:49 2024 +0800

    [feature] manage dependencies version by parent pom (#2571)
    
    Co-authored-by: Calvin <[email protected]>
    Co-authored-by: YuLuo <[email protected]>
---
 alerter/pom.xml   |  6 +++---
 collector/pom.xml | 20 +++++++++-----------
 common/pom.xml    |  4 ++--
 manager/pom.xml   |  8 --------
 plugin/pom.xml    |  4 +---
 pom.xml           | 28 ++++++++++++++++++++++++++++
 push/pom.xml      |  4 ----
 remoting/pom.xml  |  4 ----
 warehouse/pom.xml |  9 ---------
 9 files changed, 43 insertions(+), 44 deletions(-)

diff --git a/alerter/pom.xml b/alerter/pom.xml
index 8092c0797..896bbba9f 100644
--- a/alerter/pom.xml
+++ b/alerter/pom.xml
@@ -73,19 +73,19 @@
         <dependency>
             <groupId>cn.afterturn</groupId>
             <artifactId>easypoi-annotation</artifactId>
-            <version>4.3.0</version>
+            <version>${easy-poi.version}</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.poi</groupId>
             <artifactId>poi</artifactId>
-            <version>4.1.1</version>
+            <version>${poi.version}</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.poi</groupId>
             <artifactId>poi-ooxml</artifactId>
-            <version>4.1.1</version>
+            <version>${poi.version}</version>
             <scope>compile</scope>
         </dependency>
     </dependencies>
diff --git a/collector/pom.xml b/collector/pom.xml
index 241c999c4..2d93db597 100644
--- a/collector/pom.xml
+++ b/collector/pom.xml
@@ -30,8 +30,6 @@
         <java.version>17</java.version>
         <maven.compiler.source>${java.version}</maven.compiler.source>
         <maven.compiler.target>${java.version}</maven.compiler.target>
-        <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
-        <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
     </properties>
 
     <dependencies>
@@ -89,7 +87,7 @@
         <dependency>
             <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
             <artifactId>concurrentlinkedhashmap-lru</artifactId>
-            <version>1.4.2</version>
+            <version>${concurrentlinkedhashmap-lru.version}</version>
         </dependency>
         <dependency>
             <groupId>com.google.guava</groupId>
@@ -126,12 +124,12 @@
         <dependency>
             <groupId>org.apache.sshd</groupId>
             <artifactId>sshd-core</artifactId>
-            <version>2.13.1</version>
+            <version>${sshd-core.version}</version>
         </dependency>
         <dependency>
             <groupId>net.i2p.crypto</groupId>
             <artifactId>eddsa</artifactId>
-            <version>0.3.0</version>
+            <version>${eddsa.version}</version>
         </dependency>
         <!-- sql server -->
         <dependency>
@@ -163,40 +161,40 @@
         <dependency>
             <groupId>org.snmp4j</groupId>
             <artifactId>snmp4j</artifactId>
-            <version>3.6.7</version>
+            <version>${snmp4j.version}</version>
         </dependency>
 
         <!-- rocketmq -->
         <dependency>
             <groupId>org.apache.rocketmq</groupId>
             <artifactId>rocketmq-tools</artifactId>
-            <version>4.9.4</version>
+            <version>${rocketmq-tools.version}</version>
         </dependency>
 
         <!--dns-->
         <dependency>
             <groupId>dnsjava</groupId>
             <artifactId>dnsjava</artifactId>
-            <version>3.5.2</version>
+            <version>${dnsjava.version}</version>
         </dependency>
 
         <!-- consul -->
         <dependency>
             <groupId>com.ecwid.consul</groupId>
             <artifactId>consul-api</artifactId>
-            <version>1.4.5</version>
+            <version>${consul-api.version}</version>
         </dependency>
         <!-- nacos -->
         <dependency>
             <groupId>com.alibaba.nacos</groupId>
             <artifactId>nacos-client</artifactId>
-            <version>2.2.1</version>
+            <version>${nacos-client.version}</version>
         </dependency>
         <!-- nebula graph client -->
         <dependency>
             <groupId>com.vesoft</groupId>
             <artifactId>client</artifactId>
-            <version>3.6.0</version>
+            <version>${vesoft-client.version}</version>
             <exclusions>
                 <exclusion>
                     <groupId>javax.servlet</groupId>
diff --git a/common/pom.xml b/common/pom.xml
index 0aaa3497a..770733af8 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -49,7 +49,7 @@
         <dependency>
             <groupId>org.eclipse.persistence</groupId>
             <artifactId>org.eclipse.persistence.jpa</artifactId>
-            <version>4.0.2</version>
+            <version>${eclipse-jpa.version}</version>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
@@ -126,7 +126,7 @@
         <dependency>
             <groupId>com.beetstra.jutf7</groupId>
             <artifactId>jutf7</artifactId>
-            <version>1.0.0</version>
+            <version>${jutf7.version}</version>
         </dependency>
     </dependencies>
 </project>
diff --git a/manager/pom.xml b/manager/pom.xml
index 2e0e11204..34debeb78 100644
--- a/manager/pom.xml
+++ b/manager/pom.xml
@@ -29,14 +29,6 @@
 
     <properties>
         <maven.install.skip>true</maven.install.skip>
-        <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
-        <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
-        <nekohtml.version>1.9.22</nekohtml.version>
-        
<spring-boot-starter-sureness.version>1.1.0</spring-boot-starter-sureness.version>
-        <warehouse.version>1.0</warehouse.version>
-        <easy-poi.version>4.3.0</easy-poi.version>
-        <huawei.sdk.version>3.1.37</huawei.sdk.version>
-        <huawei.obs.version>3.23.5</huawei.obs.version>
     </properties>
 
     <dependencies>
diff --git a/plugin/pom.xml b/plugin/pom.xml
index 023225ceb..5f365c690 100644
--- a/plugin/pom.xml
+++ b/plugin/pom.xml
@@ -28,8 +28,6 @@
     <artifactId>hertzbeat-plugin</artifactId>
     <name>${project.artifactId}</name>
     <properties>
-        <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
-        <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
     </properties>
 
     <dependencies>
@@ -46,7 +44,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
-        <version>3.3.0</version>
+        <version>${maven-assembly-plugin.version}</version>
         <configuration>
           <descriptors>
             <descriptor>src/main/resources/assembly/assembly.xml</descriptor>
diff --git a/pom.xml b/pom.xml
index ef7858168..1a3541176 100644
--- a/pom.xml
+++ b/pom.xml
@@ -95,6 +95,9 @@
         <java.version>17</java.version>
         <maven.compiler.source>${java.version}</maven.compiler.source>
         <maven.compiler.target>${java.version}</maven.compiler.target>
+        <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
+        <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
+        
 
         <p3c-pmd.version>2.1.1</p3c-pmd.version>
         <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
@@ -140,6 +143,31 @@
         <commons-net>3.10.0</commons-net>
         <jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>
         <spotless.version>2.40.0</spotless.version>
+        
+        <easy-poi.version>4.3.0</easy-poi.version>
+        <poi.version>4.1.1</poi.version>
+        
<concurrentlinkedhashmap-lru.version>1.4.2</concurrentlinkedhashmap-lru.version>
+        <sshd-core.version>2.13.1</sshd-core.version>
+        <eddsa.version>0.3.0</eddsa.version>
+        <snmp4j.version>3.6.7</snmp4j.version>
+        <rocketmq-tools.version>4.9.4</rocketmq-tools.version>
+        <dnsjava.version>3.5.2</dnsjava.version>
+        <consul-api.version>1.4.5</consul-api.version>
+        <nacos-client.version>2.2.1</nacos-client.version>
+        <vesoft-client.version>3.6.0</vesoft-client.version>
+        <eclipse-jpa.version>4.0.2</eclipse-jpa.version>
+        <jutf7.version>1.0.0</jutf7.version>
+        
<spring-boot-starter-sureness.version>1.1.0</spring-boot-starter-sureness.version>
+        <huawei.sdk.version>3.1.37</huawei.sdk.version>
+        <huawei.obs.version>3.23.5</huawei.obs.version>
+        
+        
+        <iotdb-session.version>0.13.3</iotdb-session.version>
+        <influxdb.version>2.23</influxdb.version>
+        
<spring-cloud-starter-openfeign.version>3.0.5</spring-cloud-starter-openfeign.version>
+        <taos-jdbcdriver.version>3.0.0</taos-jdbcdriver.version>
+        <greptimedb.version>0.7.3</greptimedb.version>
+        <mysql-jdbcdriver.version>8.0.33</mysql-jdbcdriver.version>
     </properties>
 
     <dependencyManagement>
diff --git a/push/pom.xml b/push/pom.xml
index 5ae67fece..d3be8d935 100644
--- a/push/pom.xml
+++ b/push/pom.xml
@@ -27,10 +27,6 @@
 
     <artifactId>hertzbeat-push</artifactId>
     <name>${project.artifactId}</name>
-    <properties>
-        <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
-        <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
-    </properties>
 
     <dependencies>
         <!-- common -->
diff --git a/remoting/pom.xml b/remoting/pom.xml
index eeda5bbd3..4ecbc8158 100644
--- a/remoting/pom.xml
+++ b/remoting/pom.xml
@@ -27,10 +27,6 @@
 
     <artifactId>hertzbeat-remoting</artifactId>
     <name>${project.artifactId}</name>
-    <properties>
-        <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
-        <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
-    </properties>
 
     <dependencies>
         <dependency>
diff --git a/warehouse/pom.xml b/warehouse/pom.xml
index 0db938649..c0303aa77 100644
--- a/warehouse/pom.xml
+++ b/warehouse/pom.xml
@@ -23,15 +23,6 @@
         <groupId>org.apache.hertzbeat</groupId>
         <version>2.0-SNAPSHOT</version>
     </parent>
-    <properties>
-        <common.version>1.0</common.version>
-        <iotdb-session.version>0.13.3</iotdb-session.version>
-        <influxdb.version>2.23</influxdb.version>
-        
<spring-cloud-starter-openfeign.version>3.0.5</spring-cloud-starter-openfeign.version>
-        <taos-jdbcdriver.version>3.0.0</taos-jdbcdriver.version>
-        <greptimedb.version>0.7.3</greptimedb.version>
-        <mysql-jdbcdriver.version>8.0.33</mysql-jdbcdriver.version>
-    </properties>
     <modelVersion>4.0.0</modelVersion>
 
     <artifactId>hertzbeat-warehouse</artifactId>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to