summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangkuan <[email protected]>2024-10-25 18:09:45 +0800
committerwangkuan <[email protected]>2024-10-25 18:09:45 +0800
commit03d8bcc30fcd06968644a994e5a6a6841c0bcd19 (patch)
tree83b77269fce270d8c09025c462805174710abb44
parent879dadd6aaf72b41d1a3f5c33f740d1f1457a991 (diff)
[feature][groot-stream]增加Maven插件,用于管理和更新项目中的依赖版本。使用时在项目根目录命令行执行 mvn versions:set -DnewVersion="1.7.0" 即可将所有子模块的pom中的version设置为1.7.0
-rw-r--r--pom.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 28a2b05..cdf6569 100644
--- a/pom.xml
+++ b/pom.xml
@@ -546,6 +546,11 @@
<finalName>${project.artifactId}-${project.version}</finalName>
<pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>versions-maven-plugin</artifactId>
+ <version>2.16.0</version>
+ </plugin>
<!-- java compiler -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>