click_one 之 nexus3 极速发布 SNAPSHOT,RELEASE 、普通版本

click_one 是一款免费开源的java简单运维类产品

这次又开发了一个新功能。

很多同学会在自己的内网搭建nexus 私服。

但是每次上传发布都很不方便。

这里简单谈下 click_one 对这方面的支持。

第一步

在nexus 增加 snapshop,release的配置

第二步

在pom.xml中增加

<distributionManagement>
		<repository>
			<id>release</id>
			<url>http://xxx/repository/hcloud_aiops</url>
		</repository>
		<snapshotRepository>
			<id>snapshots</id>
			<url>http://xxx/repository/hcloud_aiops_snapshot</url>
		</snapshotRepository>
	</distributionManagement>

第三步

单击第一步的发布。完事。

发布了50 篇原创文章 · 获赞 20 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/lhf214111967/article/details/102475839