#!/bin/bash

mvn package
pushd angularjs-portal-frame
mvn tomcat7:redeploy
popd
pushd angularjs-portal-home
mvn tomcat7:redeploy
popd

#!/bin/bash

mvn -Djava.awt.headless=true package
pushd angularjs-portal-frame
mvn -Djava.awt.headless=true tomcat7:redeploy
popd
pushd angularjs-portal-home
mvn -Djava.awt.headless=true tomcat7:redeploy
popd

Set -Djava.awt.headless=true on mvn invocations
Set -Djava.awt.headless=true on mvn invocations

to avoid stealing focus under MacOS.
