PROJECT_DIR=`pwd`

mvn -s ~/.m2t/settings.xml  -P local,release deploy -N
cd $PROJECT_DIR/cdk
mvn -s ~/.m2t/settings.xml  -P local,release deploy
cd $PROJECT_DIR/framework
mvn -s ~/.m2t/settings.xml  -P local,release deploy
cd $PROJECT_DIR/ui
mvn -s ~/.m2t/settings.xml  -P local,release deploy -N
mvn -s ~/.m2t/settings.xml  -P local,release install
cd $PROJECT_DIR/docs
mvn -s ~/.m2t/settings.xml  -P local,release deploy
cd $PROJECT_DIR/ui/assembly
mvn -s ~/.m2t/settings.xml  -P local,release deploy
cd $PROJECT_DIR/extensions
mvn -s ~/.m2t/settings.xml  -P local,release deploy
cd $PROJECT_DIR/samples/richfaces-demo
mvn -s ~/.m2t/settings.xml  -P local,release deploy
