Maven - Overview
来源:互联网 发布:如何评价黄海冰 知乎 编辑:程序博客网 时间:2024/06/06 20:06
What is Maven?
Maven is a project management and comprehension tool. Maven provides developers a complete build lifecycle framework. Development team can automate the project’s build infrastructure in almost no time as Maven uses a standard directory layout and a default build lifecycle.
In case of(万一;如果发生;假设) multiple development teams environment, Maven can set-up the way to work as per standards in a very short time. As most of the project setups are simple and reusable, Maven makes life of developer easy while creating reports, checks, build and testing automation setups.
Maven provides developers ways to manage following:
- Builds
- Documentation
- Reporting
- Dependencies
- SCMs
- Releases
- Distribution
- mailing list
To summarize, Maven simplifies and standardizes the project build process. It handles compilation(n. 编辑), distribution(n. 分布;分配), documentation, team collaboration(n. 合作;勾结;通敌) and other tasks seamlessly. Maven increases reusability and takes care of most of build related tasks.
Maven History
Maven was originally designed to simplify building processes in Jakarta Turbine project. There were several projects and each project contained slightly different ANT build files. JARs were checked into CVS.
Apache group then developed Maven which can build multiple projects together, publish projects information, deploy projects, share JARs across several projects and help in collaboration of teams.
Maven Objective
Maven primary goal is to provide developer
- A comprehensive model for projects which is reusable, maintainable, and easier to comprehend(vt. 理解;包含;由…组成).
- plugins or tools that interact with this declarative(adj. 宣言的;陈述的,说明的) model.
Maven project structure and contents are declared in an xml file, pom.xml
referred as Project Object Model (POM), which is the fundamental unit of the entire Maven system.
Convention over Configuration
Maven uses Convention over Configuration which means developers are not required to create build process themselves.
Developers do not have to mention each and every configuration detail. Maven provides sensible default behavior for projects. When a Maven project is created, Maven creates default project structure. Developer is only required to place files accordingly and he/she need not to define any configuration in pom.xml
.
As an example, following table shows the default values for project source code files, resource files and other configurations. Assuming, ${basedir}
denotes the project location:
In order to build the project, Maven provides developers options to mention life-cycle goals and project dependencies (that rely on Maven pluging capabilities and on its default conventions). Much of the project management and build related tasks are maintained by Maven plugins.
Developers can build any given Maven project without need to understand how the individual plugins work. Refer to Maven Plug-ins section for more detail.
- Maven - Overview
- Maven Overview
- 1.1. Maven Overview
- Using Maven in MyEclipse Overview (Maven4MyEclipse)
- Overview
- Overview
- Overview
- Overview
- overview-overview
- Users overview
- UML Overview
- ADO Overview
- VCF overview
- Week Overview
- ADO Overview
- WSN Overview
- XAML Overview
- WebWork Overview
- 让ubuntu像windows那样显示网速,内存使用率
- hadoop
- 数据加密:什么是数据签名(What is a Digital Signature?)
- Prototype chain in JavaScript
- 海南分校第一期1班:张耀如奖学金文章更新连载1第一篇:
- Maven - Overview
- xml简单学习教程
- C/C++面试题大汇总1【转】
- Swing 自定义布局管理器
- POJ3273 Monthly Expense(二分答案)
- Android APK反编译详解(附图)
- 黑马程序员_java基础之概述,开发工具,基础(常量,变量.运算符)
- android中tesseract-ocr的介绍
- GSON解析“="等号出现乱码