1. 程式人生 > >(轉載)【項目管理和構建】——Maven下載、安裝和配置(一)

(轉載)【項目管理和構建】——Maven下載、安裝和配置(一)

文檔 port 目標 軟件項目管理 strong mar temp mave work

原文鏈接: http://blog.csdn.net/jiuqiyuliang/article/details/41076215

在現實的企業中,以低成本、高效率、高質量的完成項目,不僅僅需要技術大牛,企業更加需要管理大牛,管理者只懂技術是遠遠不夠的。當然,管理可以說有很多的方面,例如:對人員的管理,也有對項目的管理等等。如果你想成為一個優秀的管理者,你必須得會使用高大上的管理工具。

從這篇博文開始,我會給大家介紹更多的項目管理工具,經過點點滴滴的積累,不斷的進步,最終成為管理大牛。


簡介


我先看一下Apache官網的解釋:

  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.
ntral piece of information.

翻譯:Maven是基於項目對象模型(POM即Project Object Model),可以通過一小段描述信息來管理項目的構建,報告和文檔的軟件項目管理工具。

通過上面這句話,我們可以了解到Maven不僅僅可以管理項目的構建,而且可以根據項目源碼自動生成文檔,以及報告。說句實話,對於我這種不太願意寫文檔的人來說,實在是太方便了。


下載


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


什麽是Maven


  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. 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的目標

  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. Making the build process easy
  3. Providing a uniform build system
  4. Providing quality project information
  5. Providing guidelines for best practices development
  6. Allowing transparent migration to new features

翻譯:

Maven的主要目標是為了使開發人員在最短的時間內領會項目的所有狀態。為了達到這一目標,Maven考慮一下五個方面的內容:

1、使得構建過程更加容易,方便編譯,打包,發布

2、為每個項目提供統一的配置

3、提供優質項目信息

4、最佳開發實踐

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


上面的內容都來自於Apache官網對於Maven的介紹,這是最權威的解釋,大家如果覺得不過癮的化,可以點擊:http://maven.apache.org/what-is-maven.html,由於本人的英語水平有點菜,但還是希望對你有所幫助。



(轉載)【項目管理和構建】——Maven下載、安裝和配置(一)