I have extracted a sample Struts 2 project and it has the maven pom.xml file. I already installed the m2e plugin for eclipse. But when I right click the pom.xml file and sel
You can build a maven project with m2e by right-clicking your project or your .pom
, selecting Run as
then Maven build...
then write package
into the goal field and click Run
.
The according keyboard shortcut is Alt+Ctrl+X
, then m
- it will get you to the same dialog.
The result will probably be a .war
file in the target
subfolder of your project.