开发者

How to deny maven to use open projects in Eclipse instead of jar from repository

开发者 https://www.devze.com 2023-01-17 15:46 出处:网络
Currently if i have dependency project opened, then maven use it instead of specified jar from repo.

Currently if i have dependency project opened, then maven use it instead of specified jar from repo.

Is there Eclipse setting (or conf for pom), so maven will always use 开发者_开发问答specified dependencies non-regarding if corresponding project opened or not in eclipse?


If you're using m2eclipse, right-click on your project and go to Properties > Maven and disable Resolve dependencies from Workspace projects.

0

精彩评论

暂无评论...
验证码 换一张
取 消