问题:
I was given a maven project to compile and get deployed on a tomcat server.我得到了一个 maven 项目来编译并部署在 tomcat 服务器上。 I have never used maven before today, but I have been googling quite a bit.我在今天之前从未使用过 maven,但我一直在谷歌上搜索很多。 It seems like the top level pom.xml
files in this project have the packaging type set as pom
.这个项目中的顶级pom.xml
文件似乎将打包类型设置为pom
。
What am I supposed to do after mvn install
to get this application deployed?在mvn install
之后我应该怎么做才能部署这个应用程序? I was expecting to be able to find a war
file somewhere or something, but I guess I am looking in the wrong place or missing a step.我希望能够在某处或某处找到一个war
文件,但我想我找错了地方或遗漏了一步。
解决方案:
参考一: https://en.stackoom.com/question/WH57参考二: https://stackoom.com/question/WH57