pom.xml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>org.example</groupId>
  6. <artifactId>G5-Project</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <name>G5-Project Maven Webapp</name>
  10. <!-- FIXME change it to the project's website -->
  11. <url>http://www.example.com</url>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <maven.compiler.source>1.7</maven.compiler.source>
  15. <maven.compiler.target>1.7</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>junit</groupId>
  20. <artifactId>junit</artifactId>
  21. <version>4.11</version>
  22. <!-- <scope>test</scope>-->
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework</groupId>
  26. <artifactId>spring-test</artifactId>
  27. <version>5.3.18</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>javax.annotation</groupId>
  31. <artifactId>javax.annotation-api</artifactId>
  32. <version>1.3.2</version>
  33. </dependency>
  34. <!-- spring数据库操作-->
  35. <dependency>
  36. <groupId>org.springframework</groupId>
  37. <artifactId>spring-jdbc</artifactId>
  38. <version>5.3.18</version>
  39. </dependency>
  40. <!-- 处理数据库操作-->
  41. <dependency>
  42. <groupId>com.alibaba</groupId>
  43. <artifactId>druid</artifactId>
  44. <version>1.1.10</version>
  45. </dependency>
  46. <!-- 数据库驱动坐标-->
  47. <dependency>
  48. <groupId>mysql</groupId>
  49. <artifactId>mysql-connector-java</artifactId>
  50. <version>5.1.47</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework</groupId>
  54. <artifactId>spring-context</artifactId>
  55. <version>5.1.5.RELEASE</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework</groupId>
  59. <artifactId>spring-webmvc</artifactId>
  60. <version>5.1.5.RELEASE</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>commons-lang</groupId>
  64. <artifactId>commons-lang</artifactId>
  65. <version>2.6</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>javax.servlet</groupId>
  69. <artifactId>servlet-api</artifactId>
  70. <version>2.5</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.fasterxml.jackson.core</groupId>
  74. <artifactId>jackson-annotations</artifactId>
  75. <version>2.9.4</version>
  76. </dependency>
  77. <!-- json数据操作-->
  78. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
  79. <dependency>
  80. <groupId>com.fasterxml.jackson.core</groupId>
  81. <artifactId>jackson-core</artifactId>
  82. <version>2.9.8</version>
  83. </dependency>
  84. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
  85. <dependency>
  86. <groupId>com.fasterxml.jackson.core</groupId>
  87. <artifactId>jackson-databind</artifactId>
  88. <version>2.9.8</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>commons-io</groupId>
  92. <artifactId>commons-io</artifactId>
  93. <version>2.4</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>commons-fileupload</groupId>
  97. <artifactId>commons-fileupload</artifactId>
  98. <version>1.3.1</version>
  99. </dependency>
  100. <!-- mybatis-->
  101. <dependency>
  102. <groupId>org.mybatis</groupId>
  103. <artifactId>mybatis</artifactId>
  104. <version>3.5.5</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.mybatis</groupId>
  108. <artifactId>mybatis-spring</artifactId>
  109. <version>1.3.2</version>
  110. </dependency>
  111. <!-- -->
  112. <dependency>
  113. <groupId>org.apache.httpcomponents</groupId>
  114. <artifactId>httpmime</artifactId>
  115. <version>4.5.7</version>
  116. </dependency>
  117. <!-- JSON -->
  118. <dependency>
  119. <groupId>com.alibaba</groupId>
  120. <artifactId>fastjson</artifactId>
  121. <version>1.2.41</version>
  122. </dependency>
  123. <!-- POI -->
  124. <dependency>
  125. <groupId>org.apache.poi</groupId>
  126. <artifactId>poi</artifactId>
  127. <version>3.16</version>
  128. </dependency>
  129. <!-- https://mvnrepository.com/artifact/net.sf.jxls/jxls-core -->
  130. <dependency>
  131. <groupId>net.sf.jxls</groupId>
  132. <artifactId>jxls-core</artifactId>
  133. <version>1.0.6</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.projectlombok</groupId>
  137. <artifactId>lombok</artifactId>
  138. <version>1.18.10</version>
  139. <optional>true</optional>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.alibaba</groupId>
  143. <artifactId>easyexcel</artifactId>
  144. <version>2.2.6</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.poi</groupId>
  148. <artifactId>poi-ooxml</artifactId>
  149. <version>3.16</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.commons</groupId>
  153. <artifactId>commons-lang3</artifactId>
  154. <version>3.3.2</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.slf4j</groupId>
  158. <artifactId>slf4j-log4j12</artifactId>
  159. <version>1.7.25</version>
  160. <scope>test</scope>
  161. </dependency>
  162. <!-- https://mvnrepository.com/artifact/log4j/log4j -->
  163. <dependency>
  164. <groupId>log4j</groupId>
  165. <artifactId>log4j</artifactId>
  166. <version>1.2.17</version>
  167. </dependency>
  168. <!-- https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl -->
  169. <dependency>
  170. <groupId>net.sourceforge.jexcelapi</groupId>
  171. <artifactId>jxl</artifactId>
  172. <version>2.6.12</version>
  173. </dependency>
  174. <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
  175. <dependency>
  176. <groupId>org.slf4j</groupId>
  177. <artifactId>slf4j-api</artifactId>
  178. <version>1.7.25</version>
  179. </dependency>
  180. <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-nop -->
  181. <dependency>
  182. <groupId>org.slf4j</groupId>
  183. <artifactId>slf4j-nop</artifactId>
  184. <version>1.7.25</version>
  185. <scope>test</scope>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.slf4j</groupId>
  189. <artifactId>slf4j-simple</artifactId>
  190. <version>1.7.5</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>jstl</groupId>
  194. <artifactId>jstl</artifactId>
  195. <version>1.2</version>
  196. </dependency>
  197. </dependencies>
  198. <build>
  199. <finalName>G5-Project</finalName>
  200. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  201. <plugins>
  202. <plugin>
  203. <artifactId>maven-clean-plugin</artifactId>
  204. <version>3.1.0</version>
  205. </plugin>
  206. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
  207. <plugin>
  208. <artifactId>maven-resources-plugin</artifactId>
  209. <version>3.0.2</version>
  210. </plugin>
  211. <plugin>
  212. <artifactId>maven-compiler-plugin</artifactId>
  213. <version>3.8.0</version>
  214. </plugin>
  215. <plugin>
  216. <artifactId>maven-surefire-plugin</artifactId>
  217. <version>2.22.1</version>
  218. </plugin>
  219. <plugin>
  220. <artifactId>maven-war-plugin</artifactId>
  221. <version>3.2.2</version>
  222. </plugin>
  223. <plugin>
  224. <artifactId>maven-install-plugin</artifactId>
  225. <version>2.5.2</version>
  226. </plugin>
  227. <plugin>
  228. <artifactId>maven-deploy-plugin</artifactId>
  229. <version>2.8.2</version>
  230. </plugin>
  231. </plugins>
  232. </pluginManagement>
  233. <plugins>
  234. <plugin>
  235. <groupId>org.apache.maven.plugins</groupId>
  236. <artifactId>maven-compiler-plugin</artifactId>
  237. <configuration>
  238. <source>8</source>
  239. <target>8</target>
  240. </configuration>
  241. </plugin>
  242. </plugins>
  243. </build>
  244. </project>