First of all, I declare that this article is not original by eamonsec. I don’t know where it came from now. Maybe the person I transferred is not original…
1. Download maven
Official address:http://maven.apache.org/download.cgi
Unzip and create a new local warehouse folder
2. Configure the local warehouse path
3. Configure Maven environment variables
4. Configure Maven in IntelliJ idea
Open – file settings
5. New Maven web project
Open file new project
Click next
Click next
The added configuration is archetypecatalog = internal
Click next
Click next
Click Finish to create the project
Click on the lower right corner to view it
6. Maven web template project structure
Similarly, create a new test folder under main, and then create a new test folder under this folderJavaTest source folder and resource test resource folder
You can also right-click project – select open module settings to open the project configuration page
7. Configuration depends on jar package
Jar package configuration search
Official address:http://mvnrepository.com/