maven+snoatype nexus+jrebel+eclipse+tomcat整合的小例子
首先安装nexus做为maven的私服:
点击install-nexus安装nexus为服务后,访问:http://localhost:8081/nexus/
点击后上角的log in输入默认用户名和密码:admin/admin123,然后点击左侧的菜单repositories,依次单击将右面显示的三个type为proxy的configure中的Download Remote Indexes设置为true;
这么做的目的是同步下载远程索引到本地,以便本地快速搜索。点击保存后依次右键这3个仓库将其repair index。以便更新本地索引。
2,配置maven,关于maven环境变量的设置就不说了。网上有的是。
这是还必须配置tomcat,<Context docBase="E:\java\newwork\tudouSystem\src\main\webapp" path="/tudouSystem" reloadable="false" />
项目的WEB.XML
此时修改servlet后发现不用重启tomcat了~!~~~