maven-resources-plugin prior to 2.4 is not supported by m2e
2011-11-26 07:40
573 查看
在某些情况下导入Maven项目的时候会碰到如题所示的错误提示。在网上搜索一番后发现,大部分人是在使用eclipse:eclipse后遇到这样问题的,解决办法是避免使用eclipse:eclipse,改用其它方式导入到Eclipse,这对解决我的问题没有帮助。只好试着自己解决问题。
看过maven-resource-plugin的文档后,知道自己太懒了,maven-resource-plugin是缺省的Plugin,显式地声明一个高版本的maven-resource-plugin覆盖它就可以。我顺便还设置了一下Encoding:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
看过maven-resource-plugin的文档后,知道自己太懒了,maven-resource-plugin是缺省的Plugin,显式地声明一个高版本的maven-resource-plugin覆盖它就可以。我顺便还设置了一下Encoding:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
相关文章推荐
- SVN项目下载后报错 maven-resources-plugin prior to 2.4 is not supported by m2e.
- maven-resources-plugin prior to 2.4 is not supported by m2e. Use maven-resources
- maven-resources-plugin prior to 2.4 is not supported by m2e. 错误
- 解决maven-resources-plugin prior to 2.4 is not supported
- 解决maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.
- maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported by m2e
- maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported by m2e
- maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported by m2e
- maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported by m2e
- maven-dependency-plugin (goals “copy-dependencies”, “unpack”) is not supported by m2e
- maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported by m2e
- maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported by m2e
- maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e
- maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported by m2e
- 解决maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.错误
- maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported by m2e
- maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.错误
- maven-dependency-plugin(goals copy-dependencies unpack ) is not supported by m2e
- maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.
- maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.