1 Star 0 Fork 1.2K

open_fork / im-server

forked from 野火IM / im-server 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
下载压缩包源码编译错误的说明.md 925 Bytes
一键复制 编辑 原始数据 按行查看 历史
heavyrain2012 提交于 2019-11-04 20:30 . update

从github release处下载源码,或者从工程首页下载源码会编译失败,提示如下

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  51.504 s
[INFO] Finished at: 2019-11-04T20:27:21+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.1.5:revision (default) on project distribution: .git directory could not be found! Please specify a valid [dotGitDirectory] in your pom.xml -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

原因是项目中有个git的插件需要读取当前工程的提交信息,github打包的源码没有git信息,所以就打包失败。 解决办法:git clone下载

Java
1
https://gitee.com/open_fork/im-server.git
git@gitee.com:open_fork/im-server.git
open_fork
im-server
im-server
wildfirechat

搜索帮助