Project management tool-maven (Windows installation)

Source: Internet
Author: User

What is maven?

To install the MAVEN environment:

: https://maven.apache.org/download.cgi

maven3.3+jdk1.7 or later

Download Windows version

Unzip to local to explain the folder

Bin directory: Run script with MVN

Boot directory: A framework containing a classloader

Conf directory: Is the configuration file directory

Lib directory: contains all the class libraries that Maven normally uses

Configuring Environment variables

M2_home: Installation Home directory D:\maven

Path:d:\maven\bin

Check if the installation was successful

M2-version

Maven Common Build Commands

Mvn-v View Version

Compile compiling

Test tests

Package Packaging

Clean Delete target

Install the jar package into the local repository

MAVEN project directory structure

Src/maiin/java contains the project source code; Src/test/java contains test source (Junit); Pom.xml file contains the POM Project Model (Project Object)

Project management tool-maven (Windows installation)

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.