最近因为公司某个项目的网络请求出现问题,由于公司某个基础库用了okhttp 2.x版本,而基础库是在okhttp 2.x基础上二次封装。为了确定问题不得不导入okhttp源码。因为okhttp 2.x属于很老的版本,所以只能从github上clone下来再切换到对应版本。导入时因为插件太老出现问题:
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:templating-maven-plugin:1.0-alpha-3:filter-sources (execution: default, phase: generate-sources)
插件templating-maven-plugin的生命周期覆盖有问题