I\'m using Eclipse 3.7 with m2eclipse. Previously I know there was a menu entry ‘maven package’ but since I reinstalled Ubuntu there is no entry and I have to ‘maven install
I also recently wanted to have this option with the new version of m2eclipse. The best solution i could find is, to create a configuration with the goal package, and as base directory give a variable name ${selected_resource_loc}. Still you have to go to run configurations page, but at least you don't have to define a new configuration for each project, but use the predefined one.
The next time when you want to package another project, you can use this configuration again:
At least you will not have to create a new configuration each time you want to package, as with maven build...
Just use Maven Build...
and type package
in the goal field.