pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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>com.example</groupId>
  6. <artifactId>Gyee_Frame_NX</artifactId>
  7. <packaging>war</packaging>
  8. <name>Gyee_Frame_NX</name>
  9. <description>Gyee_Frame_NX系统</description>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.3.7.RELEASE</version>
  14. <relativePath /> <!-- 从存储库查找父级 -->
  15. </parent>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <java.version>1.8</java.version>
  20. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  21. <commons.io.version>2.5</commons.io.version>
  22. <tomcat.version>9.0.35</tomcat.version>
  23. </properties>
  24. <!-- https://mvnrepository.com/ 查找jar网站 -->
  25. <dependencies>
  26. <!-- SpringBoot Web容器 -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. <!-- SpringBoot集成mybatis框架 -->
  32. <dependency>
  33. <groupId>org.mybatis.spring.boot</groupId>
  34. <artifactId>mybatis-spring-boot-starter</artifactId>
  35. <version>1.3.2</version>
  36. </dependency>
  37. <!-- <dependency>-->
  38. <!-- <groupId>org.mybatis.caches</groupId>-->
  39. <!-- <artifactId>mybatis-ehcache</artifactId>-->
  40. <!-- <version>1.2.1</version>-->
  41. <!-- </dependency>-->
  42. <!-- SpringBoot 测试 -->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-test</artifactId>
  46. <scope>test</scope>
  47. </dependency>
  48. <!-- 添加swagger2 -->
  49. <dependency>
  50. <groupId>io.springfox</groupId>
  51. <artifactId>springfox-swagger2</artifactId>
  52. <version>2.9.2</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.springfox</groupId>
  56. <artifactId>springfox-swagger-ui</artifactId>
  57. <version>2.9.2</version>
  58. </dependency>
  59. <!--GSON -->
  60. <dependency>
  61. <groupId>com.google.code.gson</groupId>
  62. <artifactId>gson</artifactId>
  63. </dependency>
  64. <!-- pageHelper -->
  65. <dependency>
  66. <groupId>com.github.pagehelper</groupId>
  67. <artifactId>pagehelper-spring-boot-starter</artifactId>
  68. <version>1.2.5</version>
  69. </dependency>
  70. <!-- mysql驱动7.0-->
  71. <dependency>
  72. <groupId>mysql</groupId>
  73. <artifactId>mysql-connector-java</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.oracle</groupId>
  77. <artifactId>ojdbc6</artifactId>
  78. <version>11.2.0.3</version>
  79. </dependency>
  80. <!-- mysql驱动8.0
  81. <dependency>
  82. <groupId>mysql</groupId>
  83. <artifactId>mysql-connector-java</artifactId>
  84. <version>8.0.11</version>
  85. </dependency>
  86. -->
  87. <!--druid 数据源监控-->
  88. <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
  89. <dependency>
  90. <groupId>com.alibaba</groupId>
  91. <artifactId>druid-spring-boot-starter</artifactId>
  92. <version>1.1.10</version>
  93. </dependency>
  94. <!-- shiro权限 -->
  95. <dependency>
  96. <groupId>org.apache.shiro</groupId>
  97. <artifactId>shiro-spring</artifactId>
  98. <version>1.4.0</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-aop</artifactId>
  103. </dependency>
  104. <!-- shiro权限支持thymeleaf -->
  105. <dependency>
  106. <groupId>com.github.theborakompanioni</groupId>
  107. <artifactId>thymeleaf-extras-shiro</artifactId>
  108. <version>2.0.0</version>
  109. </dependency>
  110. <!-- thymeleaf模版 -->
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  114. </dependency>
  115. <!--常用工具类 -->
  116. <dependency>
  117. <groupId>org.apache.commons</groupId>
  118. <artifactId>commons-lang3</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>commons-lang</groupId>
  122. <artifactId>commons-lang</artifactId>
  123. <version>2.4</version>
  124. </dependency>
  125. <!--io常用工具类 -->
  126. <dependency>
  127. <groupId>commons-io</groupId>
  128. <artifactId>commons-io</artifactId>
  129. <version>${commons.io.version}</version>
  130. </dependency>
  131. <!--文件上传工具类 -->
  132. <dependency>
  133. <groupId>commons-fileupload</groupId>
  134. <artifactId>commons-fileupload</artifactId>
  135. <version>${commons.fileupload.version}</version>
  136. </dependency>
  137. <!-- 热部署 -->
  138. <dependency>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-devtools</artifactId>
  141. <optional>false</optional>
  142. </dependency>
  143. <!-- Hutool是一个Java工具包 http://hutool.cn/ -->
  144. <dependency>
  145. <groupId>cn.hutool</groupId>
  146. <artifactId>hutool-all</artifactId>
  147. <version>4.1.12</version>
  148. </dependency>
  149. <!-- google验证码 -->
  150. <dependency>
  151. <groupId>com.github.penggle</groupId>
  152. <artifactId>kaptcha</artifactId>
  153. <version>2.3.2</version>
  154. </dependency>
  155. <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
  156. <dependency>
  157. <groupId>org.apache.velocity</groupId>
  158. <artifactId>velocity</artifactId>
  159. <version>1.7</version>
  160. </dependency>
  161. <!-- websocket -->
  162. <dependency>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-starter-websocket</artifactId>
  165. </dependency>
  166. <!-- 配置文件读取 -->
  167. <dependency>
  168. <groupId>commons-configuration</groupId>
  169. <artifactId>commons-configuration</artifactId>
  170. <version>1.10</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.springframework.boot</groupId>
  174. <artifactId>spring-boot-configuration-processor</artifactId>
  175. <optional>true</optional>
  176. </dependency>
  177. <!-- mail -->
  178. <dependency>
  179. <groupId>javax.mail</groupId>
  180. <artifactId>mail</artifactId>
  181. <version>1.4.7</version>
  182. </dependency>
  183. <!--百度UEditor依赖的jar包 -->
  184. <dependency>
  185. <groupId>org.json</groupId>
  186. <artifactId>json</artifactId>
  187. <version>20180813</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>ueditor</groupId>
  191. <artifactId>1.4.3</artifactId>
  192. <version>1.8</version>
  193. <scope>system</scope>
  194. <systemPath>${basedir}/lib/ueditor-1.1.2.jar</systemPath>
  195. </dependency>
  196. <!--quartz依赖-->
  197. <dependency>
  198. <groupId>org.quartz-scheduler</groupId>
  199. <artifactId>quartz</artifactId>
  200. </dependency>
  201. <!-- 七牛云 -->
  202. <dependency>
  203. <groupId>com.qiniu</groupId>
  204. <artifactId>qiniu-java-sdk</artifactId>
  205. <version>[7.2.0, 7.2.99]</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.alibaba</groupId>
  209. <artifactId>fastjson</artifactId>
  210. <version>1.2.7</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.projectlombok</groupId>
  214. <artifactId>lombok</artifactId>
  215. <version>1.18.12</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.apache.tomcat</groupId>
  219. <artifactId>tomcat-juli</artifactId>
  220. <version>${tomcat.version}</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.apache.tomcat.embed</groupId>
  224. <artifactId>tomcat-embed-core</artifactId>
  225. <version>${tomcat.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.apache.tomcat.embed</groupId>
  229. <artifactId>tomcat-embed-el</artifactId>
  230. <version>${tomcat.version}</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.apache.tomcat.embed</groupId>
  234. <artifactId>tomcat-embed-websocket</artifactId>
  235. <version>${tomcat.version}</version>
  236. </dependency>
  237. <!-- <dependency>-->
  238. <!-- <groupId>redis.clients</groupId>-->
  239. <!-- <artifactId>jedis</artifactId>-->
  240. <!-- <version>2.9.0</version>-->
  241. <!-- </dependency>-->
  242. <dependency>
  243. <groupId>org.springframework.boot</groupId>
  244. <artifactId>spring-boot-starter-data-redis</artifactId>
  245. </dependency>
  246. </dependencies>
  247. <build>
  248. <!-- 打包不带版本号 -->
  249. <!-- <finalName>Gyee_Frame_NX</finalName> -->
  250. <plugins>
  251. <!-- JUnit 配置 -->
  252. <plugin>
  253. <groupId>org.apache.maven.plugins</groupId>
  254. <artifactId>maven-surefire-plugin</artifactId>
  255. <!--忽略测试启动类 -->
  256. <configuration>
  257. <skip>true</skip>
  258. </configuration>
  259. </plugin>
  260. <!-- generator 配置-->
  261. <plugin>
  262. <groupId>org.mybatis.generator</groupId>
  263. <artifactId>mybatis-generator-maven-plugin</artifactId>
  264. <version>1.3.7</version>
  265. <configuration>
  266. <!--允许移动生成的文件 -->
  267. <verbose>false</verbose>
  268. <!--允许覆盖生成的文件 -->
  269. <overwrite>false</overwrite>
  270. <!--配置文件的路径 -->
  271. <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
  272. </configuration>
  273. <dependencies>
  274. <dependency>
  275. <groupId>mysql</groupId>
  276. <artifactId>mysql-connector-java</artifactId>
  277. <version>${mysql.version}</version>
  278. </dependency>
  279. <!--<dependency>
  280. <groupId>com.oracle</groupId>
  281. <artifactId>ojdbc6</artifactId>
  282. <version>11.2.0.3</version>
  283. </dependency>-->
  284. </dependencies>
  285. </plugin>
  286. <!-- jar运行配置 -->
  287. <plugin>
  288. <groupId>org.springframework.boot</groupId>
  289. <artifactId>spring-boot-maven-plugin</artifactId>
  290. </plugin>
  291. </plugins>
  292. </build>
  293. <!-- 阿里云maven仓库 -->
  294. <repositories>
  295. <repository>
  296. <id>public</id>
  297. <name>aliyun nexus</name>
  298. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  299. <releases>
  300. <enabled>true</enabled>
  301. </releases>
  302. </repository>
  303. </repositories>
  304. <pluginRepositories>
  305. <pluginRepository>
  306. <id>public</id>
  307. <name>aliyun nexus</name>
  308. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  309. <releases>
  310. <enabled>true</enabled>
  311. </releases>
  312. <snapshots>
  313. <enabled>false</enabled>
  314. </snapshots>
  315. </pluginRepository>
  316. </pluginRepositories>
  317. </project>