1. Introduction to Maven
Projects managed and built under Maven are really good and simple compared to traditional projects, so it's also important to use such tools as much as possible to build projects that can manage the entire lifecycle of a project.
You can do all the relevant work with its commands, and its common commands are as follows:
-MVN Compile
-MVN Test
-MVN Clean
-MVN Package
-MVN Install//installs the newly created jar package into the warehouse
-MVN archetype:generate//Create a new project
2. Configure Maven
Software is configured once and all MAVEN projects are shared.
Choose Your Own Warehouse
3. Creating a Java Web project using the MAVEN skeleton
4. Configuring the Java Web Project
4-1) Project Structure
5. Configure Tomcat
6. Start the web Server
Visit the url:http://localhost:8080 on browser
7. Create a Java program directory
IntelliJ idea + maven to create a Java Web project