功能: 将maven项目打包复制到tomcat/webapps
set git=C:Userszhengwenqianggit set tomcat=e: omcat7.0.64 c: cd %git%cas call mvn clean compile call mvn package -Pdeploy rem call mvn package -Ptenant e: if exist %tomcat%webappscas.war del %tomcat%webappscas.war copy %git%cas argetcas.war %tomcat%webapps c: cd %git%portal :: mvn is batch. so call is needed call mvn clean compile call mvn package -Pdeploy rem call mvn package -Ptenant e: if exist %tomcat%webappsportal.war ( del %tomcat%webappsportal.war ) copy %git%portal argetportal.war %tomcat%webapps c: cd %git%platformsecurity call mvn clean compile call mvn package -Pdeploy rem call mvn package -Ptenant e: if exist %tomcat%webappssecurity.war ( del %tomcat%webappssecurity.war ) copy %git%platformsecurity argetsecurity.war %tomcat%webapps