This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
Fix README of mvn command tutorial on Windows #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
mvnw
和mvnw.cmd
是用来执行内嵌入项目的 wrapper maven 的命令,正常来说 win 下 IDEA 里 maven 插件执行的还是本地 maven 的命令,只是在 terminal 使用mvn
时没有配置环境变量所以无法正常使用。然而最魔怔的地方在于当 IDEA 项目创建以后,在外部更改了环境变量不会影响 IDEA 内部的环境变量,因为 IDEA 内的 terminal 使用的是 IDEA 这个子进程的环境变量,所以必须得在创建 IDEA 项目之前就配置好 maven 的环境变量,才可以在项目的 ternimal 中使用
mvn
命令。。。所以最后为了方便,写了几种基于 IDEA 的 Run Anything 的方法。