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
相關文章
相關標籤/搜索