As a result of the recent interview needs, so want to be familiar with the basic process of spring MVC, but found that seems to be almost forgotten (between the two months to engage in Linux C development). It's a strange question to use the Maven build that comes with eclipse directly, so here's a record of the process of installing Apache Maven, after all, Maven is a powerful tool for building Java projects.
1. Download, install
Go to MAVEN official website, download the latest version to local, unzip to the corresponding directory.
2. Configure Maven_home
The first step: in the System environment variable configuration, new plus maven_home, such as D:\Lib\apache-maven-3.3.9;
Part two: After adding maven_home, add:%maven_home%\bin in Path variable;
3. Verification
Enter mvn-v at the command line if you can get out of MAVEN's basic information, the installation is complete.
4. Configure the locally installed Maven in eclipse
Click Add, Installation-----Preference, Window----settings.
Shown
Install MAVEN and configure it in eclipse