You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2023/04/03 08:24:35 UTC

[shardingsphere] branch master updated: Move checksum-maven-plugin to distribution module (#24978)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b23bdf282da Move checksum-maven-plugin to distribution module (#24978)
b23bdf282da is described below

commit b23bdf282dae63b82c4c3c070833dfd01c071e51
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Mon Apr 3 16:24:27 2023 +0800

    Move checksum-maven-plugin to distribution module (#24978)
---
 distribution/pom.xml | 36 ++++++++++++++++++++++++++++++++++++
 pom.xml              | 29 +----------------------------
 2 files changed, 37 insertions(+), 28 deletions(-)

diff --git a/distribution/pom.xml b/distribution/pom.xml
index 43e10ebfdf6..ff829b85e91 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -38,5 +38,41 @@
     
     <properties>
         <maven.deploy.skip>true</maven.deploy.skip>
+        
+        <checksum-maven-plugin.version>1.10</checksum-maven-plugin.version>
     </properties>
+    
+    <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>net.nicoulaj.maven.plugins</groupId>
+                    <artifactId>checksum-maven-plugin</artifactId>
+                    <version>${checksum-maven-plugin.version}</version>
+                    <configuration>
+                        <appendFilename>true</appendFilename>
+                        <algorithms>
+                            <algorithm>SHA-512</algorithm>
+                        </algorithms>
+                        <fileSets>
+                            <fileSet>
+                                <includes>
+                                    <include>*.tar.gz</include>
+                                    <include>*.zip</include>
+                                </includes>
+                            </fileSet>
+                        </fileSets>
+                    </configuration>
+                    <executions>
+                        <execution>
+                            <goals>
+                                <goal>artifacts</goal>
+                            </goals>
+                            <phase>package</phase>
+                        </execution>
+                    </executions>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
 </project>
diff --git a/pom.xml b/pom.xml
index ba687f8b420..7cbeec98caa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -145,7 +145,6 @@
         <protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version>
         <dockerfile-maven.version>1.4.13</dockerfile-maven.version>
         <docker-compose-maven-plugin.version>4.0.0</docker-compose-maven-plugin.version>
-        <checksum-maven-plugin.version>1.10</checksum-maven-plugin.version>
         <templating-maven-plugin.version>1.0.0</templating-maven-plugin.version>
         <git-commit-id-plugin.version>4.9.10</git-commit-id-plugin.version>
         <spotless-maven-plugin.version>2.22.1</spotless-maven-plugin.version>
@@ -810,38 +809,12 @@
                     <artifactId>dockerfile-maven-plugin</artifactId>
                     <version>${dockerfile-maven.version}</version>
                 </plugin>
+                <!-- TODO nianjun should remove after test container is used in agent e2e -->
                 <plugin>
                     <groupId>com.dkanejs.maven.plugins</groupId>
                     <artifactId>docker-compose-maven-plugin</artifactId>
                     <version>${docker-compose-maven-plugin.version}</version>
                 </plugin>
-                <plugin>
-                    <groupId>net.nicoulaj.maven.plugins</groupId>
-                    <artifactId>checksum-maven-plugin</artifactId>
-                    <version>${checksum-maven-plugin.version}</version>
-                    <configuration>
-                        <appendFilename>true</appendFilename>
-                        <algorithms>
-                            <algorithm>SHA-512</algorithm>
-                        </algorithms>
-                        <fileSets>
-                            <fileSet>
-                                <includes>
-                                    <include>*.tar.gz</include>
-                                    <include>*.zip</include>
-                                </includes>
-                            </fileSet>
-                        </fileSets>
-                    </configuration>
-                    <executions>
-                        <execution>
-                            <goals>
-                                <goal>artifacts</goal>
-                            </goals>
-                            <phase>package</phase>
-                        </execution>
-                    </executions>
-                </plugin>
                 <plugin>
                     <groupId>org.codehaus.mojo</groupId>
                     <artifactId>templating-maven-plugin</artifactId>