pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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.6.2</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>power-prediction-project</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. <optional>true</optional> <!-- 表示依赖不会传递 -->
  27. </dependency>
  28. <!-- swagger3-->
  29. <dependency>
  30. <groupId>io.springfox</groupId>
  31. <artifactId>springfox-boot-starter</artifactId>
  32. </dependency>
  33. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  34. <dependency>
  35. <groupId>io.swagger</groupId>
  36. <artifactId>swagger-models</artifactId>
  37. <version>1.6.2</version>
  38. </dependency>
  39. <!--oracle驱动-->
  40. <!-- https://mvnrepository.com/artifact/com.oracle.database.jdbc/ojdbc8 -->
  41. <dependency>
  42. <groupId>com.oracle.database.jdbc</groupId>
  43. <artifactId>ojdbc8</artifactId>
  44. <version>19.7.0.0</version>
  45. </dependency>
  46. <!-- oracle字符集 https://mvnrepository.com/artifact/cn.easyproject/orai18n -->
  47. <dependency>
  48. <groupId>cn.easyproject</groupId>
  49. <artifactId>orai18n</artifactId>
  50. <version>12.1.0.2.0</version>
  51. </dependency>
  52. <!-- 核心模块-->
  53. <dependency>
  54. <groupId>com.ruoyi</groupId>
  55. <artifactId>ruoyi-framework</artifactId>
  56. </dependency>
  57. <!-- 定时任务-->
  58. <dependency>
  59. <groupId>com.ruoyi</groupId>
  60. <artifactId>ruoyi-quartz</artifactId>
  61. </dependency>
  62. <!-- 代码生成-->
  63. <dependency>
  64. <groupId>com.ruoyi</groupId>
  65. <artifactId>ruoyi-generator</artifactId>
  66. </dependency>
  67. <!-- 预测模块-->
  68. <dependency>
  69. <groupId>com.ruoyi</groupId>
  70. <artifactId>ruoyi-predict</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>cn.hutool</groupId>
  74. <artifactId>hutool-all</artifactId>
  75. <version>5.7.3</version>
  76. </dependency>
  77. <!-- knife4j ui-->
  78. <dependency>
  79. <groupId>com.github.xiaoymin</groupId>
  80. <artifactId>knife4j-spring-ui</artifactId>
  81. <version>2.0.8</version>
  82. </dependency>
  83. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-math3 -->
  84. <dependency>
  85. <groupId>org.apache.commons</groupId>
  86. <artifactId>commons-math3</artifactId>
  87. <version>3.6.1</version>
  88. </dependency>
  89. </dependencies>
  90. <build>
  91. <plugins>
  92. <plugin>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-maven-plugin</artifactId>
  95. <version>2.1.1.RELEASE</version>
  96. <configuration>
  97. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  98. </configuration>
  99. <executions>
  100. <execution>
  101. <goals>
  102. <goal>repackage</goal>
  103. </goals>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-war-plugin</artifactId>
  110. <version>3.0.0</version>
  111. <configuration>
  112. <failOnMissingWebXml>false</failOnMissingWebXml>
  113. <warName>${project.artifactId}</warName>
  114. </configuration>
  115. </plugin>
  116. <!-- YUI Compressor (CSS/JS压缩)
  117. <plugin>
  118. <groupId>net.alchim31.maven</groupId>
  119. <artifactId>yuicompressor-maven-plugin</artifactId>
  120. <version>1.5.1</version>
  121. <executions>
  122. <execution>
  123. <phase>prepare-package</phase>
  124. <goals>
  125. <goal>compress</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. <configuration>
  130. <encoding>UTF-8</encoding>
  131. <jswarn>false</jswarn>
  132. <nosuffix>true</nosuffix>
  133. <linebreakpos>50000</linebreakpos>
  134. <sourceDirectory>src/main/resources/static</sourceDirectory>
  135. <force>true</force>
  136. <includes>
  137. <include>**/*.js</include>
  138. <include>**/*.css</include>
  139. </includes>
  140. <excludes>
  141. <exclude>**/*.min.js</exclude>
  142. <exclude>**/*.min.css</exclude>
  143. <exclude>**/fileinput.js</exclude>
  144. <exclude>**/bootstrap-table/**</exclude>
  145. </excludes>
  146. </configuration>
  147. </plugin> -->
  148. </plugins>
  149. <finalName>${project.artifactId}</finalName>
  150. </build>
  151. </project>