PROJECT_DIR=`pwd`

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