若是target里没有生成xml文件时,可在pom.xml添加如下代码(IDEA):
<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> <filtering>false</filtering> </resource> </resources>
2023-10-13 11:01:22
若是target里没有生成xml文件时,可在pom.xml添加如下代码(IDEA):
<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> <filtering>false</filtering> </resource> </resources>