For further reference, please consider the following sections:
mvnw 全名是 maven wrapper,它的原理是在 maven-wrapper.properties 文件中记录你要使用的 maven 版本,当用户执行 mvnw clean 命令时,发现当前用户的 maven 版本和期望的版本不一致,那么就下载期望的版本,然后用期望的版本来执行 mvn 命令,比如刚才的mvn clean。
For further reference, please consider the following sections:
mvnw 全名是 maven wrapper,它的原理是在 maven-wrapper.properties 文件中记录你要使用的 maven 版本,当用户执行 mvnw clean 命令时,发现当前用户的 maven 版本和期望的版本不一致,那么就下载期望的版本,然后用期望的版本来执行 mvn 命令,比如刚才的mvn clean。