Enterprise maven Management Project
Enterprise maven management project In the enterprise, mainly use maven to develop projects, or you want to see other people's code, you have to download code through git or SVN, and projects are managed with maven, so local should also install maven.
Maven's Profile
Maven is a project management tool that contains a Project Object Model (Project Object Model ---> pom.xml) to manage the jar packages that the project depends on.
Download and install maven
MAVEN download address: MAVEN official address
2. Unpack installation
Configure environment variables --Set M2_HOME variable C:\maven\apache-maven-3.2.5 --Set the system environment variable path. %M2_HOME%\bin; Create a local repository: specify where to download jar packages --Change the local repository path in C:\maven\apache-maven-3.2.5\conf\settings.xml file: C:/maven/apache-maven-3.2.5/repo --Find the mirrors element and add a mirror to it, which is the central repository. alimaven aliyun maven http://maven.aliyun.com/nexus/content/groups/public/ central
3. Eclipse integration maven
Set eclipse comes with maven integration tool. Find the Maven node in Preferences and observe whether the User Settings item is set correctly.
4. intelliji IDEA integration maven
Open-File-Settings
--New maven WEB project
Open-File-New-Project
click Next
--Click NEXT
--Added configuration as architypeCatalog =internal
click Next
--Click NEXT
--Click Finish to start project creation
maven web template project structure