1.下载安装支持
首先确保已安装JDK1.7.*和支持Maven的Eclipse(我使用的是4.3版本)。
2.获取Tigase server源码
tigase server工程依赖tigase-xmltools 和 tigase-utils。在eclipse中用git导出tigase-xmltools和 tigase-utils。
git clone https://repository.tigase.org/git/tigase-xmltools.git;
git clone https://repository.tigase.org/git/tigase-utils.git;
eclipse中git导出https会报错,需要给git的configeration中配置 http.sslVerify = false即可。
导出来的tigase-xmltools工程pom文件报错,
Plugin execution not covered by lifecycle configuration: org.codehaus.gmaven:gmaven-plugin:1.5:execute (execution: gitver, phase: validate)
处理就OK,ignore就可以了。然后分别run maven instal 安装到本地仓库;git clone https://repository.tigase.org/git/tigase-server.git导出道ecipse,装换成maven项目,配置etc目录下得数据库文件。
创建数据库文件可以用工程下得scripts/db-create-mysql.sh创建。