加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Building.txt 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
黄理 提交于 2020-01-06 23:24 . update building.txt
1. Unit test
==========================================================
1.1 Run redis
At first we run redis server using Docker, under jetcache directory, run:
docker-compose up
This will run 1 redis server with 2 slaves, 3 sentinels, and 6 redis cluster node (3 masters, 3 slaves).
1.2.a Run tests in Linux
mvn clean test
1.2.b Run tests in Mac
docker run -it --rm --network host -v $HOME/.m2:/root/.m2 -v `pwd`:/usr/src/mymaven -w /usr/src/mymaven maven:3.6.2-jdk-8 mvn clean test
1.2.c Run tests in Windows
docker run -it --rm --network host -v /c/Users/hl_20/.m2:/root/.m2 -v /IdeaProjects/jetcache/jetcache:/usr/src/mymaven -w /usr/src/mymaven maven:3.6.2-jdk-8 mvn clean test
You need change /c/Users/hl_20 and /IdeaProjects/jetcache/jetcache to your local path.
2. Change pom version
==========================================================
Use this command to change version in all pom file:
mvn versions:set -DnewVersion=1.0.0-SNAPSHOT
3. Building your own version
===========================================================
mvn -DskipTests clean install
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化