Maven build goals how to select

I got a Maven project, but the source code shows errors, even if it was built successfully before and never changes later, all the error are about missing jars.

So I try to build it again with Maven

Gives this dialog

But if you click the Select button, there are nothing you can select, so I just input build, if I want to build, then this should work.

 
[ERROR] Unknown lifecycle phase "build". You must specify a valid lifecycle phase or a goa
l in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-
version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources,
process-sources, generate-resources, process-resources, compile, process-classes, generate
-test-sources, process-test-sources, generate-test-resources, process-test-resources, test
-compile, process-test-classes, test, prepare-package, package, pre-integration-test, inte
gration-test, post-integration-test, verify, install, deploy, pre-site, site, post-site, s
ite-deploy, pre-clean, clean, post-clean. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException

This is one of the reasons I more like Gradle, Maven is just unintuitive, but there are still many projects using Maven. I still have to learn it.

In Maven's convention, the goals should one of the phrases, they are: validate, compile, test, integration-test, verify , install, deploy. There is no phrase called build.

I tried to learn Maven before, but never get used to it. Gradle is much easier to learn. Now I exclusivly using Gradle for any new projects, only deal with Maven when the project is checkout from open source code.

So the solution is I should fill the Goal field with compile. Still, unintuitive.