docker-maven-plugin icon indicating copy to clipboard operation
docker-maven-plugin copied to clipboard

Build error - The API of the mojo scanner is not compatible with this plugin version.

Open ahoffer opened this issue 4 years ago • 3 comments

Description

Cloned repository and attempted mvn clean install on master branch. Maven error with the message:

Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.5:helpmojo (help-goal) on project docker-maven-plugin: 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.

Info

  • d-m-p version : I do not know what d-m-p is.
  • Maven version (mvn -v) : 3.6.3
  • Docker version : N/A
  • javac: javac 1.8.0_27
  • OS: Linux Mint 20
  • If it's a bug, how to reproduce :
  • Clone repository
  • Execute mvn clean install from repository root.
  • If it's a feature request, what is your use case : N/A

ahoffer avatar Feb 01 '21 18:02 ahoffer

Sorry, I can't reproduce this error with Maven 3.6.3 here (nor does the CI fail). It looks like some special in your environment, without any further information or a reproduces I'm afraid that we can't do much.

d-m-p btw is short for docker-maven-plugin, sorry, I'm going to update the template.

rhuss avatar Mar 07 '21 21:03 rhuss

Hi, I'm having the exact same issue. Could you share how did you work around it?

I'm working as a maintainer of a project with tons of legacy code and been having this error for days :/ .

sofiabobadilla avatar Apr 18 '23 09:04 sofiabobadilla

Hi, I'm having the exact same issue. Could you share how did you work around it?

I'm working as a maintainer of a project with tons of legacy code and been having this error for days :/ .

Execute an mvn -v and post the output here.

ahoffer avatar Apr 19 '23 18:04 ahoffer