Maven Introductory Introduction: MAVEN overview

Source: Internet
Author: User

what maven is.

A: Maven is a tool for project management and integration. MAVEN provides a complete set of build lifecycle frameworks for developers. The development team does not have to spend much time automating the infrastructure configuration of the project, because MAVEN uses a standard directory structure and a default build lifecycle. Maven makes it easier for developers to work when creating reports, checking, building, and testing automatic configuration.


what maven can do:

* Build

* Document Generation

* Report

* Dependent

* SCMs (software configuration Management)

* Release

* Distribution

* Mailing List



about Pom.xml:

The MAVEN engineering structure and content are defined in Pom.xml, and the full name is Project Object Moduel.


The contract is better than the configuration:

maven uses conventions rather than configurations, meaning that developers don't have to create the build process themselves.

When you create a MAVEN project, MAVEN creates the default engineering structure, and the developer only needs to place the configuration file reasonably, without any configuration in the Pom.xml.

For example, the following table shows the default source code, configuration file, and the default storage location for compiled files:

                              

Configuration Items Default value
Source Code /src/main/java
Resources /src/main/resources
Tests /src/test
Complied byte codes /target
Distributable Jars /target/classes

                                                                                    


                  


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.