gwt-plugins / gwt-eclipse-plugin

GWT Eclipse Plugin Documentation
http://gwt-plugins.github.io/documentation/
Eclipse Public License 1.0
115 stars 49 forks source link

Maven support is broken in Eclipse 2022-06 #450

Closed protoism closed 3 months ago

protoism commented 1 year ago

The plugin is now built against 2022-09 and m2e 2.x, and we lost compatibility with m2e 1.x, due to a few methods renamed (possibly none)

The changed methods are:

ProjectConfigurationRequest.getMavenProject() -> ProjectConfigurationRequest.mavenProject() ProjectConfigurationRequest.getMavenProjectFacade() -> ProjectConfigurationRequest.mavenProjectFacade()

Using Plugin 4.0.0 with maven projects Eclipse logs stack traces such as this one:

java.lang.NoSuchMethodError: 'org.apache.maven.project.MavenProject org.eclipse.m2e.core.project.configurator.ProjectConfigurationRequest.mavenProject()'
    at com.google.gdt.eclipse.maven.configurators.AbstracMavenProjectConfigurator.configure(AbstracMavenProjectConfigurator.java:74)
    at com.google.gdt.eclipse.maven.configurators.MavenProjectConfigurator.configure(MavenProjectConfigurator.java:124)
    at org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:125)
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.lambda$6(ProjectConfigurationManager.java:475)
...
protoism commented 3 months ago

No interest in supporting 2022-06