安裝eclipse maven插件m2eclipse

http://www.eclipse.org/m2e/

MavenEclipse插件m2eclipse的安裝

The goal of the m2ec project is to provide a first-class Apache Maven support in the Eclipse IDE, making it easier to edit Maven's pom.xml, run a build from the IDE and much more. For Java developers, the very tight integration with JDT greatly simplifies the consumption of Java artifacts either being hosted on open source repositories such as Maven Central, or in your in-house Maven repository.

m2e is also a platform that let others provide better integration with additional Maven plugins (e.g. Android, web development, etc.), and facilitates the distribution of those extensions through the m2e marketplace.

m2ec項目

m2eclipse插件是Eclipse的一款Maven插件。

安裝m2eclipse插件的過程如下:

啓動Eclipse,在菜單欄中選擇Help,然後選擇Install New Software…,可以看到一個Install對話框,點擊Work with:字段邊上的Add按鈕,會得到一個新的Add Repository對話框,在Name字段中輸入m2eLocation字段中輸入http://download.eclipse.org/technology/m2e/releases,然後點擊OKEclipse會下載m2eclipse安裝站點上的資源信息。等待資源載入完成之後,可以看到圖所示的界面:


在線更新地址:

http://download.eclipse.org/technology/m2e/releases

 




 

 

如圖顯示了m2eclipse的核心模塊Maven Integration for Eclipse (Required),選擇“Maven Integration for Eclipse”後點擊NextEclipse會自動計算模塊間的依賴關係,然後給出一個將被安裝的模塊列表;確認無誤後,繼續點擊Next;看到許可證信息,m2eclipse使用的開源許可證是Eclipse Public License v1.0,選擇I accept the terms of the license agreements,然後點擊FinishEclipse開始下載安裝選擇的模塊。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章