pom.xml 11 KB

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