首页 > 其他 > 详细

初识Maven

时间:2014-03-15 18:15:53      阅读:449      评论:0      收藏:0      [点我收藏+]

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的各个参数。

本文出自 “小新专栏” 博客,请务必保留此出处http://mikewang.blog.51cto.com/3826268/1377263

初识Maven,布布扣,bubuko.com

初识Maven

原文:http://mikewang.blog.51cto.com/3826268/1377263

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!