1. Download the source code of nacos from github
https://github.com/alibaba/nacos.git
2. Execute on the command line: if it is windows, do not execute it on the power shell
Run cmd in the folder where pom.xml is located
mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
If an error is reported:
mvn Failed during checkstyle execution: There are errors reported by Checkstyle 6.2
use
mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U -Dcheckstyle.skip