12 2011 档案

摘要:1.配置pom.xml 1 <dependency> 2 <groupId>org.apache.axis2</groupId> 3 <artifactId>axis2</artifactId> 4 <version>${axis2.version}</version> 5 </dependency> 6 <dependency> 7 <groupId>org.apache.axis2</groupId> 8 <artifactId>axis2-tra 阅读全文
posted @ 2011-12-17 01:01 通灵宝玉 阅读(6571) 评论(1) 推荐(0)
摘要:1.在pom.xml中新增plugin<plugin><groupId>org.mortbay.jetty</groupId><artifactId>jetty-maven-plugin</artifactId><version>8.0.1.v20110908</version></plugin>2.配置调试2.1配置后台监听External Tools Configuration->Program->NewMainLocation=E:\common\apache-maven-3.0. 阅读全文
posted @ 2011-12-17 00:43 通灵宝玉 阅读(480) 评论(0) 推荐(0)
摘要:通过Maven配置测试环境和开发环境连接不同的数据库操作上分3个步骤1.在数据持久层的pom中定义profiles,为开发和测试环境定义不同的profile<profiles> <profile> <id>dev</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <jdbc.driverClassName>com.mysql.jdbc.Driv... 阅读全文
posted @ 2011-12-11 18:29 通灵宝玉 阅读(1045) 评论(0) 推荐(0)