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

能不能改一改hugegraph-common获取version的方式? #87

Closed
yuyang0 opened this issue Oct 10, 2018 · 2 comments
Closed

能不能改一改hugegraph-common获取version的方式? #87

yuyang0 opened this issue Oct 10, 2018 · 2 comments

Comments

@yuyang0
Copy link

yuyang0 commented Oct 10, 2018

现在这种做法我想把使用了hugegraph-client的项目打包成jar都不行

@javeme
Copy link
Contributor

javeme commented Oct 18, 2018

多谢反馈,希望能详细的说明一下原因。我的理解是你想把这个项目打成一个all-in-one的Jar包是吗?我们建议的方式是通过maven来管理依赖包,如果一定要打成一个离线包,那么建议以lib的方式动态加载各依赖Jar包。

@javeme
Copy link
Contributor

javeme commented Oct 18, 2018

如果确实有需要,可以修改hugegraph-common获取version的方式,具体方法如下:
CommonVersion.java中代码
VERSION = Version.of(CommonVersion.class)
改为
VERSION = Version.of(CommonVersion.class, "1.5.2")
其中第2个参数为:以硬编码的方式指定当前代码的版本号。

@yuyang0 yuyang0 closed this as completed Oct 23, 2018
VGalaxies pushed a commit that referenced this issue Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants