???war???????????????src/main/java??????xml??????????????????

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了???war???????????????src/main/java??????xml??????????????????相关的知识,希望对你有一定的参考价值。

?????????pom.xml   rop   XML   maven   mave   ??????   clu   war   ??????   

maven???????????????src/mian/resource?????????xml???????????????src/main/java?????????

???pom.xml??????bulid???????????????

<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>

以上是关于???war???????????????src/main/java??????xml??????????????????的主要内容,如果未能解决你的问题,请参考以下文章

怎么用ant 打jar包和war文件

请问maven工程jar包,war包,pom打包,都是怎么定的?

Maven -- 在进行war打包时用正式环境的配置覆盖开发环境的配置

宝兰德部署war包以后访问不到页面

war 文件打包技巧

script deploy war to weblog