pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>ruoyi</artifactId>
  7. <groupId>com.ruoyi</groupId>
  8. <version>4.7.6</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>ruoyi-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- SpringBoot集成thymeleaf模板 -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  21. </dependency>
  22. <!-- spring-boot-devtools -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-devtools</artifactId>
  26. <scope>runtime</scope>
  27. <optional>true</optional> <!-- 表示依赖不会传递 -->
  28. </dependency>
  29. <!-- swagger3-->
  30. <dependency>
  31. <groupId>io.springfox</groupId>
  32. <artifactId>springfox-boot-starter</artifactId>
  33. </dependency>
  34. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  35. <dependency>
  36. <groupId>io.swagger</groupId>
  37. <artifactId>swagger-models</artifactId>
  38. <version>1.6.2</version>
  39. </dependency>
  40. <!-- Mysql驱动包 -->
  41. <dependency>
  42. <groupId>mysql</groupId>
  43. <artifactId>mysql-connector-java</artifactId>
  44. </dependency>
  45. <!-- 核心模块-->
  46. <dependency>
  47. <groupId>com.ruoyi</groupId>
  48. <artifactId>ruoyi-framework</artifactId>
  49. </dependency>
  50. <!-- 定时任务-->
  51. <dependency>
  52. <groupId>com.ruoyi</groupId>
  53. <artifactId>ruoyi-quartz</artifactId>
  54. </dependency>
  55. <!-- 代码生成-->
  56. <dependency>
  57. <groupId>com.ruoyi</groupId>
  58. <artifactId>ruoyi-generator</artifactId>
  59. </dependency>
  60. <!-- 集成积木报表-->
  61. <dependency>
  62. <groupId>org.jeecgframework.jimureport</groupId>
  63. <artifactId>jimureport-spring-boot-starter</artifactId>
  64. <version>1.5.9</version>
  65. <exclusions>
  66. <exclusion>
  67. <groupId>com.alibaba</groupId>
  68. <artifactId>druid-spring-boot-starter</artifactId>
  69. </exclusion>
  70. <exclusion>
  71. <groupId>com.alibaba</groupId>
  72. <artifactId>druid</artifactId>
  73. </exclusion>
  74. <exclusion>
  75. <groupId>org.eclipse.jetty</groupId>
  76. <artifactId>jetty-runner</artifactId>
  77. </exclusion>
  78. <exclusion>
  79. <groupId>org.slf4j</groupId>
  80. <artifactId>slf4j-log4j12</artifactId>
  81. </exclusion>
  82. </exclusions>
  83. </dependency>
  84. <!--db2-->
  85. <dependency>
  86. <groupId>com.ibm.db2</groupId>
  87. <artifactId>jcc</artifactId>
  88. <version>11.5.0.0</version>
  89. <scope>runtime</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.jinzhou.hive</groupId>
  93. <artifactId>inceptor-sdk-transwarp</artifactId>
  94. <version>5.1.0</version>
  95. <exclusions>
  96. <exclusion>
  97. <groupId>org.apache.hive</groupId>
  98. <artifactId>hive-sdk</artifactId>
  99. </exclusion>
  100. <exclusion>
  101. <groupId>io.transwarp.inceptor</groupId>
  102. <artifactId>inceptor-sqlparser4j</artifactId>
  103. </exclusion>
  104. <exclusion>
  105. <groupId>io.transwarp.inceptor</groupId>
  106. <artifactId>inceptor-formatter</artifactId>
  107. </exclusion>
  108. <exclusion>
  109. <groupId>org.apache.hadoop</groupId>
  110. <artifactId>hadoop-mapreduce-client-core</artifactId>
  111. </exclusion>
  112. </exclusions>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.oracle</groupId>
  116. <artifactId>ojdbc6</artifactId>
  117. <version>11.2.0.3</version>
  118. </dependency>
  119. <!-- <dependency>
  120. <groupId>org.apache.hive</groupId>
  121. <artifactId>hive-jdbc</artifactId>
  122. <version>3.1.2</version>
  123. <exclusions>
  124. <exclusion>
  125. <groupId>org.eclipse.jetty.aggregate</groupId>
  126. <artifactId>*</artifactId>
  127. </exclusion>
  128. <exclusion>
  129. <groupId>jdk.tools</groupId>
  130. <artifactId>jdk.tools</artifactId>
  131. </exclusion>
  132. <exclusion>
  133. <groupId>org.slf4j</groupId>
  134. <artifactId>slf4j-log4j12</artifactId>
  135. </exclusion>
  136. <exclusion>
  137. <groupId>org.apache.hive</groupId>
  138. <artifactId>hive-shims</artifactId>
  139. </exclusion>
  140. <exclusion>
  141. <artifactId>jasper-compiler</artifactId>
  142. <groupId>tomcat</groupId>
  143. </exclusion>
  144. <exclusion>
  145. <artifactId>jasper-runtime</artifactId>
  146. <groupId>tomcat</groupId>
  147. </exclusion>
  148. <exclusion>
  149. <artifactId>servlet-api</artifactId>
  150. <groupId>javax.servlet</groupId>
  151. </exclusion>
  152. <exclusion>
  153. <artifactId>log4j-slf4j-impl</artifactId>
  154. <groupId>org.apache.logging.log4j</groupId>
  155. </exclusion>
  156. <exclusion>
  157. <artifactId>slf4j-log4j12</artifactId>
  158. <groupId>org.slf4j</groupId>
  159. </exclusion>
  160. <exclusion>
  161. <groupId>tomcat</groupId>
  162. <artifactId>*</artifactId>
  163. </exclusion>
  164. <exclusion>
  165. <groupId>ch.qos.logback</groupId>
  166. <artifactId>logback-classic</artifactId>
  167. </exclusion>
  168. <exclusion>
  169. <groupId>org.eclipse.jetty.orbit</groupId>
  170. <artifactId>*</artifactId>
  171. </exclusion>
  172. <exclusion>
  173. <groupId>javax.servlet</groupId>
  174. <artifactId>servlet-api</artifactId>
  175. </exclusion>
  176. <exclusion>
  177. <groupId>org.mortbay.jetty</groupId>
  178. <artifactId>*</artifactId>
  179. </exclusion>
  180. <exclusion>
  181. <groupId>org.eclipse.jetty</groupId>
  182. <artifactId>jetty-runner</artifactId>
  183. </exclusion>
  184. </exclusions>
  185. </dependency>-->
  186. </dependencies>
  187. <build>
  188. <plugins>
  189. <plugin>
  190. <groupId>org.springframework.boot</groupId>
  191. <artifactId>spring-boot-maven-plugin</artifactId>
  192. <version>2.1.1.RELEASE</version>
  193. <configuration>
  194. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  195. </configuration>
  196. <executions>
  197. <execution>
  198. <goals>
  199. <goal>repackage</goal>
  200. </goals>
  201. </execution>
  202. </executions>
  203. </plugin>
  204. <plugin>
  205. <groupId>org.apache.maven.plugins</groupId>
  206. <artifactId>maven-war-plugin</artifactId>
  207. <version>3.0.0</version>
  208. <configuration>
  209. <failOnMissingWebXml>false</failOnMissingWebXml>
  210. <warName>${project.artifactId}</warName>
  211. </configuration>
  212. </plugin>
  213. <!-- YUI Compressor (CSS/JS压缩)
  214. <plugin>
  215. <groupId>net.alchim31.maven</groupId>
  216. <artifactId>yuicompressor-maven-plugin</artifactId>
  217. <version>1.5.1</version>
  218. <executions>
  219. <execution>
  220. <phase>prepare-package</phase>
  221. <goals>
  222. <goal>compress</goal>
  223. </goals>
  224. </execution>
  225. </executions>
  226. <configuration>
  227. <encoding>UTF-8</encoding>
  228. <jswarn>false</jswarn>
  229. <nosuffix>true</nosuffix>
  230. <linebreakpos>50000</linebreakpos>
  231. <sourceDirectory>src/main/resources/static</sourceDirectory>
  232. <force>true</force>
  233. <includes>
  234. <include>**/*.js</include>
  235. <include>**/*.css</include>
  236. </includes>
  237. <excludes>
  238. <exclude>**/*.min.js</exclude>
  239. <exclude>**/*.min.css</exclude>
  240. <exclude>**/fileinput.js</exclude>
  241. <exclude>**/bootstrap-table/**</exclude>
  242. </excludes>
  243. </configuration>
  244. </plugin> -->
  245. </plugins>
  246. <finalName>${project.artifactId}</finalName>
  247. </build>
  248. </project>