onoma
onoma

Reputation: 103

Missing Maven goals when using m2e from Eclipse(Juno)

I am having a problem with selecting Maven goals after a clean install of Eclipse (Juno) and m2Eclipse on a Windows 7 machine. M2Eclipse was installed via the Eclipse marketplace.

I've generated a very simple application via the Eclipse wizards. I have selected the Run as.../Maven build... option from the context menu then clicked on Select to obtain a list of goals. However, the list is empty.

I then followed the instructions in this post which described my problem exactly:

Empty maven goals list

Unfortunately this does not work for me: the list is still empty.

If anyone has any ideas as to what else I can check I'd be obliged.

Many thanks

Upvotes: 3

Views: 4417

Answers (2)

Thomas Farvour
Thomas Farvour

Reputation: 1103

According to the m2e developers, it is supposedly a feature that wasn't implemented fully. A lot of users are suggesting the button just be removed. I would just ignore it and enter them manually, pretending the button doesn't exist.

See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=344997

Upvotes: 4

mortsahl
mortsahl

Reputation: 600

That's normal behavior ... just type in the goals you want to run. EX., clean package

Upvotes: 5

Related Questions