Chapter 2 Maven installation and configuration 2

Source: Internet
Author: User
Maven installation directory Analysis? Bin: script containing MVN running? Boot: contains the plexus-classworlds Class Loader framework? Conf: Does it contain the settings. xml configuration file? Lib: contains the Java class library required for Maven runtime? License.txt, notice.txt, readme.txt brief introduction to Maven and third-party software Initial Configuration? When setting the maven_home environment variable, you only need to download the latest version. After decompression, reset the maven_home environment variable? Set maven_opts environment variables (minimum and maximum Java heap initial values)-xms128m-xmx512m? Configure settings. xml maven_home/CONF/settings. XML in the user scope ~ /. M2/settings. xml Follow Maven conventions? Src/main/JAVA -- store the. Java file of the project? Src/main/resources -- Stores project resource files, such as spring and hibernate configuration files? Src/test/JAVA -- store all test. java files, such as the JUnit test class? Src/test/resources -- test the resource file? Target -- project output location Pom. xml

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: 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.