Maven Overview Guide

Source: Internet
Author: User

MAVEN is a software project management and Understanding tool. Based on the idea of the POM (Project object model).


First, download and install:
Download the installation file Apache-maven-3.3.9-bin.zip.
Installing Maven is simple, as long as you add the bin directory in the Maven home directory to the PATH environment variable.
Enter the command mvn-v to check if the installation was successful.
Path=d:\java_workdir\apache-maven-3.3.9\bin

650) this.width=650; "title=" Test maven installation. png "src=" http://s3.51cto.com/wyfs02/M02/83/F3/wKiom1eA_ Wvt1ndaaaafwrsgose096.png-wh_500x0-wm_3-wmp_4-s_2742345885.png "alt=" wkiom1ea_wvt1ndaaaafwrsgose096.png-wh_50 "/ >


Second, MAVEN configuration
1. Maven_opts Environment variables:
The maven_opts contains the parameters used to start the JVM executing maven and provides the rest of the MAVEN options. For example, set the JVM's memory:
maven_opts=-xms256m-xmx512m


2. settings.xml File:
The configuration of different MAVEN projects.
Settings.xml configures how Maven executes, but does not target a single project. Settings.xml will appear in 2 directories:
Global Settings: ${maven.home}/conf/settings.xml
User settings: ${user.home}/.m2/settings.xml


3.. mvn folder:
At the top level of each project, files Maven.config and Extensions.XML, which contain special configurations for each project.




This article is from the "Snowflake" blog, make sure to keep this source http://6216083.blog.51cto.com/6206083/1813871

Maven Overview Guide

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.