maven build goal need to specify

后端 未结 4 1029
终归单人心
终归单人心 2020-12-23 14:48

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

4条回答
  •  北海茫月
    2020-12-23 15:12

    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.

提交回复
热议问题