pom.xml 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  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. <dependency>
  81. <groupId>com.microsoft.sqlserver</groupId>
  82. <artifactId>sqljdbc4</artifactId>
  83. <version>4.0</version>
  84. </dependency>
  85. <!-- mysql驱动8.0
  86. <dependency>
  87. <groupId>mysql</groupId>
  88. <artifactId>mysql-connector-java</artifactId>
  89. <version>8.0.11</version>
  90. </dependency>
  91. -->
  92. <!--druid 数据源监控-->
  93. <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
  94. <dependency>
  95. <groupId>com.alibaba</groupId>
  96. <artifactId>druid-spring-boot-starter</artifactId>
  97. <version>1.1.10</version>
  98. </dependency>
  99. <!-- shiro权限 -->
  100. <dependency>
  101. <groupId>org.apache.shiro</groupId>
  102. <artifactId>shiro-spring</artifactId>
  103. <version>1.4.0</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-starter-aop</artifactId>
  108. </dependency>
  109. <!-- shiro权限支持thymeleaf -->
  110. <dependency>
  111. <groupId>com.github.theborakompanioni</groupId>
  112. <artifactId>thymeleaf-extras-shiro</artifactId>
  113. <version>2.0.0</version>
  114. </dependency>
  115. <!-- thymeleaf模版 -->
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  119. </dependency>
  120. <!--常用工具类 -->
  121. <dependency>
  122. <groupId>org.apache.commons</groupId>
  123. <artifactId>commons-lang3</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>commons-lang</groupId>
  127. <artifactId>commons-lang</artifactId>
  128. <version>2.4</version>
  129. </dependency>
  130. <!--io常用工具类 -->
  131. <dependency>
  132. <groupId>commons-io</groupId>
  133. <artifactId>commons-io</artifactId>
  134. <version>${commons.io.version}</version>
  135. </dependency>
  136. <!--文件上传工具类 -->
  137. <dependency>
  138. <groupId>commons-fileupload</groupId>
  139. <artifactId>commons-fileupload</artifactId>
  140. <version>${commons.fileupload.version}</version>
  141. </dependency>
  142. <!-- 热部署 -->
  143. <dependency>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-devtools</artifactId>
  146. <optional>false</optional>
  147. </dependency>
  148. <!-- Hutool是一个Java工具包 http://hutool.cn/ -->
  149. <dependency>
  150. <groupId>cn.hutool</groupId>
  151. <artifactId>hutool-all</artifactId>
  152. <version>4.1.12</version>
  153. </dependency>
  154. <!-- google验证码 -->
  155. <dependency>
  156. <groupId>com.github.penggle</groupId>
  157. <artifactId>kaptcha</artifactId>
  158. <version>2.3.2</version>
  159. </dependency>
  160. <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
  161. <dependency>
  162. <groupId>org.apache.velocity</groupId>
  163. <artifactId>velocity</artifactId>
  164. <version>1.7</version>
  165. </dependency>
  166. <!-- websocket -->
  167. <dependency>
  168. <groupId>org.springframework.boot</groupId>
  169. <artifactId>spring-boot-starter-websocket</artifactId>
  170. </dependency>
  171. <!-- 配置文件读取 -->
  172. <dependency>
  173. <groupId>commons-configuration</groupId>
  174. <artifactId>commons-configuration</artifactId>
  175. <version>1.10</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.springframework.boot</groupId>
  179. <artifactId>spring-boot-configuration-processor</artifactId>
  180. <optional>true</optional>
  181. </dependency>
  182. <!-- mail -->
  183. <dependency>
  184. <groupId>javax.mail</groupId>
  185. <artifactId>mail</artifactId>
  186. <version>1.4.7</version>
  187. </dependency>
  188. <!--百度UEditor依赖的jar包 -->
  189. <dependency>
  190. <groupId>org.json</groupId>
  191. <artifactId>json</artifactId>
  192. <version>20180813</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>ueditor</groupId>
  196. <artifactId>1.4.3</artifactId>
  197. <version>1.8</version>
  198. <scope>system</scope>
  199. <systemPath>${basedir}/lib/ueditor-1.1.2.jar</systemPath>
  200. </dependency>
  201. <!--quartz依赖-->
  202. <dependency>
  203. <groupId>org.quartz-scheduler</groupId>
  204. <artifactId>quartz</artifactId>
  205. </dependency>
  206. <!-- 七牛云 -->
  207. <dependency>
  208. <groupId>com.qiniu</groupId>
  209. <artifactId>qiniu-java-sdk</artifactId>
  210. <version>[7.2.0, 7.2.99]</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.alibaba</groupId>
  214. <artifactId>fastjson</artifactId>
  215. <version>1.2.7</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.projectlombok</groupId>
  219. <artifactId>lombok</artifactId>
  220. <version>1.18.12</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.apache.tomcat</groupId>
  224. <artifactId>tomcat-juli</artifactId>
  225. <version>${tomcat.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.apache.tomcat.embed</groupId>
  229. <artifactId>tomcat-embed-core</artifactId>
  230. <version>${tomcat.version}</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.apache.tomcat.embed</groupId>
  234. <artifactId>tomcat-embed-el</artifactId>
  235. <version>${tomcat.version}</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.apache.tomcat.embed</groupId>
  239. <artifactId>tomcat-embed-websocket</artifactId>
  240. <version>${tomcat.version}</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>redis.clients</groupId>
  244. <artifactId>jedis</artifactId>
  245. <version>3.2.0</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>org.springframework.boot</groupId>
  249. <artifactId>spring-boot-starter-data-redis</artifactId>
  250. </dependency>
  251. </dependencies>
  252. <build>
  253. <!-- 打包不带版本号 -->
  254. <!-- <finalName>Gyee_Frame_NX</finalName> -->
  255. <plugins>
  256. <!-- JUnit 配置 -->
  257. <plugin>
  258. <groupId>org.apache.maven.plugins</groupId>
  259. <artifactId>maven-surefire-plugin</artifactId>
  260. <!--忽略测试启动类 -->
  261. <configuration>
  262. <skip>true</skip>
  263. </configuration>
  264. </plugin>
  265. <!-- generator 配置-->
  266. <plugin>
  267. <groupId>org.mybatis.generator</groupId>
  268. <artifactId>mybatis-generator-maven-plugin</artifactId>
  269. <version>1.3.7</version>
  270. <configuration>
  271. <!--允许移动生成的文件 -->
  272. <verbose>false</verbose>
  273. <!--允许覆盖生成的文件 -->
  274. <overwrite>false</overwrite>
  275. <!--配置文件的路径 -->
  276. <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
  277. </configuration>
  278. <dependencies>
  279. <!-- <dependency>-->
  280. <!-- <groupId>mysql</groupId>-->
  281. <!-- <artifactId>mysql-connector-java</artifactId>-->
  282. <!-- <version>${mysql.version}</version>-->
  283. <!-- </dependency>-->
  284. <dependency>
  285. <groupId>com.oracle</groupId>
  286. <artifactId>ojdbc6</artifactId>
  287. <version>11.2.0.3</version>
  288. </dependency>
  289. <!-- <dependency>-->
  290. <!-- <groupId>com.microsoft.sqlserver</groupId>-->
  291. <!-- <artifactId>sqljdbc4</artifactId>-->
  292. <!-- <version>4.0</version>-->
  293. <!-- </dependency>-->
  294. </dependencies>
  295. </plugin>
  296. <!-- jar运行配置 -->
  297. <plugin>
  298. <groupId>org.springframework.boot</groupId>
  299. <artifactId>spring-boot-maven-plugin</artifactId>
  300. </plugin>
  301. </plugins>
  302. </build>
  303. <!-- 阿里云maven仓库 -->
  304. <repositories>
  305. <repository>
  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. </repository>
  313. </repositories>
  314. <pluginRepositories>
  315. <pluginRepository>
  316. <id>public</id>
  317. <name>aliyun nexus</name>
  318. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  319. <releases>
  320. <enabled>true</enabled>
  321. </releases>
  322. <snapshots>
  323. <enabled>false</enabled>
  324. </snapshots>
  325. </pluginRepository>
  326. </pluginRepositories>
  327. </project>