Maven2 Eclipse Integration

There seem to be two competing Eclipse plugins for integrating with Maven: m2Eclipse and q4e .

Has anyone recently rated or used these plugins?
Why should I choose one or the other?

+4
source share
4 answers

There is only one point where q4e is actually better: a dependency viewer. You can see the dependency tree, visually manage your dependencies and even see them on the chart. But m2eclipse works better, especially because you can create your own build commands (in the run menu). q4e comes with some predefined commands, and I cannot find where to define the new one. In other words, m2eclipse is more maven friendly.

+2
source

I have been using m2Eclipse for peace of mind for a while and found it to be very reliable. I did not know about q4e until I saw this question, so I can not recommend it to another.

+1
source

My 2 cents,

I have been using eclipse for several months now with m2eclipse integration. It is easy to use and straightforward. When you link your project to maven and update the dependencies using m2eclipse, any changes in pom.xml are reflected in the whole project, even determining the version of Java forces it to compile in the right JRE (if you installed it and configured it correctly in eclipse.)

Another advantage I found is maven plugins that integrate easily with eclipse (the pier is my best example, again, correctly configured, you can easily integrate maven, plug-in-plug-in and Eclipse Debugger)

Compilation, packaging, and all other maven features are equally easy to use with a few clicks or shortcuts.

About q4e I read a lot of good things about this, and it seems that future versions will do much more than m2eclipse, with improved dependency management and even visual charts (!), But the general consensus is that m2eclipse is still better. than q4e, but q4e improves every new version and may soon surpass the mainframe.

0
source

Source: https://habr.com/ru/post/1276581/


All Articles