PROJECT_DIR=`pwd`
RELEASE_REPOSITORY=/home/asmirnov/work/maven2/releaseRepository
mvn -s ~/.m2t/settings.xml  -P local,release deploy -N
mvn -s ~/.m2t/settings.xml  -P local,release dependency:go-offline -Dmaven.repo.local=$RELEASE_REPOSITORY -N
cd $PROJECT_DIR/cdk
mvn -s ~/.m2t/settings.xml  -P local,release deploy
mvn -s ~/.m2t/settings.xml  -P local,release dependency:go-offline -Dmaven.repo.local=$RELEASE_REPOSITORY
cd $PROJECT_DIR/framework
mvn -s ~/.m2t/settings.xml  -P local,release deploy
mvn -s ~/.m2t/settings.xml  -P local,release dependency:go-offline -Dmaven.repo.local=$RELEASE_REPOSITORY
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
mvn -s ~/.m2t/settings.xml  -P local,release dependency:go-offline -Dmaven.repo.local=$RELEASE_REPOSITORY
cd $PROJECT_DIR/extensions
mvn -s ~/.m2t/settings.xml  -P local,release deploy
mvn -s ~/.m2t/settings.xml  -P local,release dependency:go-offline -Dmaven.repo.local=$RELEASE_REPOSITORY
cd $PROJECT_DIR/samples
mvn -s ~/.m2t/settings.xml  -P local,release deploy -N
cd $PROJECT_DIR/samples/richfaces-demo
mvn -s ~/.m2t/settings.xml  -P local,release deploy
