#!/bin/sh
# 参数为svn路径 http://svn.zzz/3.4.6branch
svn --username=chicheng --password xxx co $1 mq
export MAVEN_HOME=/home/cc/mvn
export PATH=.:$MAVEN_HOME/bin:$PATH
cd mq
mvn -Dmaven.test.skip=true clean package install assembly:assembly -U
cd target/alibaba-rocketmq-broker/alibaba-rocketmq/lib/
#强制更新
yes|cp -fr rocketmq-*.jar /root/alibaba-rocketmq/lib/
# 参数为svn路径 http://svn.zzz/3.4.6branch
svn --username=chicheng --password xxx co $1 mq
export MAVEN_HOME=/home/cc/mvn
export PATH=.:$MAVEN_HOME/bin:$PATH
cd mq
mvn -Dmaven.test.skip=true clean package install assembly:assembly -U
cd target/alibaba-rocketmq-broker/alibaba-rocketmq/lib/
#强制更新
yes|cp -fr rocketmq-*.jar /root/alibaba-rocketmq/lib/