pom.xml中的resources节点配置 (原创)
http://www.tingcream.com/blogArticle/detail/aa3d3fd5c9cd4a82b6334a34459a1e90
【Maven】在pom.xml文件中使用resources插件的小作用
https://www.cnblogs.com/sxdcgaq8080/p/7715427.html
对Maven resource 配置中include与exclude及其filter的理解
https://blog.csdn.net/weixin_43753453/article/details/105708053
pom中的resources设置
https://www.cnblogs.com/wangxuchun/p/7501719.html
maven插件maven-resources-plugin的使用教程
https://blog.csdn.net/weixin_44784673/article/details/100146540
<plugin> <artifactId>maven-resources-plugin</artifactId> <configuration> <encoding>${project.build.sourceEncoding}</encoding> <outputDirectory>${project.build.directory}</outputDirectory> <resources> <resource> <targetPath>${basedir}/target/classes/public</targetPath> <directory>${ui.path}/dist</directory> </resource> <resource> <targetPath>${basedir}/target/classes</targetPath> <directory>src/main/resources</directory> </resource> </resources> </configuration> </plugin>
<resources> <resource> <directory>src/main/java/com/xx/xx/mapper/xml</directory> <includes> <include>**/*.xml</include> </includes> <targetPath>com/xxx/xxx/mapper/xml</targetPath> </resource> </resources>