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>com.imooc</groupId> 5 <artifactId>o2o</artifactId> 6 <packaging>war</packaging> 7 <version>1.0-SNAPSHOT</version> 8 <name>o2o Maven Webapp</name> 9 <url>http://maven.apache.org</url> 10 <!--maven阿里云镜像 --> 11 <repositories> 12 <repository> 13 <id>aliyunmaven</id> 14 <url>http://maven.aliyun.com/nexus/content/groups/public/</url> 15 </repository> 16 </repositories> 17 <properties> 18 <spring.version>5.0.16.RELEASE</spring.version> 19 </properties> 20 <dependencies> 21 <!--单元测试类 --> 22 <dependency> 23 <groupId>junit</groupId> 24 <artifactId>junit</artifactId> 25 <version>4.12</version> 26 <scope>test</scope> 27 </dependency> 28 <!-- 日志的 --> 29 <dependency> 30 <groupId>ch.qos.logback</groupId> 31 <artifactId>logback-classic</artifactId> 32 <version>1.2.3</version> 33 </dependency> 34 <!--spring相关的 --> 35 <dependency> 36 <groupId>org.springframework</groupId> 37 <artifactId>spring-core</artifactId> 38 <version>${spring.version}</version> 39 </dependency> 40 <dependency> 41 <groupId>org.springframework</groupId> 42 <artifactId>spring-beans</artifactId> 43 <version>${spring.version}</version> 44 </dependency> 45 <dependency> 46 <groupId>org.springframework</groupId> 47 <artifactId>spring-context</artifactId> 48 <version>${spring.version}</version> 49 </dependency> 50 <dependency> 51 <groupId>org.springframework</groupId> 52 <artifactId>spring-jdbc</artifactId> 53 <version>${spring.version}</version> 54 </dependency> 55 <dependency> 56 <groupId>org.springframework</groupId> 57 <artifactId>spring-tx</artifactId> 58 <version>${spring.version}</version> 59 </dependency> 60 <dependency> 61 <groupId>org.springframework</groupId> 62 <artifactId>spring-web</artifactId> 63 <version>${spring.version}</version> 64 </dependency> 65 <dependency> 66 <groupId>org.springframework</groupId> 67 <artifactId>spring-webmvc</artifactId> 68 <version>${spring.version}</version> 69 </dependency> 70 <dependency> 71 <groupId>org.springframework</groupId> 72 <artifactId>spring-test</artifactId> 73 <version>${spring.version}</version> 74 <scope>test</scope> 75 </dependency> 76 <dependency> 77 <groupId>javax.servlet</groupId> 78 <artifactId>javax.servlet-api</artifactId> 79 <version>3.1.0</version> 80 </dependency> 81 <dependency> 82 <groupId>com.fasterxml.jackson.core</groupId> 83 <artifactId>jackson-databind</artifactId> 84 <version>RELEASE</version> 85 </dependency> 86 <dependency> 87 <groupId>commons-collections</groupId> 88 <artifactId>commons-collections</artifactId> 89 <version>3.2</version> 90 </dependency> 91 <!--mybatis相关的 --> 92 <dependency> 93 <groupId>org.mybatis</groupId> 94 <artifactId>mybatis</artifactId> 95 <version>3.4.2</version> 96 </dependency> 97 <dependency> 98 <groupId>org.mybatis</groupId> 99 <artifactId>mybatis-spring</artifactId> 100 <version>1.3.1</version> 101 </dependency> 102 <!-- 数据库相关的 --> 103 <dependency> 104 <groupId>mysql</groupId> 105 <artifactId>mysql-connector-java</artifactId> 106 <version>8.0.19</version> 107 </dependency> 108 <dependency> 109 <groupId>c3p0</groupId> 110 <artifactId>c3p0</artifactId> 111 <version>0.9.1.2</version> 112 </dependency> 113 </dependencies> 114 <build> 115 <finalName>o2o</finalName> 116 <plugins> 117 <plugin> 118 <groupId>org.apache.maven.plugins</groupId> 119 <artifactId>maven-compiler-plugin</artifactId> 120 <version>3.8.1</version> 121 <configuration> 122 <source>1.8</source> 123 <target>1.8</target> 124 <encoding>UTF8</encoding> 125 </configuration> 126 </plugin> 127 </plugins> 128 </build> 129 </project>
----------->农民工的码农转型之路