登錄Nexus后,點擊右側的“Repositories”,顯示當前Nexus所管理的Repository,

默認情況下Nexus為我們創建了以下主要的Repository:
1、PublicRepositories,這是一個Repository Group,該Repository Group包含了多個Repository,其中包含了Releases、Snapshots、ThirdParty和Central。
2、3rd party,該Repository即是存放你公司所購買的第三方軟件庫的地方,它是一個由Nexus自己維護的一個Repository。
3、Apache Snapshots,看名字你就應該知道這是個什么樣的Repository,這是一個代理Repository,即最終的依賴還是得在Apache官網上去下載,然后緩存在Nexus中。
4、Central,這就是代理Maven Central Repository的Repository。
5、Releases,你自己的項目要發布時,就應該發布在這個Repository,他也是Nexus自己維護的Repository,而不是代理。
6、Snapshots,你自己項目Snapshot的Repository。
這里主要講解如何使用3rd party上傳第三方jar包的方法
在Repository列表中,選中 3rd party,選中artifact upload,如下圖所示

選擇


本文引用自:http://www.ithao123.cn/content-8228579.html
