Maven 上传 jar包 到私服


登陆Nexus后,点击右侧的“Repositories”,显示当前Nexus所管理的Repository,html

\

默认状况下Nexus为咱们建立了如下主要的Repository:缓存

一、PublicRepositories,这是一个Repository Group,该Repository  Group包含了多个Repository,其中包含了Releases、Snapshots、ThirdParty和Central。spa

二、3rd party,该Repository便是存放你公司所购买的第三方软件库的地方,它是一个由Nexus本身维护的一个Repository。 代理

三、Apache Snapshots,看名字你就应该知道这是个什么样的Repository,这是一个代理Repository,即最终的依赖仍是得在Apache官网上去下载,而后缓存在Nexus中。orm

四、Central,这就是代理Maven Central Repository的Repository。htm

五、Releases,你本身的项目要发布时,就应该发布在这个Repository,他也是Nexus本身维护的Repository,而不是代理。element

六、Snapshots,你本身项目Snapshot的Repository。it

这里主要讲解如何使用3rd party上传第三方jar包的方法io

在Repository列表中,选中 3rd party,选中artifact upload,以下图所示form

\

选择

\

\
 
本文引用自:http://www.ithao123.cn/content-8228579.html
相关文章
相关标签/搜索