-
Notifications
You must be signed in to change notification settings - Fork 1
/
build-and-run.sh
executable file
·19 lines (17 loc) · 1.34 KB
/
build-and-run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
echo Running migrations...
./gfood-flyway/mvnw clean flyway:migrate -f ./gfood-flyway/pom.xml
echo Building all projects...
./gfood-common/mvnw clean install -f ./gfood-common/pom.xml -Dmaven.test.skip=true
./gfood-domain/mvnw clean install -f ./gfood-domain/pom.xml -Dmaven.test.skip=true
./gfood-swagger/mvnw clean install -f ./gfood-swagger/pom.xml -Dmaven.test.skip=true
./gfood-consumer-service-api/mvnw clean install -f ./gfood-consumer-service-api/pom.xml -Dmaven.test.skip=true
./gfood-consumer-service/mvnw clean install -f ./gfood-consumer-service/pom.xml -Dmaven.test.skip=true
./gfood-restaurant-service-api/mvnw install -f ./gfood-restaurant-service-api/pom.xml -Dmaven.test.skip=true
./gfood-restaurant-service/mvnw install -f ./gfood-restaurant-service/pom.xml -Dmaven.test.skip=true
./gfood-courier-service-api/mvnw install -f ./gfood-courier-service-api/pom.xml -Dmaven.test.skip=true
./gfood-courier-service/mvnw install -f ./gfood-courier-service/pom.xml -Dmaven.test.skip=true
./gfood-order-service-api/mvnw install -f ./gfood-order-service-api/pom.xml -Dmaven.test.skip=true
./gfood-order-service/mvnw install -f ./gfood-order-service/pom.xml -Dmaven.test.skip=true
./gfood-application/mvnw clean install -f ./gfood-application/pom.xml -Dmaven.test.skip=true
echo Running gfood...
java -jar ./gfood-application/target/gfood-application-0.0.1-SNAPSHOT.jar