pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  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.miaxis</groupId>
  7. <artifactId>hzgzpt</artifactId>
  8. <version>3.2.1</version>
  9. <name>hzgzpt</name>
  10. <description>管理系统</description>
  11. <properties>
  12. <ruoyi.version>3.2.1</ruoyi.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. <druid.version>1.2.2</druid.version>
  18. <bitwalker.version>1.21</bitwalker.version>
  19. <swagger.version>2.9.2</swagger.version>
  20. <kaptcha.version>2.3.2</kaptcha.version>
  21. <pagehelper.boot.version>1.3.0</pagehelper.boot.version>
  22. <fastjson.version>1.2.74</fastjson.version>
  23. <oshi.version>5.3.6</oshi.version>
  24. <jna.version>5.6.0</jna.version>
  25. <commons.io.version>2.5</commons.io.version>
  26. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  27. <poi.version>4.1.2</poi.version>
  28. <velocity.version>1.7</velocity.version>
  29. <jwt.version>0.9.1</jwt.version>
  30. <mybatis-plus.version>3.4.1</mybatis-plus.version>
  31. <hutool.version>5.4.0</hutool.version>
  32. <com.aliyun.oss.version>2.8.3</com.aliyun.oss.version>
  33. </properties>
  34. <!-- 依赖声明 -->
  35. <dependencyManagement>
  36. <dependencies>
  37. <!-- SpringBoot的依赖配置-->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-dependencies</artifactId>
  41. <version>2.1.18.RELEASE</version>
  42. <type>pom</type>
  43. <scope>import</scope>
  44. </dependency>
  45. <!--阿里数据库连接池 -->
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>druid-spring-boot-starter</artifactId>
  49. <version>${druid.version}</version>
  50. </dependency>
  51. <!-- 解析客户端操作系统、浏览器等 -->
  52. <dependency>
  53. <groupId>eu.bitwalker</groupId>
  54. <artifactId>UserAgentUtils</artifactId>
  55. <version>${bitwalker.version}</version>
  56. </dependency>
  57. <!-- pagehelper 分页插件 -->
  58. <dependency>
  59. <groupId>com.github.pagehelper</groupId>
  60. <artifactId>pagehelper-spring-boot-starter</artifactId>
  61. <version>${pagehelper.boot.version}</version>
  62. <exclusions>
  63. <exclusion>
  64. <groupId>org.mybatis</groupId>
  65. <artifactId>mybatis</artifactId>
  66. </exclusion>
  67. </exclusions>
  68. </dependency>
  69. <!-- 获取系统信息 -->
  70. <dependency>
  71. <groupId>com.github.oshi</groupId>
  72. <artifactId>oshi-core</artifactId>
  73. <version>${oshi.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>net.java.dev.jna</groupId>
  77. <artifactId>jna</artifactId>
  78. <version>${jna.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>net.java.dev.jna</groupId>
  82. <artifactId>jna-platform</artifactId>
  83. <version>${jna.version}</version>
  84. </dependency>
  85. <!-- swagger2-->
  86. <dependency>
  87. <groupId>io.springfox</groupId>
  88. <artifactId>springfox-swagger2</artifactId>
  89. <version>${swagger.version}</version>
  90. <exclusions>
  91. <exclusion>
  92. <groupId>io.swagger</groupId>
  93. <artifactId>swagger-annotations</artifactId>
  94. </exclusion>
  95. <exclusion>
  96. <groupId>io.swagger</groupId>
  97. <artifactId>swagger-models</artifactId>
  98. </exclusion>
  99. </exclusions>
  100. </dependency>
  101. <!-- swagger2-UI-->
  102. <dependency>
  103. <groupId>io.springfox</groupId>
  104. <artifactId>springfox-swagger-ui</artifactId>
  105. <version>${swagger.version}</version>
  106. </dependency>
  107. <!--io常用工具类 -->
  108. <dependency>
  109. <groupId>commons-io</groupId>
  110. <artifactId>commons-io</artifactId>
  111. <version>${commons.io.version}</version>
  112. </dependency>
  113. <!--文件上传工具类 -->
  114. <dependency>
  115. <groupId>commons-fileupload</groupId>
  116. <artifactId>commons-fileupload</artifactId>
  117. <version>${commons.fileupload.version}</version>
  118. </dependency>
  119. <!-- excel工具 -->
  120. <dependency>
  121. <groupId>org.apache.poi</groupId>
  122. <artifactId>poi-ooxml</artifactId>
  123. <version>${poi.version}</version>
  124. </dependency>
  125. <!--velocity代码生成使用模板 -->
  126. <dependency>
  127. <groupId>org.apache.velocity</groupId>
  128. <artifactId>velocity</artifactId>
  129. <version>${velocity.version}</version>
  130. </dependency>
  131. <!-- 阿里JSON解析器 -->
  132. <dependency>
  133. <groupId>com.alibaba</groupId>
  134. <artifactId>fastjson</artifactId>
  135. <version>${fastjson.version}</version>
  136. </dependency>
  137. <!--Token生成与解析-->
  138. <dependency>
  139. <groupId>io.jsonwebtoken</groupId>
  140. <artifactId>jjwt</artifactId>
  141. <version>${jwt.version}</version>
  142. </dependency>
  143. <!--验证码 -->
  144. <dependency>
  145. <groupId>com.github.penggle</groupId>
  146. <artifactId>kaptcha</artifactId>
  147. <version>${kaptcha.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.baomidou</groupId>
  151. <artifactId>mybatis-plus-boot-starter</artifactId>
  152. <version>${mybatis-plus.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.baomidou</groupId>
  156. <artifactId>mybatis-plus-extension</artifactId>
  157. <version>${mybatis-plus.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>cn.hutool</groupId>
  161. <artifactId>hutool-all</artifactId>
  162. <version>${hutool.version}</version>
  163. </dependency>
  164. <!--&lt;!&ndash; 定时任务&ndash;&gt;-->
  165. <!--<dependency>-->
  166. <!--<groupId>com.miaxis</groupId>-->
  167. <!--<artifactId>hzgzpt-quartz</artifactId>-->
  168. <!--<version>${miaxis.version}</version>-->
  169. <!--</dependency>-->
  170. <!---->
  171. <!-- 代码生成-->
  172. <dependency>
  173. <groupId>com.miaxis</groupId>
  174. <artifactId>hzgzpt-generator</artifactId>
  175. <version>${ruoyi.version}</version>
  176. </dependency>
  177. <!---->
  178. <!-- 核心模块-->
  179. <dependency>
  180. <groupId>com.miaxis</groupId>
  181. <artifactId>hzgzpt-framework</artifactId>
  182. <version>${ruoyi.version}</version>
  183. </dependency>
  184. <!-- 系统模块-->
  185. <dependency>
  186. <groupId>com.miaxis</groupId>
  187. <artifactId>hzgzpt-system</artifactId>
  188. <version>${ruoyi.version}</version>
  189. </dependency>
  190. <!-- 通用工具-->
  191. <dependency>
  192. <groupId>com.miaxis</groupId>
  193. <artifactId>hzgzpt-common</artifactId>
  194. <version>${ruoyi.version}</version>
  195. </dependency>
  196. <!--aliyunOSS OSS-->
  197. <dependency>
  198. <groupId>com.aliyun.oss</groupId>
  199. <artifactId>aliyun-sdk-oss</artifactId>
  200. <version>${com.aliyun.oss.version}</version>
  201. </dependency>
  202. </dependencies>
  203. </dependencyManagement>
  204. <modules>
  205. <module>hzgzpt-admin</module>
  206. <module>hzgzpt-framework</module>
  207. <module>hzgzpt-system</module>
  208. <!--<module>hzgzpt-quartz</module>-->
  209. <module>hzgzpt-generator</module>
  210. <module>hzgzpt-common</module>
  211. <module>hzgzpt-service-pc</module>
  212. <module>hzgzpt-service-app</module>
  213. </modules>
  214. <packaging>pom</packaging>
  215. <dependencies>
  216. </dependencies>
  217. <build>
  218. <plugins>
  219. <plugin>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-compiler-plugin</artifactId>
  222. <version>3.1</version>
  223. <configuration>
  224. <source>${java.version}</source>
  225. <target>${java.version}</target>
  226. <encoding>${project.build.sourceEncoding}</encoding>
  227. </configuration>
  228. </plugin>
  229. </plugins>
  230. <resources>
  231. <resource>
  232. <!--打包该目录下的 application.yml -->
  233. <directory>src/main/resources</directory>
  234. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  235. <filtering>true</filtering>
  236. </resource>
  237. </resources>
  238. </build>
  239. <repositories>
  240. <repository>
  241. <id>public</id>
  242. <name>aliyun nexus</name>
  243. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  244. <releases>
  245. <enabled>true</enabled>
  246. </releases>
  247. </repository>
  248. </repositories>
  249. <pluginRepositories>
  250. <pluginRepository>
  251. <id>public</id>
  252. <name>aliyun nexus</name>
  253. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  254. <releases>
  255. <enabled>true</enabled>
  256. </releases>
  257. <snapshots>
  258. <enabled>false</enabled>
  259. </snapshots>
  260. </pluginRepository>
  261. </pluginRepositories>
  262. <profiles>
  263. <profile>
  264. <id>dev</id>
  265. <properties>
  266. <!-- 环境标识,需要与配置文件的名称相对应 -->
  267. <profiles.active>dev</profiles.active>
  268. <logging.level>debug</logging.level>
  269. </properties>
  270. <activation>
  271. <!-- 默认环境 -->
  272. <activeByDefault>true</activeByDefault>
  273. </activation>
  274. </profile>
  275. <profile>
  276. <id>prod</id>
  277. <properties>
  278. <profiles.active>prod</profiles.active>
  279. <logging.level>warn</logging.level>
  280. </properties>
  281. </profile>
  282. </profiles>
  283. </project>