1

使用mvnd替换你的mvn命令

 2 years ago
source link: https://www.bboy.app/2021/12/29/%E4%BD%BF%E7%94%A8mvnd%E6%9B%BF%E6%8D%A2%E4%BD%A0%E7%9A%84mvn%E5%91%BD%E4%BB%A4/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

使用mvnd替换你的mvn命令

发表于

2021-12-29 更新于 2021-12-30 分类于 linux

20211229-1.png

该项目旨在使用 Gradle 和 Takari 已知的技术提供更快的 Maven 构建

项目地址: https://github.com/apache/maven-mvnd

安装很简单直接下载,然后添加到path就好,如果没有设置java_home那么要设置下java_home

如果你之前maven修改过什么配置那么修改下mvnd的配置

vim conf/mvnd.properties

maven.settings

实际测试下来会比mvn多线程编译还要块几秒,因为我用的是小项目可能不明显,但是已经很可观了

最后说几句

十分推荐使用

欢迎关注我的博客www.bboy.app

Have Fun

欢迎关注我的其它发布渠道


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK