Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven support is broken in Eclipse 2022-06 #450

Closed
protoism opened this issue Feb 17, 2023 · 1 comment
Closed

Maven support is broken in Eclipse 2022-06 #450

protoism opened this issue Feb 17, 2023 · 1 comment
Labels

Comments

@protoism
Copy link
Contributor

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
Copy link
Contributor Author

No interest in supporting 2022-06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant