pom.xml 9.1 KB

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