开发者

Maven Update Project Configuration issue

开发者 https://www.devze.com 2023-04-04 08:24 出处:网络
Whenever I perfo开发者_开发问答rm a Maven Update Project Configuration, I loose ay of the projects I have listed in eclipse under the Java Build Path/Projects. Is there a plugin or something that I ne

Whenever I perfo开发者_开发问答rm a Maven Update Project Configuration, I loose ay of the projects I have listed in eclipse under the Java Build Path/Projects. Is there a plugin or something that I need to add to the pom.xml to make it reconfigure that whenever I update the project configuration?

Thanks


When using Maven-based dependency management, you are not supposed to have any projects under Java Build Path/Projects. Instead, those projects should be Maven projects with Maven nature enabled. Then all you need to do is to have them declared as dependencies of your project and enable option to resolve Maven dependencies from Eclipse workspace (it is enabled by default).

0

精彩评论

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