首页 > 其他 > 详细

nginx

时间:2015-04-02 23:55:06      阅读:318      评论:0      收藏:0      [点我收藏+]

nginx下载地址 :http://www.sonatype.org/nexus/archived/

ps:jdk1.6最高兼容Nexus 2.5.1

默认端口:8081  登录名:admin 密码admin123

技术分享

先要把Download Remote Indexes设置为True,然后它会把jar包索引下载下来

要在项目pom文件中添加以下代码

<repositories>
		<repository>
			<id>central_open</id>
			<url>http://localhost:8081/nexus/content/groups/public/</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
		

	<pluginRepositories>
		<pluginRepository>
			<id>central</id>
			<name>Maven Plugin Repository</name>
			<url>http://localhost:8081/nexus/content/groups/public/</url>		
			<layout>default</layout>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
			<releases>
				<updatePolicy>never</updatePolicy>
			</releases>
		</pluginRepository>
	</pluginRepositories>

  

nginx

原文:http://www.cnblogs.com/sflik/p/4388784.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!