8

maven打包war,打包后pom.xml文件怎么不见了?

 3 years ago
source link: https://www.oschina.net/question/3193075_2323012
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
maven打包war,打包后pom.xml文件怎么不见了? - OSCHINA - 中文开源技术交流社区
gammey
昨天 13:03

你是说war包里没有pom.xml文件,还是项目里没有?

豫华商
昨天 14:06
war包里面没有找到。你说的项目指的是什么?这种war包不就是直接丢到 tomcat的webapps运行的么?这应该是服务器上项目的所有内容了吧?
豫华商
昨天 13:50

war包里面没有找到。

豫华商
昨天 17:03
该评论暂时无法显示,详情咨询 QQ 群:912889742
gammey
昨天 14:53
pom.xml是给maven用的,打包之后tomcat或者其他webserver不需要读pom.xml,所以正常本来就没有,也不影响正常使用。
hythzx
昨天 15:27

怎么说呢,pom.xml 是描述项目依赖和项目构建等信息的,主要是maven用的,war是项目构建之后的产物,是给tomcat用的(war也可以集成tomcat,比如Springboot项目)。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK