9

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

Tunaki
  • 125,519
  • 44
  • 317
  • 399
Eric Francis
  • 20,529
  • 28
  • 83
  • 119

3 Answers3

3

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

Eugene Kuleshov
  • 30,915
  • 5
  • 64
  • 66
0

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.

thoredge
  • 11,666
  • 1
  • 37
  • 52
0

I faced this issue and I resolved this by enclosing the within the . Here is the example.

<build>
     <pluginManagement>
          <plugins>
              <plugin>
                 ....
              </plugin>
          </plugins>
     </pluginManagement>
</build>

Reference: Link

Dharman
  • 26,923
  • 21
  • 73
  • 125
Zia Ul Mustafa
  • 381
  • 5
  • 9