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

dockerzhang 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 c31e73a224 [INLONG-9025][Build] Avoid deploying the distribution 
packages to repositories (#9026)
c31e73a224 is described below

commit c31e73a22453e1cca16110c113c7cc0b39020f50
Author: Charles Zhang <[email protected]>
AuthorDate: Sun Oct 8 14:37:43 2023 +0800

    [INLONG-9025][Build] Avoid deploying the distribution packages to 
repositories (#9026)
---
 inlong-distribution/pom.xml | 8 ++++++++
 inlong-sdk/sort-sdk/pom.xml | 4 ++--
 inlong-sort/pom.xml         | 2 +-
 pom.xml                     | 1 +
 4 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/inlong-distribution/pom.xml b/inlong-distribution/pom.xml
index 03224d0e06..5107b1a0fa 100644
--- a/inlong-distribution/pom.xml
+++ b/inlong-distribution/pom.xml
@@ -87,6 +87,14 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <version>${plugin.deploy.version}</version>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>
diff --git a/inlong-sdk/sort-sdk/pom.xml b/inlong-sdk/sort-sdk/pom.xml
index 56da3ec947..90b330fc73 100644
--- a/inlong-sdk/sort-sdk/pom.xml
+++ b/inlong-sdk/sort-sdk/pom.xml
@@ -81,7 +81,7 @@
                 </plugin>
                 <plugin>
                     <artifactId>maven-compiler-plugin</artifactId>
-                    <version>3.8.0</version>
+                    <version>${plugin.compile.version}</version>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
@@ -98,7 +98,7 @@
                 </plugin>
                 <plugin>
                     <artifactId>maven-deploy-plugin</artifactId>
-                    <version>2.8.2</version>
+                    <version>${plugin.deploy.version}</version>
                 </plugin>
                 <plugin>
                     <artifactId>maven-site-plugin</artifactId>
diff --git a/inlong-sort/pom.xml b/inlong-sort/pom.xml
index 8c77eeb4d5..969e47247c 100644
--- a/inlong-sort/pom.xml
+++ b/inlong-sort/pom.xml
@@ -142,7 +142,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-deploy-plugin</artifactId>
-                <version>2.8.2</version>
+                <version>${plugin.deploy.version}</version>
             </plugin>
 
             <plugin>
diff --git a/pom.xml b/pom.xml
index c8e3001369..84cc943718 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,6 +59,7 @@
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
         <plugin.compile.version>3.8.1</plugin.compile.version>
+        <plugin.deploy.version>3.1.1</plugin.deploy.version>
         <plugin.assembly.version>3.2.0</plugin.assembly.version>
         <plugin.surefire.version>3.0.0-M7</plugin.surefire.version>
         <plugin.failsafe.version>3.0.0-M7</plugin.failsafe.version>

Reply via email to