Run "mvn package" on "Build project" in Eclipse
Rightclick on your pom.xml and choose "Run as" -> "Maven build.."
and put in Goals:package
.
If you now select "run" (CTRL + F11) it will run automatically if you select these run configuration.
And as Chris said, m2e is required.
You should install the m2eclipse eclipse plugin. This will take care of properly building maven projects in eclipse. The link for m2eclipse is here