DATAREDIS-920 - Move maven command outside of Makefile.

This commit is contained in:
Greg Turnquist
2019-03-14 10:23:26 -05:00
parent 2edaa40b9c
commit 82b5c2aa09
2 changed files with 10 additions and 4 deletions

View File

@@ -147,8 +147,9 @@ stop-%: work/redis/bin/redis-cli
stop: redis-stop sentinel-stop cluster-stop
test:
test_start:
$(MAKE) start
sleep 2
./mvnw clean test -U -DrunLongTests=true -P$(SPRING_PROFILE) || (echo "maven failed $$?"; exit 1)
test_stop:
$(MAKE) stop

View File

@@ -10,5 +10,10 @@ cd spring-data-redis-github
ln -sf /work
# Maven run from inside Makefile to interact with Redis server.
make test SPRING_PROFILE=spring5-next
# Launch Redis in proper configuration
make test_start
./mvnw -U clean test -DrunLongTests=true -Pspring5-next
# Shutdown Redis
make test_stop