Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350140 - m2eclipse is making my build take 5x longer
Summary: m2eclipse is making my build take 5x longer
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-23 09:24 EDT by Martijn Dashorst CLA
Modified: 2021-04-19 13:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martijn Dashorst CLA 2011-06-23 09:24:33 EDT
Compilation and resource copying with projects generated by maven-eclipse-plugin takes about 2 minutes. When opening the projects using m2eclipse (after ditching the .classpath/.project files generated by maven-eclipse-plugin) takes approximately 5x longer, and rebuilds the workspace (according to the progress window) 3-5 times.

Due to some plugins we require (jaxb2, javacc for instance) m2eclipse even fails to build our workspace, while it perfectly works when generated by maven-eclipse-plugin. In its current state, m2eclipse is unusable.
Comment 1 Martijn Dashorst CLA 2011-06-23 09:34:50 EDT
I really didn't tell maven to start verifying DTDs, HTML, XML, schemas, run findbugs, etc. so why does m2eclipse insist on adding that to my build?
Comment 2 Igor Fedorenko CLA 2011-06-23 09:46:11 EDT
By default, m2e enables all m2e extensions applicable for a project. So if the project uses pmd and findbugs plugins, m2e will enable integration with corresponding eclipse tooling. You can disable this behaviour for individual maven plugins using special pluginManagement element in pom.xml file (or parent pom). http://wiki.eclipse.org/M2E_plugin_execution_not_covered show how to do it.

If this does not solve the problem, please provide standalone sample project and steps to reproduce the problem.
Comment 3 Martijn Dashorst CLA 2011-06-23 10:02:08 EDT
Our project doesn't use pmd, findbugs, etc. So why does it enable those? Why does it enable DTD, schema, HTML checks? There is no setting anywhere to be found in my pom.xml files that tells maven to do so. So m2eclipse is on some sort of quality crusade?
Comment 4 Igor Fedorenko CLA 2011-06-23 10:06:01 EDT
Please provide standalone sample project and steps to reproduce the problem.
Comment 5 Martijn Dashorst CLA 2011-06-23 10:59:15 EDT
Just forget it. I'm fed up with m2eclipse as it is, and apparently there's no real effort on diagnosing the problems—a standard provide a sample project reply.
Comment 6 Denis Roy CLA 2021-04-19 13:26:33 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/