This demonstration video shows you how to quickly set up a new Maven project in the IntelliJ IDEA.
Mac OS 11.6 Big Sur
IntelliJ IDEA 2021.2.2 Community Edition
Setting Up a Maven Project in IntelliJ IDEA
-------------------------------------------------------------------
1. Create a new project
2. Select Maven from left-hand menu list
3. Select Project SKD from top (Next)
4. Provide group ID and Artifact ID, e.g., RSL, "HelloMavenWorld"
5. Choose "Enable Auto-Import" from bottom right
6. Expand project in left-hand menu, sho pom.xml file
7. Show "src" directory structure
8. Open "Maven Projects" window (bottom, left corner)
9. Expand Maven example to show standard phases and plugins
Creating a New Dependency
----------------------------------------------
10. Select "Code" menu, select "Generate..."
11. Choose "Dependency Template"
12. Type "junit" in artifact ID + "junit" in group ID + "4.12" in version
13. Repeat Step 8
14. Hit "Refresh" button/icon in top, right
15. Expand Maven example to show dependencies
16. Show "External Libraries" in left-hand menu
17. Try Running "HelloMavenWorld.java" example
A Really Great Maven Tutorial
• Maven Complete Tutorial with IntelliJ