日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Nexus 的下载和部署

發布時間:2023/12/9 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Nexus 的下载和部署 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Nexus 的下載和部署

    • 1. Nexus 的下載
    • 2. Nexus 解壓和配置
    • 3. 重要文件內容
    • 4. 查看 Nexus

1. Nexus 的下載

下載的地址: https://www.sonatype.com/download-oss-sonatype

2. Nexus 解壓和配置

Windows:
配置環境變量:
啟動服務:

## 3. Nexus 的網頁配置

默認:
????用戶:admin
????密碼:admin123

<!-- maven setting.xml 中配置 nexus 的權限 --><server><id>releases</id><username>admin</username><password>admin123</password></server><server><id>snapshots</id><username>admin</username><password>admin123</password></server><!-- maven setting.xml 中配置 tomcat 的權限 --><server><id>tomcat9x</id><username>admin</username><password>admin123</password></server><!--配置 pom 將 jar 包可以上傳到 nexus 倉庫中--><distributionManagement><repository><id>releases</id><url>http://localhost:8081/repository/maven-releases/</url></repository><snapshotRepository><id>snapshots</id><url>http://localhost:8081/repository/maven-snapshots/</url></snapshotRepository></distributionManagement><!-- 配置nexus倉庫地址 從遠程倉庫下載jar包--><profiles><profile><id>mynexus</id><repositories><repository><id>nexus</id><name>Nexus Repository</name><url>http://localhost:8081/repository/maven-public/</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository></repositories></profile></profiles><!--激活profiles--><activeProfiles><activeProfile>mynexus</activeProfile></activeProfiles>

3. 重要文件內容

下面鏈接是 settings.xml 文件內容
https://blog.csdn.net/YKenan/article/details/88724626

下面鏈接是 pom.xml 文件內容
https://blog.csdn.net/YKenan/article/details/88685781

下面鏈接是 tomcat-users.xml 文件添加內容
https://blog.csdn.net/YKenan/article/details/88724901

4. 查看 Nexus

總結

以上是生活随笔為你收集整理的Nexus 的下载和部署的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。