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

Extractor Fails with maven 3.9.0 #403

Open
jangalinski opened this issue Jun 21, 2023 · 2 comments
Open

Extractor Fails with maven 3.9.0 #403

jangalinski opened this issue Jun 21, 2023 · 2 comments

Comments

@jangalinski
Copy link

I tried to run this dependency in my mavan-plugin-plugin 3.9.0 project and get the following build: error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.9.0:descriptor (default-descriptor) on project ...: 
The API of the mojo scanner is not compatible with this plugin version. 
Please check the plugin dependencies configured in the POM and ensure the versions match.: 
Receiver class com.github.gantsign.maven.tools.plugin.extractor.kotlin.KotlinMojoDescriptorExtractor does not define 
or inherit an implementation of the 
resolved method 'abstract org.apache.maven.tools.plugin.extractor.GroupKey getGroupKey()' 
of interface org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor. -> [Help 1]
@marcelmay
Copy link

@freemanjp , any chance to get an updated release for Maven 3.9.x?
Is there anything we can help with (Maven 3.9 integration test PR, ...)?

As mentioned above, Maven Plugin Tools release 3.7.0 introduced a breaking change in MPLUGIN-378) of new method MojoDescriptorExtractor#getGroupKey()

@bobjana
Copy link

bobjana commented Feb 6, 2024

I tried to apply a fix to overcome this issue. Upgraded all libraries and implemented new interface. Currently failing on integration tests for help-mojo. So a bit stuck, if someone wants to take the patch forward and submit a pull reques.
Upgrade_dependencies_and_implement_new_interface.patch

bobjana pushed a commit to bobjana/kotlin-maven-plugin-tools that referenced this issue Feb 9, 2024
* Upgrade internal dependencies
* implement new interface
* fix IT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants