1、oracle 官网下载 下载jdk1.6
2、http://tomcat.apache.org/下载tomcat apache-tomcat-6.0.29.zip
3、http://nexus.sonatype.org/downloads/下载web版的 nexus-webapp-1.8.0.1.war、nexus-webapp-1.9.1.1.war
4、将上面nexus-webapp-1.9.1.1.war下载 到以下目录,与tomcat关联,并放在tomcat的\webapps目录下
5、将tomcat\webapps目录下的nexus-webapp-1.9.1.1.war 改为 "nexus.war"
6、修改 nexus.war\WEB-INF\plexus.properties
7、修改内容为nexus-work=${user.home}/sonatype-work/nexus 然后保存
8、启动tomcat 服务 start.bat
9、验证nexus加载情况。 http://localhost:8080/nexus
10、登陆用户账户admin /admin123
11、添加外网 Maven 服务器,进入 Views/Repositories 界面中,
可以根据需要添加 外网的Maven 服务器,默认已经添加了常用的 Maven 服务器,
一般需要将 Download Remote Indexes 改为 True
12、添加定时任务:更新索引、更新metaData等。
13、自己开发的jar包只要符合某个规则就到指定位置去查询。
maven server create
最新推荐文章于 2024-11-14 00:15:55 发布