File > New > Maven Project
Maven archetype quickstart
groupid =
test (or whatever you want)
artifact id = test (or whatever you want)
then right click the new project and choose run as and whatever you want to run
The first time, this will download a whole bunch of jars to your local repository and then build the project.