maven多模塊專案制定jar依賴 scope為test 其他專案中不能訪問??“????
有兩個專案、一個A專案pom里邊加入了junit 依賴 指定的scope 為test 、另外一個模塊專案B依賴了專案A、但是在B模塊里邊寫單元測驗的時候居然訪問不到A專案里邊的junit? 不應該呀!!
把A專案里的scope改為compile和runtime、B專案都能訪問!!!
求解分不多
uj5u.com熱心網友回復:
meirenuj5u.com熱心網友回復:
scope為test,依賴不會傳遞uj5u.com熱心網友回復:
test不傳遞轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/71405.html
標籤:Web 開發
