...
其中主要涉及到变量名的选取,路径的设置和安装运行 Maven 需要的一些预先安装软件。
...
下面的内容将会提醒你在使用 Maven 的时候需要注意的一些地方。
变量名中的空格
和其他跨平台软件一样,如果在重要的变量名称中有空格的话,Maven 将会产生一些未知的错误。建议在 Maven 安装的时候,Maven 的路径中不要包含有任何的空格。
Prerequisites
Maven is written in Java (and primarily used to build Java programs). Thus, the major prerequisite is the Java SDK. You need to install the Java SDK (e.g. fromhttp://www.oracle.com/technetwork/java/javase/downloads/index.html} Oracle's download site, and you should install it to a pathname without spaces, such as c:\j2se1.6.
Once Java is installed, you must ensure that the commands from the Java SDK are in your PATH environment variable. Running, for example,
java -version
must show the right version number.
...