pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.jiayue.cpp</groupId>
  7. <artifactId>cpp</artifactId>
  8. <version>3.8.8</version>
  9. <name>cpp</name>
  10. <description>集中功率预测</description>
  11. <properties>
  12. <cpp.version>3.8.8</cpp.version>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <java.version>1.8</java.version>
  16. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  17. <spring-framework.version>5.3.33</spring-framework.version>
  18. <spring-security.version>5.7.12</spring-security.version>
  19. <druid.version>1.2.23</druid.version>
  20. <bitwalker.version>1.21</bitwalker.version>
  21. <swagger.version>3.0.0</swagger.version>
  22. <kaptcha.version>2.3.3</kaptcha.version>
  23. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  24. <fastjson.version>2.0.43</fastjson.version>
  25. <oshi.version>6.6.3</oshi.version>
  26. <commons.io.version>2.13.0</commons.io.version>
  27. <poi.version>4.1.2</poi.version>
  28. <velocity.version>2.3</velocity.version>
  29. <jwt.version>0.9.1</jwt.version>
  30. </properties>
  31. <!-- 依赖声明 -->
  32. <dependencyManagement>
  33. <dependencies>
  34. <!-- SpringFramework的依赖配置-->
  35. <dependency>
  36. <groupId>org.springframework</groupId>
  37. <artifactId>spring-framework-bom</artifactId>
  38. <version>${spring-framework.version}</version>
  39. <type>pom</type>
  40. <scope>import</scope>
  41. </dependency>
  42. <!-- SpringSecurity的依赖配置-->
  43. <dependency>
  44. <groupId>org.springframework.security</groupId>
  45. <artifactId>spring-security-bom</artifactId>
  46. <version>${spring-security.version}</version>
  47. <type>pom</type>
  48. <scope>import</scope>
  49. </dependency>
  50. <!-- SpringBoot的依赖配置-->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-dependencies</artifactId>
  54. <version>2.5.15</version>
  55. <type>pom</type>
  56. <scope>import</scope>
  57. </dependency>
  58. <!-- 阿里数据库连接池 -->
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>druid-spring-boot-starter</artifactId>
  62. <version>${druid.version}</version>
  63. </dependency>
  64. <!-- 解析客户端操作系统、浏览器等 -->
  65. <dependency>
  66. <groupId>eu.bitwalker</groupId>
  67. <artifactId>UserAgentUtils</artifactId>
  68. <version>${bitwalker.version}</version>
  69. </dependency>
  70. <!-- pagehelper 分页插件 -->
  71. <dependency>
  72. <groupId>com.github.pagehelper</groupId>
  73. <artifactId>pagehelper-spring-boot-starter</artifactId>
  74. <version>${pagehelper.boot.version}</version>
  75. </dependency>
  76. <!-- 获取系统信息 -->
  77. <dependency>
  78. <groupId>com.github.oshi</groupId>
  79. <artifactId>oshi-core</artifactId>
  80. <version>${oshi.version}</version>
  81. </dependency>
  82. <!-- Swagger3依赖 -->
  83. <dependency>
  84. <groupId>io.springfox</groupId>
  85. <artifactId>springfox-boot-starter</artifactId>
  86. <version>${swagger.version}</version>
  87. <exclusions>
  88. <exclusion>
  89. <groupId>io.swagger</groupId>
  90. <artifactId>swagger-models</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. <!-- io常用工具类 -->
  95. <dependency>
  96. <groupId>commons-io</groupId>
  97. <artifactId>commons-io</artifactId>
  98. <version>${commons.io.version}</version>
  99. </dependency>
  100. <!-- excel工具 -->
  101. <dependency>
  102. <groupId>org.apache.poi</groupId>
  103. <artifactId>poi-ooxml</artifactId>
  104. <version>${poi.version}</version>
  105. </dependency>
  106. <!-- velocity代码生成使用模板 -->
  107. <dependency>
  108. <groupId>org.apache.velocity</groupId>
  109. <artifactId>velocity-engine-core</artifactId>
  110. <version>${velocity.version}</version>
  111. </dependency>
  112. <!-- 阿里JSON解析器 -->
  113. <dependency>
  114. <groupId>com.alibaba.fastjson2</groupId>
  115. <artifactId>fastjson2</artifactId>
  116. <version>${fastjson.version}</version>
  117. </dependency>
  118. <!-- Token生成与解析-->
  119. <dependency>
  120. <groupId>io.jsonwebtoken</groupId>
  121. <artifactId>jjwt</artifactId>
  122. <version>${jwt.version}</version>
  123. </dependency>
  124. <!-- 验证码 -->
  125. <dependency>
  126. <groupId>pro.fessional</groupId>
  127. <artifactId>kaptcha</artifactId>
  128. <version>${kaptcha.version}</version>
  129. </dependency>
  130. <!-- 定时任务-->
  131. <dependency>
  132. <groupId>com.jiayue.cpp</groupId>
  133. <artifactId>cpp-quartz</artifactId>
  134. <version>${cpp.version}</version>
  135. </dependency>
  136. <!-- 代码生成-->
  137. <dependency>
  138. <groupId>com.jiayue.cpp</groupId>
  139. <artifactId>cpp-generator</artifactId>
  140. <version>${cpp.version}</version>
  141. </dependency>
  142. <!-- 核心模块-->
  143. <dependency>
  144. <groupId>com.jiayue.cpp</groupId>
  145. <artifactId>cpp-framework</artifactId>
  146. <version>${cpp.version}</version>
  147. </dependency>
  148. <!-- 系统模块-->
  149. <dependency>
  150. <groupId>com.jiayue.cpp</groupId>
  151. <artifactId>cpp-system</artifactId>
  152. <version>${cpp.version}</version>
  153. </dependency>
  154. <!-- 通用工具-->
  155. <dependency>
  156. <groupId>com.jiayue.cpp</groupId>
  157. <artifactId>cpp-common</artifactId>
  158. <version>${cpp.version}</version>
  159. </dependency>
  160. </dependencies>
  161. </dependencyManagement>
  162. <modules>
  163. <module>cpp-admin</module>
  164. <module>cpp-framework</module>
  165. <module>cpp-system</module>
  166. <module>cpp-quartz</module>
  167. <module>cpp-generator</module>
  168. <module>cpp-common</module>
  169. </modules>
  170. <packaging>pom</packaging>
  171. <build>
  172. <plugins>
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-compiler-plugin</artifactId>
  176. <version>3.1</version>
  177. <configuration>
  178. <source>${java.version}</source>
  179. <target>${java.version}</target>
  180. <encoding>${project.build.sourceEncoding}</encoding>
  181. </configuration>
  182. </plugin>
  183. </plugins>
  184. </build>
  185. <repositories>
  186. <repository>
  187. <id>public</id>
  188. <name>aliyun nexus</name>
  189. <url>https://maven.aliyun.com/repository/public</url>
  190. <releases>
  191. <enabled>true</enabled>
  192. </releases>
  193. </repository>
  194. </repositories>
  195. <pluginRepositories>
  196. <pluginRepository>
  197. <id>public</id>
  198. <name>aliyun nexus</name>
  199. <url>https://maven.aliyun.com/repository/public</url>
  200. <releases>
  201. <enabled>true</enabled>
  202. </releases>
  203. <snapshots>
  204. <enabled>false</enabled>
  205. </snapshots>
  206. </pluginRepository>
  207. </pluginRepositories>
  208. </project>