Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1605259
  • 博文数量: 695
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 4027
  • 用 户 组: 普通用户
  • 注册时间: 2013-11-20 21:22
文章分类

全部博文(695)

文章存档

2018年(18)

2017年(74)

2016年(170)

2015年(102)

2014年(276)

2013年(55)

分类: Java

2017-12-12 15:58:01

1、github下载源码
2、参照http://blog.csdn.net/wuyinxian/article/details/46382051
将maven项目转成eclipse的工程
3、执行完上述操作后,会有两个错误,也是上一步文章中指出的两个错误:
1)1.Failure to transfer io.netty:netty-tcnative:jar:${tcnative.classifier}:2.0.3.Final
凡是出错的pom文件

点击(此处)折叠或打开

  1. 将其<groupId>${project.groupId}</groupId>
  2.         <artifactId>netty-tcnative</artifactId>
  3.         <classifier>${os.detected.classifier}</classifier>
  4. 中的 <classifier>${os.detected.classifier}</classifier>注释掉,
  5. 并添加 <version>1.1.32.Fork1</version>
2)2.Plugin execution not covered by lifecycle configuration:
org.codehaus.mojo:build-helper-maven-plugin:1.10:add-source
(execution: add-source, phase: generate-sources)

解决办法

官网给出解释及解决办法:http://wiki.eclipse.org/M2E_plugin_execution_not_covered

这里有人说下面这样也可以解决, 即 标签外再套一个 标签,我试验是成功的:
http://stackoverflow.com/questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin
 

点击(此处)折叠或打开

  1. <build>
  2.     <pluginManagement>
  3.         <plugins>
  4.             <plugin> ... </plugin>
  5.             <plugin> ... </plugin>
  6.                   ....
  7.         </plugins>
  8.     </pluginManagement>
  9. </build>


 
http://blog.csdn.net/wuyinxian/article/details/46382051
http://donald-draper.iteye.com/blog/2382829
http://blog.csdn.net/xxd851116/article/details/25197373

阅读(2716) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~