How do I stop the "Maven 2.0 integration" plugin from running maven build, while keeping "build automatically" checked? I'm pretty sure it used to be some check box to disable maven build before, but after upgrading Ubuntu; eclipse seems to have been updated in the process, and now I cannot find any way to turn off the maven build. The maven build takes literally minutes (about 5 minutes or so), while just running java build used to finish in seconds. Is it no longer possible to disable it or have they just hidden it well? If it's not possible, will eclipse be able to compile my maven project without the plugin? (Trying to google for a solution the closes I got to an answer was several archives of this old post where the answer essentially were "You should be able to disable Maven builder in project preferences..." which doesn't really help because I cannot find any on/off settings there) eclipse maven-2 build preferences m2eclipse | |
| feedback |
edited May 19 '10 at 13:20 Paul R | May 19 '10 at 13:18 Stein G. Strindhaug 100% accept rate |
1 Answer
up vote 2 down vote accepted | To disable the Maven Project Builder, right-click on your project then Preferences > Builders and uncheck the Maven Project Builder (you cannot modify the default maven builder). If this removes "too much" things, you can maybe create your own custom Maven builder. Click New, select Maven Build and configure it as you want.
I guess you would have to add the related projects in the Project References (or to uncheck Resolve dependencies from Workspace projects).
I don't think so. At the end, all this tweaks looks like ugly hacks. If you're not satisfied by the m2eclipse plugin, maybe you should use the |
|
edited May 19 '10 at 13:59 | May 19 '10 at 13:25 Pascal Thivent |
标签:do,eclipse,maven,disable,build,2.0,projects,Maven From: https://blog.51cto.com/u_16174476/6905806