maven多个模块指定一个模块打包 |
发表者:admin分类:Devops2022-02-20 12:21:14 阅读[591] |
maven多个模块指定一个模块打包方法
mvn clean package install -pl 指定的模块名 -am
mvn clean package -pl 指定的模块名 -am
如对ruoyi-cloud中的gateway模块打包。PS W:\学习代码\RuoYi-Cloud> mvn clean package -pl ruoyi-gateway -am
Downloaded from aliyun-public: https://maven.aliyun.com/repository/public/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar (500 kB at 116 kB/s)
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ruoyi 3.2.0:
[INFO]
[INFO] ruoyi .............................................. SUCCESS [ 0.283 s]
[INFO] ruoyi-common ....................................... SUCCESS [ 0.006 s]
[INFO] ruoyi-common-core .................................. SUCCESS [ 47.210 s]
[INFO] ruoyi-common-redis ................................. SUCCESS [ 3.027 s]
[INFO] ruoyi-gateway ...................................... SUCCESS [ 51.003 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:42 min
[INFO] Finished at: 2022-02-20T12:04:47+08:00
[INFO] ------------------------------------------------------------------------
转载请标明出处【maven多个模块指定一个模块打包】。
《www.micoder.cc》
虚拟化云计算,系统运维,安全技术服务.
Tags: | [阅读全文...] |
最新评论