This is an automated email from the ASF dual-hosted git repository.
aloyszhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 4ce73561a [INLONG-6810][POM] unify versions of os-maven-plugin and
protobuf-maven-plugin (#6811)
4ce73561a is described below
commit 4ce73561aa60a9e5b23174301b806cbc22c23fc2
Author: AloysZhang <[email protected]>
AuthorDate: Fri Dec 9 22:17:50 2022 +0800
[INLONG-6810][POM] unify versions of os-maven-plugin and
protobuf-maven-plugin (#6811)
* [INLONG-6810] unify version of os-maven-plugin and protobuf-maven-plugin
* extract dependies to root pom
---
inlong-audit/audit-common/pom.xml | 4 ++--
inlong-sdk/sdk-common/pom.xml | 4 ++--
inlong-tubemq/tubemq-core/pom.xml | 4 ++--
pom.xml | 2 ++
4 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/inlong-audit/audit-common/pom.xml
b/inlong-audit/audit-common/pom.xml
index 60ee0d78d..09c97c9bd 100644
--- a/inlong-audit/audit-common/pom.xml
+++ b/inlong-audit/audit-common/pom.xml
@@ -44,7 +44,7 @@
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
- <version>0.5.1</version>
+ <version>${protobuf.maven.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<protoSourceRoot>${project.basedir}/src/main/proto</protoSourceRoot>
@@ -63,7 +63,7 @@
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
- <version>1.5.0.Final</version>
+ <version>${os.maven.plugin.version}</version>
</extension>
</extensions>
</build>
diff --git a/inlong-sdk/sdk-common/pom.xml b/inlong-sdk/sdk-common/pom.xml
index 9d0e1adb3..5c7a697b8 100644
--- a/inlong-sdk/sdk-common/pom.xml
+++ b/inlong-sdk/sdk-common/pom.xml
@@ -42,7 +42,7 @@
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
- <version>0.5.1</version>
+ <version>${protobuf.maven.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<protoSourceRoot>${project.basedir}/src/main/proto</protoSourceRoot>
@@ -61,7 +61,7 @@
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
- <version>1.5.0.Final</version>
+ <version>${os.maven.plugin.version}</version>
</extension>
</extensions>
</build>
diff --git a/inlong-tubemq/tubemq-core/pom.xml
b/inlong-tubemq/tubemq-core/pom.xml
index 56a378d4c..e4b438225 100644
--- a/inlong-tubemq/tubemq-core/pom.xml
+++ b/inlong-tubemq/tubemq-core/pom.xml
@@ -118,7 +118,7 @@
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
- <version>0.6.1</version>
+ <version>${protobuf.maven.plugin.version}</version>
<configuration>
<outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory>
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
@@ -137,7 +137,7 @@
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
- <version>1.6.0</version>
+ <version>${os.maven.plugin.version}</version>
</extension>
</extensions>
</build>
diff --git a/pom.xml b/pom.xml
index a1c7f2d0f..bed5881ce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -211,6 +211,8 @@
<paho.client.version>1.2.5</paho.client.version>
<kubernetes.client.version>6.0.0</kubernetes.client.version>
+ <protobuf.maven.plugin.version>0.6.1</protobuf.maven.plugin.version>
+ <os.maven.plugin.version>1.6.0</os.maven.plugin.version>
</properties>
<dependencyManagement>