Posts

Showing posts from May, 2016

jekins+tomcat7+maven+auto deploy+junit+svn developer log

1. what  i need used maven to auto deploy my spring war to tomcat with version war. it can auto run junit,if ok, then publish it to tomcat,else email me error history. 2. how 2.1 install tomcat 7+ edit tomcat\conf\tomcat-users.xml <role rolename="manager-gui"/> <role rolename="manager-script"/> <role rolename="admin-gui"/> <user password="tomcat" roles="manager-gui,admin-gui" username="tomcat"/> <user password="123456" roles="manager-script" username="admin"/> 2.2. edit spring web project's pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">   <modelVersion>4.0.0</modelVersion>   <groupId>com.pkrss</groupId>   <artifactId...