pom.xml 11 KB

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