`
aa8945163
  • 浏览: 270724 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

eclipse安装maven

阅读更多
找到eclipse插件地方http://maven.apache.org/eclipse-plugin.html

有个http://m2eclipse.codehaus.org/

里面有句

You can install the Maven Integration for Eclipse by using the following update site from within Eclipse:

http://m2eclipse.sonatype.org/update/

接着把apache-maven-2.0.9-bin.zip解压出来
配置环境变量,把path指向bin
设置完毕后,在DOS下,输入mvn -version看版本
可以显示出maven的版本和JDK的版本
接着打开eclipse.
在help->software下avaiable software里面add site
增加一个URL,这个URL就是上面的找到的http://m2eclipse.sonatype.org/update/
添加完成,会在旁边的面板中出现maven Integeration for Eclipse Update Site
选中,Install安装完成
这里有创建的过程
http://docs.codehaus.org/display/M2ECLIPSE/New+and+Noteworthy
也可以用import加载你用maven 创建的项目,至于如何创建maven项目,和如何把maven项目转变为eclipse能用的类型
可以参考http://maven.apache.org/guides/getting-started/index.html
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics