pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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.ozs</groupId>
  7. <artifactId>base</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>base</name>
  10. <description>基础管理系统</description>
  11. <properties>
  12. <base.version>1.0-SNAPSHOT</base.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.15</druid.version>
  18. <bitwalker.version>1.21</bitwalker.version>
  19. <kaptcha.version>2.3.3</kaptcha.version>
  20. <pagehelper.boot.version>1.4.6</pagehelper.boot.version>
  21. <fastjson.version>2.0.20</fastjson.version>
  22. <oshi.version>6.4.0</oshi.version>
  23. <commons.io.version>2.11.0</commons.io.version>
  24. <commons.fileupload.version>1.4</commons.fileupload.version>
  25. <commons.collections.version>3.2.2</commons.collections.version>
  26. <poi.version>4.1.2</poi.version>
  27. <velocity.version>2.3</velocity.version>
  28. <jwt.version>0.9.1</jwt.version>
  29. <mybatis-plus.version>3.5.1</mybatis-plus.version>
  30. <mybatis-plus-join.version>1.1.3</mybatis-plus-join.version>
  31. </properties>
  32. <!-- 依赖声明 -->
  33. <dependencyManagement>
  34. <dependencies>
  35. <!-- SpringBoot的依赖配置-->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-dependencies</artifactId>
  39. <version>2.5.14</version>
  40. <type>pom</type>
  41. <scope>import</scope>
  42. </dependency>
  43. <!-- 阿里数据库连接池 -->
  44. <dependency>
  45. <groupId>com.alibaba</groupId>
  46. <artifactId>druid-spring-boot-starter</artifactId>
  47. <version>${druid.version}</version>
  48. </dependency>
  49. <!-- 解析客户端操作系统、浏览器等 -->
  50. <dependency>
  51. <groupId>eu.bitwalker</groupId>
  52. <artifactId>UserAgentUtils</artifactId>
  53. <version>${bitwalker.version}</version>
  54. </dependency>
  55. <!-- pagehelper 分页插件 -->
  56. <dependency>
  57. <groupId>com.github.pagehelper</groupId>
  58. <artifactId>pagehelper-spring-boot-starter</artifactId>
  59. <version>${pagehelper.boot.version}</version>
  60. </dependency>
  61. <!-- 获取系统信息 -->
  62. <dependency>
  63. <groupId>com.github.oshi</groupId>
  64. <artifactId>oshi-core</artifactId>
  65. <version>${oshi.version}</version>
  66. </dependency>
  67. <!-- io常用工具类 -->
  68. <dependency>
  69. <groupId>commons-io</groupId>
  70. <artifactId>commons-io</artifactId>
  71. <version>${commons.io.version}</version>
  72. </dependency>
  73. <!-- 文件上传工具类 -->
  74. <dependency>
  75. <groupId>commons-fileupload</groupId>
  76. <artifactId>commons-fileupload</artifactId>
  77. <version>${commons.fileupload.version}</version>
  78. </dependency>
  79. <!-- excel工具 -->
  80. <dependency>
  81. <groupId>org.apache.poi</groupId>
  82. <artifactId>poi-ooxml</artifactId>
  83. <version>${poi.version}</version>
  84. </dependency>
  85. <!-- velocity代码生成使用模板 -->
  86. <dependency>
  87. <groupId>org.apache.velocity</groupId>
  88. <artifactId>velocity-engine-core</artifactId>
  89. <version>${velocity.version}</version>
  90. </dependency>
  91. <!-- collections工具类 -->
  92. <dependency>
  93. <groupId>commons-collections</groupId>
  94. <artifactId>commons-collections</artifactId>
  95. <version>${commons.collections.version}</version>
  96. </dependency>
  97. <!-- 阿里JSON解析器 -->
  98. <dependency>
  99. <groupId>com.alibaba.fastjson2</groupId>
  100. <artifactId>fastjson2</artifactId>
  101. <version>${fastjson.version}</version>
  102. </dependency>
  103. <!-- Token生成与解析-->
  104. <dependency>
  105. <groupId>io.jsonwebtoken</groupId>
  106. <artifactId>jjwt</artifactId>
  107. <version>${jwt.version}</version>
  108. </dependency>
  109. <!-- 验证码 -->
  110. <dependency>
  111. <groupId>pro.fessional</groupId>
  112. <artifactId>kaptcha</artifactId>
  113. <version>${kaptcha.version}</version>
  114. </dependency>
  115. <!-- 定时任务-->
  116. <dependency>
  117. <groupId>com.ozs</groupId>
  118. <artifactId>base-quartz</artifactId>
  119. <version>${base.version}</version>
  120. </dependency>
  121. <!-- 代码生成-->
  122. <dependency>
  123. <groupId>com.ozs</groupId>
  124. <artifactId>base-generator</artifactId>
  125. <version>${base.version}</version>
  126. </dependency>
  127. <!-- 核心模块-->
  128. <dependency>
  129. <groupId>com.ozs</groupId>
  130. <artifactId>base-framework</artifactId>
  131. <version>${base.version}</version>
  132. </dependency>
  133. <!-- 系统模块-->
  134. <dependency>
  135. <groupId>com.ozs</groupId>
  136. <artifactId>base-system</artifactId>
  137. <version>${base.version}</version>
  138. </dependency>
  139. <!-- 通用工具-->
  140. <dependency>
  141. <groupId>com.ozs</groupId>
  142. <artifactId>base-common</artifactId>
  143. <version>${base.version}</version>
  144. </dependency>
  145. <!-- mybatis-plus -->
  146. <dependency>
  147. <groupId>com.baomidou</groupId>
  148. <artifactId>mybatis-plus-boot-starter</artifactId>
  149. <version>${mybatis-plus.version}</version>
  150. </dependency>
  151. <!-- mybatis-plus-join 关联查询 -->
  152. <dependency>
  153. <groupId>icu.mhb</groupId>
  154. <artifactId>mybatis-plus-join</artifactId>
  155. <version>${mybatis-plus-join.version}</version>
  156. </dependency>
  157. </dependencies>
  158. </dependencyManagement>
  159. <modules>
  160. <module>base-framework</module>
  161. <module>base-system</module>
  162. <module>base-quartz</module>
  163. <module>base-generator</module>
  164. <module>base-common</module>
  165. </modules>
  166. <packaging>pom</packaging>
  167. <dependencies>
  168. </dependencies>
  169. <build>
  170. <plugins>
  171. <plugin>
  172. <groupId>org.apache.maven.plugins</groupId>
  173. <artifactId>maven-compiler-plugin</artifactId>
  174. <version>3.1</version>
  175. <configuration>
  176. <source>${java.version}</source>
  177. <target>${java.version}</target>
  178. <encoding>${project.build.sourceEncoding}</encoding>
  179. </configuration>
  180. </plugin>
  181. </plugins>
  182. </build>
  183. <!-- <repositories>-->
  184. <!-- <repository>-->
  185. <!-- <id>public</id>-->
  186. <!-- <name>aliyun nexus</name>-->
  187. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  188. <!-- <releases>-->
  189. <!-- <enabled>true</enabled>-->
  190. <!-- </releases>-->
  191. <!-- </repository>-->
  192. <!-- </repositories>-->
  193. <!-- <pluginRepositories>-->
  194. <!-- <pluginRepository>-->
  195. <!-- <id>public</id>-->
  196. <!-- <name>aliyun nexus</name>-->
  197. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  198. <!-- <releases>-->
  199. <!-- <enabled>true</enabled>-->
  200. <!-- </releases>-->
  201. <!-- <snapshots>-->
  202. <!-- <enabled>false</enabled>-->
  203. <!-- </snapshots>-->
  204. <!-- </pluginRepository>-->
  205. <!-- </pluginRepositories>-->
  206. <repositories>
  207. <repository>
  208. <id>custom_group</id>
  209. <name>Nexus Repository</name>
  210. <url>http://47.94.132.61:18881/repository/custom_group/</url>
  211. <snapshots>
  212. <enabled>true</enabled>
  213. </snapshots>
  214. <releases>
  215. <enabled>true</enabled>
  216. </releases>
  217. </repository>
  218. </repositories>
  219. <pluginRepositories>
  220. <pluginRepository>
  221. <id>custom_group</id>
  222. <name>Nexus Plugin Repository</name>
  223. <url>http://47.94.132.61:18881/repository/custom_group/</url>
  224. <snapshots>
  225. <enabled>true</enabled>
  226. </snapshots>
  227. <releases>
  228. <enabled>true</enabled>
  229. </releases>
  230. </pluginRepository>
  231. </pluginRepositories>
  232. <!--项目分发信息,在执行mvn deploy后表示要发布的位置。有了这些信息就可以把网站部署到远程服务器或者把构件jar等部署到远程仓库。 -->
  233. <distributionManagement>
  234. <repository><!--部署项目产生的构件到远程仓库需要的信息 -->
  235. <id>custom_releases</id><!-- 此处id和settings.xml的id保持一致 -->
  236. <name>Nexus Release Repository</name>
  237. <url>http://47.94.132.61:18881/repository/custom_releases/</url>
  238. </repository>
  239. <snapshotRepository><!--构件的快照部署到哪里?如果没有配置该元素,默认部署到repository元素配置的仓库,参见distributionManagement/repository元素 -->
  240. <id>custom_snapshots</id><!-- 此处id和settings.xml的id保持一致 -->
  241. <name>Nexus Snapshot Repository</name>
  242. <url>http://47.94.132.61:18881/repository/custom_snapshots/</url>
  243. </snapshotRepository>
  244. </distributionManagement>
  245. </project>