• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Bear Bibeault
  • paul wheaton
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Mikalai Zaikin
  • Piet Souris
Bartenders:

no plugin found for prefix 'eclipse' in the current project

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When i try to execute the follwoign command , i am getting the following error.

No plugin found for prefix 'eclipse' in the current project and in the plugin groups[org.eclipse.eclipse, org.apache.maven.plugins,org.codehaus.mojo]

I tried adding some plugin in pom.xml and googled but nothing works.

Please let me know how to resolve the issue.

Regards,
Mohan.
 
Marshal
Posts: 4351
559
VSCode Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

mohana krishna wrote:When i try to execute the follwoign command , i am getting the following error.


What was the command line?
 
mohana krishna
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
mvn eclipse:clean
 
Saloon Keeper
Posts: 27281
193
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's likely that your POM wasn't used to set up for Eclipse. Try this goal:

That will generate the necessary Eclipse project files and should download the Maven Eclipse plugin, if needed.

However, what exactly did you expect from "eclipse:clean"? Generally a simple "mvn clean" would be better.
 
mohana krishna
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is working fine.  Following some document so used.
But also not working getting the same error as earlier.

No plugin found for prefix 'eclipse' in the current project and in the plugin groups[org.eclipse.eclipse, org.apache.maven.plugins,org.codehaus.mojo].

How can i fix this issue.

Tim Holloway , Thanks for your reply.
 
Ron McLeod
Marshal
Posts: 4351
559
VSCode Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you include the plug-in in your POM?
 
Tim Holloway
Saloon Keeper
Posts: 27281
193
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well!

It turns out that the eclipse plugin for Maven was retired in 2015 and has not been maintained since. I don't upgrade my copy of Maven very often, and it's likely that my copy of the plugin downloaded long ago and still lives there since Maven doesn't have an automatic archive cleaning mechanism.

The recommended alternative to the Maven Eclipse plugin is the Eclipse m2e plugin for Eclipse itself, available from the Eclipse Marketplace (on the Help menu, as I recall).

So forget Maven command-line goals beginning with "eclipse:", they are no longer supported. Use Eclipse itself. And the "mvn clean" on the command line.

In place of running "mvn eclipse:eclipse" to convert a Maven project for Eclipse support, just import the Maven project into Eclipse. If it gives you any trouble, I believe that there's a "convert to Maven" option on the Project Context Menu. If m2e is installed.
 
No, tomorrow we rule the world! With this tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic