What is “pom” packaging in maven?

前端 未结 10 1781
长发绾君心
长发绾君心 2020-11-30 17:24

I was given a maven project to compile and get deployed on a tomcat server. I have never used maven before today, but I have been googling quite a bit. It seems like the top

10条回答
  •  天涯浪人
    2020-11-30 18:17

    Packaging of pom is used in projects that aggregate other projects, and in projects whose only useful output is an attached artifact from some plugin. In your case, I'd guess that your top-level pom includes ... to aggregate other directories, and the actual output is the result of one of the other (probably sub-) directories. It will, if coded sensibly for this purpose, have a packaging of war.

提交回复
热议问题