解决maven-resources-plugin prior to 2.4 is not supported
手动指定maven-resources-plugin的版本,及编码
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.5</version> <configuration> <encoding>UTF-8</encoding> </configuration> </plugin> </plugins> </build>