1. 程式人生 > >maven 匯入No marketplace entries found to handle maven-antrun-plugin

maven 匯入No marketplace entries found to handle maven-antrun-plugin

最近公司想把以前的專案改成maven平在匯入maven專案的時候出現No marketplace entries found to handle maven-antrun-plugin ,在網上找了很多方法,說是沒有定位到.m2 辦法是把別的本地庫替換自己的本地庫,等方法最終沒有解決,個人分析可能的eclipse 裝的maven外掛有一些問題,然後卸掉maven外掛,最後離線裝的maven外掛,

下載離線maven外掛 裡面有兩個資料夾links 和 myplugins

把這連個檔案都放到eclipse的根目錄中,然後在分別把mypulgins\eclipse-maven3-plugin\maven\eclipse裡面的feature和plugin 中檔案分別考到eclipse中對應的feature和plugin中,同時更改links中的maven.link 連線改為   你的路徑一直到feature和plugin的前一個檔名字  。 我的path: D:\FinalEclipse\eclipse_j2ee\mypulgins\eclipse-maven3-plugin

希望對你有所幫助,對了解除安裝maven外掛的方法  help -> About-Eclipse -> installation Details 下面就是你的外掛