开发者

Getting Errors and Warning to show In Eclipse via Maven

开发者 https://www.devze.com 2023-01-17 09:12 出处:网络
I\'m using the m2eclipse plugin for eclipse to build my project, but I miss having the errors and warning of my build show up in the Problems tab.I use a maven project builder to build my project and

I'm using the m2eclipse plugin for eclipse to build my project, but I miss having the errors and warning of my build show up in the Problems tab. I use a maven project builder to build my project and don't use the default java开发者_开发百科 builder in eclipse. I would really love a way to get all the errors and warnings that I can see when editing a file to show up in the problems tab, and I would like this tab to show problems for my whole project.

Is there a way to do this?


You are doing something wrong. Per default, m2eclipse activates the java builder and shows errors / warnings.

Did you by any chance check out a multi-module maven project and convert it to a single eclipse project? If yes, you need to Import -> Existing Maven Projects and select the projects underneath the root.

Otherwise, you may just have to right-click the project and select Maven -> update Project Configuration.

If neither of these help, please provide more info.

0

精彩评论

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