Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339902 - Maven builder appears more than once in Builder list
Summary: Maven builder appears more than once in Builder list
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Tatavu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 11:08 EDT by Igor Fedorenko CLA
Modified: 2021-04-19 13:26 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Fedorenko CLA 2011-03-14 11:08:18 EDT
Originally reported as https://issues.sonatype.org/browse/MNGECLIPSE-2320


If the Maven Builder is disabled in the project builder list and then the Maven->Update Project configuration action is executed, another Maven builder gets added to the List, the other builder stays disabled in the list and cannot be removed with an eclipse function, just by modifying the .project file.
Comment 1 Vit Novak CLA 2011-03-14 11:21:01 EDT
Vote: Disabling maven builder in a project is very useful feature and m2e should respect that setting. Since maven does always full build, it can be much more slower than eclipse build and when the "Build Automatically" option is selected, this build runs on every save action. This is really slowing down development. We solve this by disabling the maven builder, but sometimes Maven builder is reborned in a new incarnation. 

Currently this is blocking our way to use hierarchical structure for multimodule projects, since there is no way to simply import them into eclipse workspace as eclipse projects. Maven project import, on the other hand, triggers this involuntary reconfiguration.
Comment 2 Igor Fedorenko CLA 2011-03-14 14:25:42 EDT
To be clear, "maven does always full build" is a separate problem. If it still happens with recent m2e 0.13 builds, please open new bugreport and provide sample standalone project and steps to reproduce the problem.
Comment 4 Igor Fedorenko CLA 2011-04-05 17:57:16 EDT
Implementation uses internal classes from org.eclipse.core.externaltools. Need to evaluate if we want to take the risk of using internal classes this deep in m2e core.
Comment 5 Paul Tatavu CLA 2011-04-06 16:56:43 EDT
Removed the changes that added dependencies on internal eclipse classes:
http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=0d2fb47b89cdd49d6be6e11fa56f437347a91785
Comment 6 Denis Roy CLA 2021-04-19 13:26:44 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/