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
  • 132,869
  • 46
  • 340
  • 423
Eric Francis
  • 23,039
  • 31
  • 88
  • 122

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
  • 31,461
  • 5
  • 66
  • 67
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
  • 12,237
  • 1
  • 40
  • 55
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
  • 30,962
  • 25
  • 85
  • 135
Zia Ul Mustafa
  • 391
  • 5
  • 10