C:/Users/test/.m2/repository
2.網(wǎng)絡(luò)問題換成國內(nèi)鏡像
aliyun aliyun http://maven.aliyun.com/nexus/content/groups/public/ central ibiblio.org ibiblio Mirror of http://repo1.maven.org/maven2/ http://mirrors.ibiblio.org/pub/mirrors/maven2 central jboss-public-repository-group central JBoss Public Repository Group http://repository.jboss.org/nexus/content/groups/public
3.可以配置私有鏡像(一般不配)
nexus nexus-internet internet private nexus http://m.test.cn:8081/content/groups/public true false nexus-snapshots-internet internet private nexus http://m.test.cn:8081/content/groups/public-snapshots false true nexus-internet internet private nexus http://m.test.cn:8081/content/groups/public true false nexus-snapshots-internet internet private nexus http://m.test.cn:8081/content/groups/public-snapshots false true jdk-1.7 true 1.7 1.7 1.7 1.7 nexus
三.修改idea中的maven配置
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true -DarchetypeCatalog=internal
1.選中,打包不打包test
你是否還在尋找穩(wěn)定的海外服務(wù)器提供商?創(chuàng)新互聯(lián)www.cdcxhl.cn海外機房具備T級流量清洗系統(tǒng)配攻擊溯源,準(zhǔn)確流量調(diào)度確保服務(wù)器高可用性,企業(yè)級服務(wù)器適合批量采購,新人活動首月15元起,快前往官網(wǎng)查看詳情吧
當(dāng)前文章:Maven導(dǎo)包失敗問題-創(chuàng)新互聯(lián)
標(biāo)題路徑:http://jinyejixie.com/article0/dhohio.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站建設(shè)、App設(shè)計、網(wǎng)頁設(shè)計公司、電子商務(wù)、用戶體驗、網(wǎng)站營銷
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容