解决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>

 

posted @ 2016-04-05 09:12  birkhoff001  阅读(465)  评论(0编辑  收藏  举报