#!/bin/bash

cd /home/reghao/code/java/oss/store-api/
mvn clean install -Dmaven.test.skip
#mvn clean deploy -Dmaven.test.skip
mvn clean

cd /home/reghao/code/java/oss/oss-sdk/
mvn clean install -Dmaven.test.skip
#mvn clean deploy -Dmaven.test.skip
mvn clean

cd /home/reghao/code/java/oss/oss-store/
mvn clean package -Dmaven.test.skip
mvn clean

cd /home/reghao/code/java/oss/oss-console/
mvn clean package -Dmaven.test.skip
docker build -t oss-console .
mvn clean
