<build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> <filtering>true</filtering> </resource> </resources> </build>
如上所述,在于在build节点下添加resources节点,指明要添加的目录,以及此目录下的何种文件被添加。
时间: 2024-10-20 16:30:55