解决maven-resources-plugin prior to 2.4 is not supported

Posted birkhoff

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决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>

 

以上是关于解决maven-resources-plugin prior to 2.4 is not supported的主要内容,如果未能解决你的问题,请参考以下文章

eclipse加载maven工程提示pom.xml无法解析org.apache.maven.plugins:maven-resources-plugin:2.4.3解决方案

Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 的解决办法

解决Maven打包怪异异常:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin

Cannot resolve plugin org.apache.maven.plugins:maven-resources-plugin:3.2.0解决办法

POM报错Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from

Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0