maven\velocity安装

eclipse安装插件
1、maven
1.1安装gef(这个插件安装理由来自CSDN博客)
http://download.eclipse.org/tools/gef/updates/interim/
在没有安装zest插件的话,直接安装m2eclipse插件会报出缺少依赖的错误,信息如下: 
Cannot complete the install because one or more required items could not be found. 
Software being installed: Maven Integration for Eclipse (Required) 0.10.0.20100209-0800 (org.maven.ide.eclipse.feature.feature.group 0.10.0.20100209-0800) 
Missing requirement: Maven Integration for Eclipse (Editors) 0.10.0.20100209-0800 (org.maven.ide.eclipse.editor 0.10.0.20100209-0800) requires 'bundle org.eclipse.zest.core 0.0.0' but it could not be found 
Cannot satisfy dependency: 
From: Maven Integration for Eclipse (Required) 0.10.0.20100209-0800 (org.maven.ide.eclipse.feature.feature.group 0.10.0.20100209-0800) 
To: org.maven.ide.eclipse.editor [0.10.0.20100209-0800]

1.2安装m2eclipse插件
http://download.eclipse.org/technology/m2e/releases
m2eclipse地址很多地方写的是(
m2eclipse-core Update Site: http://m2eclipse.sonatype.org/sites/m2e 
m2eclipse-extras Update Site: http://m2eclipse.sonatype.org/sites/m2e-extras  )但是笔者试了一下不能安装,找了很多地方才发现http://download.eclipse.org/technology/m2e/releases这个地址可以安装,安装完成时可能会出现finish灰色的情况,需要看日志也许提示的是某个插件已经安装,可以将已安装插件选择框的勾去掉就可以点击finish了
以上是安装最新版本
或者输入以下地址也可以https://repository.sonatype.org/content/repositories/forge-sites/m2e/1.3.0/N/LATEST/
并且在浏览器输入以下地址可以看到不同版本的m2e插件,你可以选择你需要的版本进入该版本的/N/LATEST/目录https://repository.sonatype.org/content/repositories/forge-sites/m2e

2、velocity
http://veloeclipse.googlecode.com/svn/trunk/update/
因为是google上的地址所以需要出去
还有个地址:http://propsorter.sourceforge.net/veloeclipse安装过程中发现不能finish,然后看了ilovejavaforever的博客(http://ilovejavaforever.iteye.com/blog/557908)按照上面操作还是不成功,今天我看到安装地址上的google标志想着打开fg742p,输入地址http://veloeclipse.googlecode.com/svn/trunk/update/没有按照ilovejavaforever所说的去掉Group Items by Catagory选择,直接next->finish成功
因为velocity默认的js显示为绿色看不清也很刺眼,另附上ilovejavaforever修改颜色的方法
Windows --> Perferences --> Veloeclipse --> Editor --> script code --> Color

你可能感兴趣的:(maven,velocity)