Maven: No marketplace entries found to handle castor, antrun, and ear plugins

喜欢而已 提交于 2019-12-10 12:43: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.



来源:https://stackoverflow.com/questions/9790044/maven-no-marketplace-entries-found-to-handle-castor-antrun-and-ear-plugins

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!