62,614
社区成员
发帖
与我相关
我的任务
分享
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
<resource>
<targetPath>WEB-INF/lib</targetPath>
<directory>src/main/resources-${package.target}</directory>
<includes>
<include>
xx.properties
</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
这样应该就行,WEB-INF/lib不行,改为WEB-INF/lib/,好久没用了。