You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/07/05 12:39:40 UTC

[incubator-iotdb] 01/01: fix maven warning about losing some plugin versions

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

hxd pushed a commit to branch fix-maven-warning
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit eb42076ba9768f7068e7a7857b06f09b491a6693
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Jul 5 20:39:12 2020 +0800

    fix maven warning about losing some plugin versions
---
 cli/pom.xml            | 1 +
 distribution/pom.xml   | 1 +
 hadoop/pom.xml         | 5 +++--
 hive-connector/pom.xml | 2 +-
 jdbc/pom.xml           | 4 ++--
 pom.xml                | 4 +++-
 server/pom.xml         | 1 +
 service-rpc/pom.xml    | 3 ++-
 session/pom.xml        | 2 +-
 thrift/pom.xml         | 3 ++-
 tsfile/pom.xml         | 3 ++-
 11 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/cli/pom.xml b/cli/pom.xml
index 199ba93..61937ab 100644
--- a/cli/pom.xml
+++ b/cli/pom.xml
@@ -89,6 +89,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-assembly-plugin</artifactId>
+                <version>${maven.assembly.version}</version>
                 <executions>
                     <!-- Package binaries-->
                     <execution>
diff --git a/distribution/pom.xml b/distribution/pom.xml
index eb7632e..ac83668 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -34,6 +34,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-assembly-plugin</artifactId>
+                <version>${maven.assembly.version}</version>
                 <executions>
                     <!-- Package binaries-->
                     <execution>
diff --git a/hadoop/pom.xml b/hadoop/pom.xml
index d1cb54b..df3087c 100644
--- a/hadoop/pom.xml
+++ b/hadoop/pom.xml
@@ -55,6 +55,7 @@
             <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
+                <version>${felix.version}</version>
                 <executions>
                     <execution>
                         <id>bundle-manifest</id>
@@ -86,7 +87,7 @@
             </plugin>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <version>3.1.0</version>
+                <version>${maven.assembly.version}</version>
                 <configuration>
                     <descriptorRefs>
                         <descriptorRef>jar-with-dependencies</descriptorRef>
@@ -133,7 +134,7 @@
             </plugin>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <version>3.1.0</version>
+                <version>${maven.assembly.version}</version>
                 <configuration>
                     <descriptorRefs>
                         <descriptorRef>jar-with-dependencies</descriptorRef>
diff --git a/hive-connector/pom.xml b/hive-connector/pom.xml
index 3481476..0b31150 100644
--- a/hive-connector/pom.xml
+++ b/hive-connector/pom.xml
@@ -133,7 +133,7 @@
         <plugins>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <version>3.1.0</version>
+                <version>${maven.assembly.version}</version>
                 <configuration>
                     <descriptorRefs>
                         <descriptorRef>jar-with-dependencies</descriptorRef>
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index 7695d73..87dc567 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -116,7 +116,7 @@
             <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
-                <version>4.2.1</version>
+                <version>${felix.version}</version>
                 <executions>
                     <execution>
                         <id>bundle-manifest</id>
@@ -148,7 +148,7 @@
             </plugin>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <version>3.1.0</version>
+                <version>${maven.assembly.version}</version>
                 <configuration>
                     <descriptorRefs>
                         <descriptorRef>jar-with-dependencies</descriptorRef>
diff --git a/pom.xml b/pom.xml
index 8e1fa53..4f3f481 100644
--- a/pom.xml
+++ b/pom.xml
@@ -101,7 +101,7 @@
     <properties>
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
-        <maven.assembly.version>2.5.5</maven.assembly.version>
+        <maven.assembly.version>3.1.0</maven.assembly.version>
         <scala.version>2.11.12</scala.version>
         <hadoop2.version>2.7.3</hadoop2.version>
         <hive2.version>2.3.6</hive2.version>
@@ -129,6 +129,7 @@
         <jetty.version>9.4.24.v20191120</jetty.version>
         <metrics.version>3.2.6</metrics.version>
         <javax.xml.bind.version>2.4.0-b180725.0427</javax.xml.bind.version>
+        <felix.version>4.2.1</felix.version>
         <!-- URL of the ASF SonarQube server -->
         <sonar.host.url>https://sonarcloud.io</sonar.host.url>
         <sonar.organization>apache</sonar.organization>
@@ -944,6 +945,7 @@
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-assembly-plugin</artifactId>
+                        <version>${maven.assembly.version}</version>
                         <executions>
                             <execution>
                                 <id>source-release-assembly</id>
diff --git a/server/pom.xml b/server/pom.xml
index 1b01e9b..df0ed0b 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -217,6 +217,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-assembly-plugin</artifactId>
+                <version>${maven.assembly.version}</version>
                 <executions>
                     <!-- Package binaries-->
                     <execution>
diff --git a/service-rpc/pom.xml b/service-rpc/pom.xml
index beb2a0c..a82e815 100644
--- a/service-rpc/pom.xml
+++ b/service-rpc/pom.xml
@@ -55,6 +55,7 @@
             <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
+                <version>${felix.version}</version>
                 <executions>
                     <execution>
                         <id>bundle-manifest</id>
@@ -86,7 +87,7 @@
             </plugin>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <version>3.1.0</version>
+                <version>${maven.assembly.version}</version>
                 <configuration>
                     <descriptorRefs>
                         <descriptorRef>jar-with-dependencies</descriptorRef>
diff --git a/session/pom.xml b/session/pom.xml
index 67fea02..a5f75a3 100644
--- a/session/pom.xml
+++ b/session/pom.xml
@@ -38,7 +38,7 @@
         <plugins>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <version>3.1.0</version>
+                <version>${maven.assembly.version}</version>
                 <configuration>
                     <descriptorRefs>
                         <descriptorRef>jar-with-dependencies</descriptorRef>
diff --git a/thrift/pom.xml b/thrift/pom.xml
index 15632c1..718b884 100644
--- a/thrift/pom.xml
+++ b/thrift/pom.xml
@@ -44,6 +44,7 @@
             <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
+                <version>${felix.version}</version>
                 <executions>
                     <execution>
                         <id>bundle-manifest</id>
@@ -75,7 +76,7 @@
             </plugin>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <version>3.1.0</version>
+                <version>${maven.assembly.version}</version>
                 <configuration>
                     <descriptorRefs>
                         <descriptorRef>jar-with-dependencies</descriptorRef>
diff --git a/tsfile/pom.xml b/tsfile/pom.xml
index f97265f..ba5e1b0 100644
--- a/tsfile/pom.xml
+++ b/tsfile/pom.xml
@@ -62,6 +62,7 @@
             <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
+                <version>${felix.version}</version>
                 <executions>
                     <execution>
                         <id>bundle-manifest</id>
@@ -93,7 +94,7 @@
             </plugin>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <version>3.1.0</version>
+                <version>${maven.assembly.version}</version>
                 <configuration>
                     <descriptorRefs>
                         <descriptorRef>jar-with-dependencies</descriptorRef>