开发者

Getting Errors and Warning to show In Eclipse via Maven

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜