Skip to content

Commit

Permalink
new build process
Browse files Browse the repository at this point in the history
  • Loading branch information
remstef committed Sep 4, 2017
1 parent bc18e5b commit f63c75f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ set -ex

if [ -z "$1" ]; then
mvn clean install -U -DskipTests -Dcheckstyle.skip=true -Drat.skip=true -f webanno/pom.xml
mvn clean install -U -DskipTests -Dcheckstyle.skip=true -Drat.skip=true -f webanno-plugin-exmaralda/pom.xml
mvn clean package -U -DskipTests -Dcheckstyle.skip=true -Drat.skip=true -f webanno-webapp-exm/pom.xml
mvn clean install -U -DskipTests -Dcheckstyle.skip=true -Drat.skip=true -f pom.xml
else
if [ "$1" = "docker" ]; then
set +x
echo -n "Password: "
read -s p
mvn -f webanno-webapp-exm/pom.xml -Pdocker docker:build docker:push -Ddocker.username=remstef -Ddocker.password=$p
mvn -f pom.xml -Pdocker docker:build docker:push -Ddocker.username=remstef -Ddocker.password=$p
fi
fi

0 comments on commit f63c75f

Please sign in to comment.