Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jraft构建失败 #69

Closed
jewin opened this issue Mar 26, 2019 · 7 comments
Closed

jraft构建失败 #69

jewin opened this issue Mar 26, 2019 · 7 comments
Assignees
Projects
Milestone

Comments

@jewin
Copy link

jewin commented Mar 26, 2019

操作系统:mac os
JDK:oracle jdk8
开发工具:idea 2018

jmh基准测试框架的scope为test,项目构建失败;
改为provide后,运行用例失败。
image

@fengjiachun
Copy link
Contributor

你好,需要先 mvn clean

@jewin
Copy link
Author

jewin commented Mar 26, 2019

每次编译构建的命令都是mvn clean compile package

@fengjiachun
Copy link
Contributor

@jewin 我的意思是当你用 idea 运行 jraft 中的程序时,先 mvn clean, 不是 mvn clean package

@fengjiachun
Copy link
Contributor

@jewin 根本原因是 jmh 和 unit-test 不能同目录,有冲突,近期我们会想办法解决下这个问题,暂时你先可以通过 mvn clean 解决

@fengjiachun fengjiachun added this to To do in v1.2.5 via automation Mar 26, 2019
@fengjiachun fengjiachun added this to the 1.2.5 milestone Mar 26, 2019
@fengjiachun fengjiachun self-assigned this Mar 26, 2019
@jewin
Copy link
Author

jewin commented Mar 26, 2019

收到

@yangl
Copy link

yangl commented Mar 27, 2019

升级一下maven-compiler-plugin版本 3.8.0 就OK了!

@fengjiachun
Copy link
Contributor

升级一下maven-compiler-plugin版本 3.8.0 就OK了!

赞,测试了,确实升级 maven-compiler-plugin 版本就 OK 了

@jewin jewin closed this as completed Mar 27, 2019
v1.2.5 automation moved this from To do to Done Mar 27, 2019
killme2008 pushed a commit that referenced this issue Mar 28, 2019
* (fix) isolate jmh and unit_test #69

* (fix) update maven-compiler-plugin version to 3.8.0 #69

* (fix) update maven-compiler-plugin version to 3.8.0 #69

* (fix) recover jmh code
@fengjiachun fengjiachun mentioned this issue Apr 1, 2019
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v1.2.5
  
Done
Development

No branches or pull requests

3 participants