Maven

来源:互联网 发布:hl5590dn网络共享 编辑:程序博客网 时间:2024/05/01 14:27


[java] view plain copy

print?在CODE上查看代码片派生到我的代码片

  1. 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.  

翻译:Maven是基于项目对象模型(POM即Project Object Model),可以通过一小段描述信息来管理项目的构建,报告和文档的软件项目管理工具。

 

        通过上面这句话,我们可以了解到Maven不仅仅可以管理项目的构建,而且可以根据项目源码自动生成文档,以及报告。说句实话,对于我这种不太愿意写文档的人来说,实在是太方便了。


下载


       下载地址:http://maven.apache.org/release-notes-all.html,现在Maven的最新版本是Maven3.2.5,大家可以根据自己的需要自行下载。


什么是Maven


[java] view plain copy
print?在CODE上查看代码片派生到我的代码片
  1. Maven, a Yiddish word meaning accumulator of knowledge, was originally started as an attempt to simplify the build processes in the Jakarta Turbine project. There were several projects each with their own Ant build files that were all slightly different and JARs were checked into CVS. We wanted a standard way to build the projects, a clear definition of what the project consisted of, an easy way to publish project information and a way to share JARs across several projects.  
  2.   
  3. The result is a tool that can now be used for building and managing any Java-based project. We hope that we have created something that will make the day-to-day work of Java developers easier and generally help with the comprehension of any Java-based project.  

翻译:

        Maven这个单词来自于意第绪语,意为知识的积累,最早在Jakata Turbine项目中它开始被用来试图简化构建过程。当时有很多项目,它们的Ant build文件仅有细微的差别,而JAR文件都由CVS来维护。于是Maven创始者想要更加标准的方式构建项目,该项目的清晰定义包括:一种很方便的方式来发布项目信息,以及一种在多个项目中共享JAR的方式。

     现在,Maven,成为了一种被用于构建和管理任何基于Java项目的工具。Maven创始者希望能够更多的让Java开发人员的日常工作更加容易,帮助理解任何基于Java项目。

maven的目标

[java] view plain copy
print?在CODE上查看代码片派生到我的代码片
  1. Maven’s primary goal is to allow a developer to comprehend the complete state of a development effort in the shortest period of time. In order to attain this goal there are several areas of concern that Maven attempts to deal with:  
  2.   
  3. 1、Making the build process easy  
  4. 2、Providing a uniform build system  
  5. 3、Providing quality project information  
  6. 4、Providing guidelines for best practices development  
  7. 5、Allowing transparent migration to new features  
翻译:

Maven的主要目标是为了使开发人员在最短的时间内领会项目的所有状态。为了达到这一目标,Maven考虑一下五个方面的内容:

1、使得构建过程更加容易,方便编译,打包,发布

2、为每个项目提供统一的配置

3、提供优质项目信息

4、最佳开发实践

5、安装和更新第三插件透明化


       上面的内容都来自于Apache官网对于Maven的介绍,这是最权威的解释,大家如果觉得不过瘾的化,可以点击:http://maven.apache.org/what-is-maven.html,由于本人的英语水平有点菜,但还是希望对你有所帮助。

0 0
原创粉丝点击