-->

Maven: No marketplace entries found to handle cast

2019-06-16 04:03发布

问题:

I am importing a maven project into Eclipse. I have the m2e plugin installed and it is pointing to maven 2.2.1 on my machine.

I am getting these three errors:

  • No marketplace entries found to handle castor-maven-plugin:1.0:generate in Eclipse
  • No marketplace entries found to handle maven-antrun-plugin:1.1:run in Eclipse
  • No marketplace entries found to handle maven-ear-plugin:2.3.1:generate-application-xml in Eclipse

Any resources provided would be greatly appreciated.

Thanks

回答1:

You can define custom build life cycle mapping for those plugins and make m2eclipse execute certain goals during Eclipse build.



回答2:

This thread, https://bugs.eclipse.org/bugs/show_bug.cgi?id=350414, contains a discussion and ultimately a patch to make eclipse capable of ignoring the connectors it can't find.

Most people on the thread find the m2e's demand for custom build life cycle mapping problematic.