Maven


一,Maven是什么?

Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.

http://maven.apache.org/what-is-maven.html


maven feature:

http://maven.apache.org/maven-features.html



二,POM是什么

http://maven.apache.org/pom.html


有点哲学的含义


POM stands for "Project Object Model". It is an XML representation of a Maven project held in a file named pom.xml. When in the presence of Maven folks, speaking of a project is speaking in the philosophical sense, beyond a mere collection of files containing code. A project contains configuration files, as well as the developers involved and the roles they play, the defect tracking system, the organization and licenses, the URL of where the project lives, the project's dependencies, and all of the other little pieces that come into play to give code life. It is a one-stop-shop for all things concerning the project. In fact, in the Maven world, a project need not contain any code at all, merely a pom.xml.



三,Mike的总结

所谓maven,就是制定一套管理project的规则(或者可以称之为工具)。

所谓project,应该有很多的function: 编译,打包,记录日志,输出文档

所谓POM (project object model) 就是project的精髓,它来决定project的各个参数。