Ant build tool introduction (a)

First, what is the maven

Maven translates to experts, its official website is: http://maven.apache.org/

Maven uses the POM ( Project Object Model ) object model project, is through a description of the project to build information management, information describing a type of xml file, which is used to manage: source code, configuration files, and the role of the developer's information, bug tracking system, organize information, project authorization, project dependencies url, projects and so on.
Maven uses usually are: to build the project, document generation, reporting, dependency management, SCMS, publishing projects, distribution program, e-mail management
main ideas: conventions than an arrangement
is actually a word: standards. Specification of a standard Java project development, the standard is very important, each company has its own standards, it is a mess

Two, maven benefits

Now we build a project need to use many third-party libraries, such as writing a use Spring Web project would require the introduction of a large number of jar package. Jar package of a number of projects as much as we often staggering, and the complex relationship between the Jar package, a package Jar Jar will often refer to other packages, the lack of any project will result in a Jar package fails to compile.
When development projects in the past, programmers often need to spend more energy on references Jar package to build the project environment, and this work is particularly difficult, less a Jar package, and more often report a Jar package of some people scratching their heads abnormal.
The Maven is a tool to help programmers build the project, we only need to tell Maven what needs Jar package, it will help us to download all the Jar, greatly enhance the development efficiency.
When we split a project into multiple projects, and each project interdependent time, the traditional method is to project a jar packaging then introduced into another project, we need to use maven to do so, just in pom. the coordinates of the object can be introduced in the project xml file.

Guess you like

Origin www.cnblogs.com/myitnews/p/11455474.html