1. 从github下载nacos的源码
https://github.com/alibaba/nacos.git
2. 在命令行执行 :如果是windows不要在power shell上执行
在pom.xml所在文件夹进行cmd
mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
如果报错 :
mvn Failed during checkstyle execution: There are errors reported by Checkstyle 6.2
使用
mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U -Dcheckstyle.skip