Empty goals list in m2Eclipse

Praneel PIDIKITI picture Praneel PIDIKITI · Feb 23, 2011 · Viewed 9.8k times · Source

enter image description here

When I try to add a goal I don't get any goals. Is there any solution or I should manually add them.But in an example I saw it automatically lists all the available goals.

Answer

Martin Ackermann picture Martin Ackermann · Mar 16, 2011

The workaround described in m2eclipse JIRA worked for me: In Eclipse, open the view "Maven Repositories" and expand "Global Repositories". Right-click on your mirror of central (or "central" if no mirror defined) and select "Enable Full Index". Right-click again on the repository and select "Rebuild Index". Wait until "Updating indexes" finishes and vanishes from the Eclipse progress indicator in the lower right corner.