This is an automated email from the ASF dual-hosted git repository.
xiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new 2088df1b32 [type: release] Auto checksum when packing distribution
(#5049)
2088df1b32 is described below
commit 2088df1b320665e366697ccc251f38fd86ce6ba6
Author: 吴伟杰 <[email protected]>
AuthorDate: Mon Aug 21 10:42:33 2023 +0800
[type: release] Auto checksum when packing distribution (#5049)
---
shenyu-dist/pom.xml | 38 +++++++++++++++++++++++++++++++
shenyu-dist/shenyu-admin-dist/pom.xml | 4 ++++
shenyu-dist/shenyu-bootstrap-dist/pom.xml | 4 ++++
shenyu-dist/shenyu-src-dist/pom.xml | 4 ++++
4 files changed, 50 insertions(+)
diff --git a/shenyu-dist/pom.xml b/shenyu-dist/pom.xml
index c06b3b379c..670a6bb036 100644
--- a/shenyu-dist/pom.xml
+++ b/shenyu-dist/pom.xml
@@ -32,4 +32,42 @@
<module>shenyu-bootstrap-dist</module>
<module>shenyu-docker-compose-dist</module>
</modules>
+
+ <properties>
+ <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/shenyu-dist/shenyu-admin-dist/pom.xml
b/shenyu-dist/shenyu-admin-dist/pom.xml
index 535aa3532e..80ddc8a3e2 100644
--- a/shenyu-dist/shenyu-admin-dist/pom.xml
+++ b/shenyu-dist/shenyu-admin-dist/pom.xml
@@ -87,6 +87,10 @@
<tarLongFileMode>posix</tarLongFileMode>
</configuration>
</plugin>
+ <plugin>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ </plugin>
</plugins>
</build>
</profile>
diff --git a/shenyu-dist/shenyu-bootstrap-dist/pom.xml
b/shenyu-dist/shenyu-bootstrap-dist/pom.xml
index 5be0c7d100..133f7554f3 100644
--- a/shenyu-dist/shenyu-bootstrap-dist/pom.xml
+++ b/shenyu-dist/shenyu-bootstrap-dist/pom.xml
@@ -75,6 +75,10 @@
<tarLongFileMode>posix</tarLongFileMode>
</configuration>
</plugin>
+ <plugin>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ </plugin>
</plugins>
</build>
</profile>
diff --git a/shenyu-dist/shenyu-src-dist/pom.xml
b/shenyu-dist/shenyu-src-dist/pom.xml
index cb743fb7ae..26138a2f22 100644
--- a/shenyu-dist/shenyu-src-dist/pom.xml
+++ b/shenyu-dist/shenyu-src-dist/pom.xml
@@ -55,6 +55,10 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ </plugin>
</plugins>
</build>
</profile>