2017.4.26 慕课网--Java 高并发秒杀API配置文件(持续更新)

新建项目,new maven project。

 

  1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3   <modelVersion>4.0.0</modelVersion>
  4   <groupId>org.seckill</groupId>
  5   <artifactId>seckill</artifactId>
  6   <packaging>war</packaging>
  7   <version>0.0.1-SNAPSHOT</version>
  8   <name>seckill Maven Webapp</name>
  9   <url>http://maven.apache.org</url>
 10   <dependencies>
 11   
 12     <!-- 0 单元测试
 13     junit3.* 使用编程方式,junit4.*使用注解方式 -->
 14     <dependency>
 15       <groupId>junit</groupId>
 16       <artifactId>junit</artifactId>
 17       <version>4.11</version>
 18       <scope>test</scope>
 19     </dependency>
 20     
 21     <!-- 1 日志 java日志:slf4j,log4j,logback,common-logging
 22         sl4j: 规范/接口
 23         实现:log4j,logback,common-logging
 24         使用:slf4j + logback-->
 25     <!--slf4j-->
 26     <dependency>
 27       <groupId>org.slf4j</groupId>
 28       <artifactId>slf4j-api</artifactId>
 29       <version>1.7.12</version>
 30     </dependency>
 31     <!--logback的核心依赖-->
 32     <dependency>
 33       <groupId>ch.qos.logback</groupId>
 34       <artifactId>logback-core</artifactId>
 35       <version>1.1.1</version>
 36     </dependency>
 37     <!--实现slf4j接口并整合-->
 38     <dependency>
 39       <groupId>ch.qos.logback</groupId>
 40       <artifactId>logback-classic</artifactId>
 41       <version>1.1.1</version>
 42     </dependency>
 43 
 44     <!-- 2 数据库相关依赖 -->
 45     <!--数据库驱动-->
 46     <dependency>
 47       <groupId>mysql</groupId>
 48       <artifactId>mysql-connector-java</artifactId>
 49       <version>5.1.35</version>
 50       <scope>runtime</scope>
 51     </dependency>
 52     <!--数据库连接池-->
 53     <dependency>
 54       <groupId>c3p0</groupId>
 55       <artifactId>c3p0</artifactId>
 56       <version>0.9.1.2</version>
 57     </dependency>
 58 
 59     <!-- 3 DAO框架:Mybatis依赖 -->
 60     <!-- mybatis -->
 61     <dependency>
 62       <groupId>org.mybatis</groupId>
 63       <artifactId>mybatis</artifactId>
 64       <version>3.3.0</version>
 65     </dependency>
 66     <!-- mybatis与spring整合 -->
 67     <dependency>
 68       <groupId>org.mybatis</groupId>
 69       <artifactId>mybatis-spring</artifactId>
 70       <version>1.2.3</version>
 71     </dependency>
 72 
 73     <!-- 4 Servlet-web依赖-->
 74     <!--使用标签-->
 75     <dependency>
 76       <groupId>taglibs</groupId>
 77       <artifactId>standard</artifactId>
 78       <version>1.2</version>
 79     </dependency>
 80     <dependency>
 81       <groupId>jstl</groupId>
 82       <artifactId>jstl</artifactId>
 83       <version>1.2</version>
 84     </dependency>
 85     <!--使用JSON-->
 86     <dependency>
 87       <groupId>com.fasterxml.jackson.core</groupId>
 88       <artifactId>jackson-databind</artifactId>
 89       <version>2.5.4</version>
 90     </dependency>
 91     <!--使用servlet-->
 92     <dependency>
 93       <groupId>javax.servlet</groupId>
 94       <artifactId>javax.servlet-api</artifactId>
 95       <version>3.1.0</version>
 96     </dependency>
 97 
 98     <!-- 5 Spring相关依赖 -->
 99     <!-- 1) Spring核心依赖 -->
100     <!--Spring最核心的依赖-->
101     <dependency>
102       <groupId>org.springfamework</groupId>
103       <artifactId>spring-core</artifactId>
104       <version>4.2.0.RELEASE</version>
105     </dependency>
106     <!--Spring IOC-->
107     <dependency>
108       <groupId>org.springfamework</groupId>
109       <artifactId>spring-beans</artifactId>
110       <version>4.2.0.RELEASE</version>
111     </dependency>
112     <!--Spring的一些拓展,比如包扫描-->
113     <dependency>
114       <groupId>org.springfamework</groupId>
115       <artifactId>spring-context</artifactId>
116       <version>4.2.0.RELEASE</version>
117     </dependency>
118     <!-- 2) Spring dao层依赖 -->
119     <!--数据库连接-->
120     <dependency>
121       <groupId>org.springfamework</groupId>
122       <artifactId>spring-jdbc</artifactId>
123       <version>4.2.0.RELEASE</version>
124     </dependency>
125     <!--数据库事务管理-->
126     <dependency>
127       <groupId>org.springfamework</groupId>
128       <artifactId>spring-tx</artifactId>
129       <version>4.2.0.RELEASE</version>
130     </dependency>
131     <!-- 3) Spring web相关依赖 -->
132     <dependency>
133       <groupId>org.springfamework</groupId>
134       <artifactId>spring-web</artifactId>
135       <version>4.2.0.RELEASE</version>
136     </dependency>
137     <dependency>
138       <groupId>org.springfamework</groupId>
139       <artifactId>spring-webmvc</artifactId>
140       <version>4.2.0.RELEASE</version>
141     </dependency>
142     <!-- 4) Spring单元测试 -->
143     <dependency>
144       <groupId>org.springfamework</groupId>
145       <artifactId>spring-test</artifactId>
146       <version>4.2.0.RELEASE</version>
147     </dependency>
148   </dependencies>
149   <build>
150     <finalName>seckill</finalName>
151   </build>
152 </project>

 

posted @ 2017-04-27 15:21  七月流火嗞嗞嗞  阅读(337)  评论(0编辑  收藏  举报