闫平平
写代码也要酷酷的!

导航

 
  1 <?xml version="1.0" encoding="UTF-8"?>
  2 <project xmlns="http://maven.apache.org/POM/4.0.0"
  3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5     <modelVersion>4.0.0</modelVersion>
  6 
  7     <groupId>aaa</groupId>
  8     <artifactId>test_maven_316_01</artifactId>
  9     <version>1.0-SNAPSHOT</version>
 10     <!--properties标签可以声明变量-->
 11     <properties>
 12         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 13         <spring.version>4.3.18.RELEASE</spring.version>
 14     </properties>
 15 
 16     <!--声明项目依赖的jar包-->
 17     <dependencies>
 18         <!--groupId配置发布jar包的公司的名称-->
 19         <!--artifactId 配置jar包名称-->
 20         <!-- version配置jar包的版本-->
 21         <!-- spring核心包 -->
 22         <!-- spring核心包 -->
 23         <dependency>
 24             <groupId>org.springframework</groupId>
 25             <artifactId>spring-core</artifactId>
 26             <version>${spring.version}</version>
 27         </dependency>
 28 
 29         <dependency>
 30             <groupId>org.springframework</groupId>
 31             <artifactId>spring-beans</artifactId>
 32             <version>${spring.version}</version>
 33         </dependency>
 34 
 35         <dependency>
 36             <groupId>org.springframework</groupId>
 37             <artifactId>spring-context</artifactId>
 38             <version>${spring.version}</version>
 39         </dependency>
 40 
 41         <dependency>
 42             <groupId>org.springframework</groupId>
 43             <artifactId>spring-tx</artifactId>
 44             <version>${spring.version}</version>
 45         </dependency>
 46 
 47         <dependency>
 48             <groupId>org.springframework</groupId>
 49             <artifactId>spring-web</artifactId>
 50             <version>${spring.version}</version>
 51         </dependency>
 52 
 53         <dependency>
 54             <groupId>org.springframework</groupId>
 55             <artifactId>spring-webmvc</artifactId>
 56             <version>${spring.version}</version>
 57         </dependency>
 58 
 59         <dependency>
 60             <groupId>org.springframework</groupId>
 61             <artifactId>spring-jdbc</artifactId>
 62             <version>${spring.version}</version>
 63         </dependency>
 64 
 65         <!-- mybatis 包 -->
 66         <dependency>
 67             <groupId>org.mybatis</groupId>
 68             <artifactId>mybatis</artifactId>
 69             <version>3.4.6</version>
 70         </dependency>
 71 
 72         <!--mybatis spring 插件 -->
 73         <dependency>
 74             <groupId>org.mybatis</groupId>
 75             <artifactId>mybatis-spring</artifactId>
 76             <version>1.3.2</version>
 77         </dependency>
 78 
 79 
 80 
 81         <dependency>
 82             <groupId>com.fasterxml.jackson.core</groupId>
 83             <artifactId>jackson-core</artifactId>
 84             <version>2.9.8</version>
 85         </dependency>
 86         <dependency>
 87             <groupId>com.fasterxml.jackson.core</groupId>
 88             <artifactId>jackson-annotations</artifactId>
 89             <version>2.9.8</version>
 90         </dependency>
 91         <dependency>
 92             <groupId>com.fasterxml.jackson.core</groupId>
 93             <artifactId>jackson-databind</artifactId>
 94             <version>2.9.8</version>
 95         </dependency>
 96 
 97         <dependency>
 98             <groupId>commons-dbcp</groupId>
 99             <artifactId>commons-dbcp</artifactId>
100             <version>1.4</version>
101         </dependency>
102 
103         <dependency>
104             <groupId>com.oracle</groupId>
105             <artifactId>ojdbc6</artifactId>
106             <version>6</version>
107         </dependency>
108 
109 
110 
111 
112         <!-- 文件上传 -->
113         <dependency>
114             <groupId>commons-io</groupId>
115             <artifactId>commons-io</artifactId>
116             <version>1.3.2</version>
117         </dependency>
118 
119         <dependency>
120             <groupId>commons-fileupload</groupId>
121             <artifactId>commons-fileupload</artifactId>
122             <version>1.2.1</version>
123         </dependency>
124         <dependency>
125             <groupId>jstl</groupId>
126             <artifactId>jstl</artifactId>
127             <version>1.2</version>
128         </dependency>
129 
130     </dependencies>
131     <!-- mybatis的mapper映射文件无法直接解析,需要用到该配置 -->
132      <build>
133         <resources>
134              <resource>
135                  <directory>src/main/java</directory>
136                  <includes>
137                      <include>
138                          **/*.xml
139                      </include>
140                  </includes>
141              </resource>
142         </resources>
143     </build>
144 
145 
146 </project>

 

posted on 2019-06-01 11:26  写代码也要酷酷的  阅读(542)  评论(0编辑  收藏  举报