-
Notifications
You must be signed in to change notification settings - Fork 1.1k
代码质量
杨尚川 edited this page Apr 5, 2014
·
5 revisions
注意软件环境: jdk1.7.0_51、apache-maven-3.0.4、sonar-3.6
1、下载sonar
wget http://dist.sonar.codehaus.org/sonar-3.6.zip
2、解压sonar
unzip sonar-3.6.zip
3、启动sonar
cd sonar-3.6
nohup bin/linux-x86-64/sonar.sh start &
4、执行以下命令
apt-get install git
git clone https://github.com/ysc/APDPlat.git
apt-get install maven2
cd APDPlat/APDPlat_Core
mvn clean install
mvn sonar:sonar
cd APDPlat/APDPlat_Module
mvn clean install
mvn sonar:sonar
cd APDPlat/APDPlat_Web
mvn clean install
mvn sonar:sonar
5、打开浏览器访问http://localhost:9000
6、可以使用用户名/密码: admin/admin登陆sona