m2e-apt icon indicating copy to clipboard operation
m2e-apt copied to clipboard

Problems uninstalling m2e-apt

Open mcacker opened this issue 10 years ago • 2 comments

When uninstalling m2e-apt (to try and diagnose build issues), the workspace is left in a corrupted state. All poms now have the following error:

Project configurator "org.jboss.tools.maven.apt.MavenCompilerAptProjectConfigurator" required by plugin execution "org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (execution: default-compile, phase: compile)" is not available. To enable full functionality, install the project configurator and run Maven->Update Project Configuration. pom.xml /BobCommon  line 3  Maven Project Build Lifecycle Mapping Problem

Additionally, I had to manually remove

.settings/org.eclipse.jdt.apt.core.prefs
.factorypath

and edit

.classpath
org.eclipse.wst.common.component

It looks like the workspace lifecyclemapping files in .metadata.plugins\org.eclipse.m2e.core retain metadata regarding apt:

org.jboss.tools.maven.apt.MavenCompilerAptProjectConfigurator

mcacker avatar Sep 23 '15 15:09 mcacker

For me the errors and the generated annotation directories returned after destroying all those, even after deleting the project and the jboss metadata and of course removing the annotation configuration and dependencies from the pom.xml.

The ground-hog day eternal return of the same only stopped after I disabled annotations in .settings/org.eclipse.jdt.core.prefs.

wti avatar Jan 09 '20 06:01 wti

m2e-apt's code is now included in https://github.com/eclipse-m2e/m2e-core , please consider reporting issue to https://github.com/eclipse-m2e/m2e-core/issues if it's still relevant.

mickaelistria avatar Feb 17 '22 20:02 mickaelistria