#!/bin/sh if mvn -f pom-jar.xml clean install > build-jar.log 2> build-jar.err.log; then echo "success" else echo "failure" exit 1 fi