pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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. <swagger.version>3.0.0</swagger.version>
  20. <kaptcha.version>2.3.3</kaptcha.version>
  21. <pagehelper.boot.version>1.4.6</pagehelper.boot.version>
  22. <fastjson.version>2.0.20</fastjson.version>
  23. <oshi.version>6.4.0</oshi.version>
  24. <commons.io.version>2.11.0</commons.io.version>
  25. <commons.fileupload.version>1.4</commons.fileupload.version>
  26. <commons.collections.version>3.2.2</commons.collections.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. <mybatis-plus.version>3.5.1</mybatis-plus.version>
  31. <mybatis-plus-join.version>1.1.3</mybatis-plus-join.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.5.14</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. </dependency>
  62. <!-- 获取系统信息 -->
  63. <dependency>
  64. <groupId>com.github.oshi</groupId>
  65. <artifactId>oshi-core</artifactId>
  66. <version>${oshi.version}</version>
  67. </dependency>
  68. <!-- Swagger3依赖 -->
  69. <dependency>
  70. <groupId>io.springfox</groupId>
  71. <artifactId>springfox-boot-starter</artifactId>
  72. <version>${swagger.version}</version>
  73. <exclusions>
  74. <exclusion>
  75. <groupId>io.swagger</groupId>
  76. <artifactId>swagger-models</artifactId>
  77. </exclusion>
  78. </exclusions>
  79. </dependency>
  80. <!-- io常用工具类 -->
  81. <dependency>
  82. <groupId>commons-io</groupId>
  83. <artifactId>commons-io</artifactId>
  84. <version>${commons.io.version}</version>
  85. </dependency>
  86. <!-- 文件上传工具类 -->
  87. <dependency>
  88. <groupId>commons-fileupload</groupId>
  89. <artifactId>commons-fileupload</artifactId>
  90. <version>${commons.fileupload.version}</version>
  91. </dependency>
  92. <!-- excel工具 -->
  93. <dependency>
  94. <groupId>org.apache.poi</groupId>
  95. <artifactId>poi-ooxml</artifactId>
  96. <version>${poi.version}</version>
  97. </dependency>
  98. <!-- velocity代码生成使用模板 -->
  99. <dependency>
  100. <groupId>org.apache.velocity</groupId>
  101. <artifactId>velocity-engine-core</artifactId>
  102. <version>${velocity.version}</version>
  103. </dependency>
  104. <!-- collections工具类 -->
  105. <dependency>
  106. <groupId>commons-collections</groupId>
  107. <artifactId>commons-collections</artifactId>
  108. <version>${commons.collections.version}</version>
  109. </dependency>
  110. <!-- 阿里JSON解析器 -->
  111. <dependency>
  112. <groupId>com.alibaba.fastjson2</groupId>
  113. <artifactId>fastjson2</artifactId>
  114. <version>${fastjson.version}</version>
  115. </dependency>
  116. <!-- Token生成与解析-->
  117. <dependency>
  118. <groupId>io.jsonwebtoken</groupId>
  119. <artifactId>jjwt</artifactId>
  120. <version>${jwt.version}</version>
  121. </dependency>
  122. <!-- 验证码 -->
  123. <dependency>
  124. <groupId>pro.fessional</groupId>
  125. <artifactId>kaptcha</artifactId>
  126. <version>${kaptcha.version}</version>
  127. </dependency>
  128. <!-- 定时任务-->
  129. <dependency>
  130. <groupId>com.ozs</groupId>
  131. <artifactId>base-quartz</artifactId>
  132. <version>${base.version}</version>
  133. </dependency>
  134. <!-- 代码生成-->
  135. <dependency>
  136. <groupId>com.ozs</groupId>
  137. <artifactId>base-generator</artifactId>
  138. <version>${base.version}</version>
  139. </dependency>
  140. <!-- 核心模块-->
  141. <dependency>
  142. <groupId>com.ozs</groupId>
  143. <artifactId>base-framework</artifactId>
  144. <version>${base.version}</version>
  145. </dependency>
  146. <!-- 系统模块-->
  147. <dependency>
  148. <groupId>com.ozs</groupId>
  149. <artifactId>base-system</artifactId>
  150. <version>${base.version}</version>
  151. </dependency>
  152. <!-- 通用工具-->
  153. <dependency>
  154. <groupId>com.ozs</groupId>
  155. <artifactId>base-common</artifactId>
  156. <version>${base.version}</version>
  157. </dependency>
  158. <!-- mybatis-plus -->
  159. <dependency>
  160. <groupId>com.baomidou</groupId>
  161. <artifactId>mybatis-plus-boot-starter</artifactId>
  162. <version>${mybatis-plus.version}</version>
  163. </dependency>
  164. <!-- mybatis-plus-join 关联查询 -->
  165. <dependency>
  166. <groupId>icu.mhb</groupId>
  167. <artifactId>mybatis-plus-join</artifactId>
  168. <version>${mybatis-plus-join.version}</version>
  169. </dependency>
  170. </dependencies>
  171. </dependencyManagement>
  172. <modules>
  173. <module>base-framework</module>
  174. <module>base-system</module>
  175. <module>base-quartz</module>
  176. <module>base-generator</module>
  177. <module>base-common</module>
  178. </modules>
  179. <packaging>pom</packaging>
  180. <dependencies>
  181. </dependencies>
  182. <build>
  183. <plugins>
  184. <plugin>
  185. <groupId>org.apache.maven.plugins</groupId>
  186. <artifactId>maven-compiler-plugin</artifactId>
  187. <version>3.1</version>
  188. <configuration>
  189. <source>${java.version}</source>
  190. <target>${java.version}</target>
  191. <encoding>${project.build.sourceEncoding}</encoding>
  192. </configuration>
  193. </plugin>
  194. </plugins>
  195. </build>
  196. <!-- <repositories>-->
  197. <!-- <repository>-->
  198. <!-- <id>public</id>-->
  199. <!-- <name>aliyun nexus</name>-->
  200. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  201. <!-- <releases>-->
  202. <!-- <enabled>true</enabled>-->
  203. <!-- </releases>-->
  204. <!-- </repository>-->
  205. <!-- </repositories>-->
  206. <!-- <pluginRepositories>-->
  207. <!-- <pluginRepository>-->
  208. <!-- <id>public</id>-->
  209. <!-- <name>aliyun nexus</name>-->
  210. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  211. <!-- <releases>-->
  212. <!-- <enabled>true</enabled>-->
  213. <!-- </releases>-->
  214. <!-- <snapshots>-->
  215. <!-- <enabled>false</enabled>-->
  216. <!-- </snapshots>-->
  217. <!-- </pluginRepository>-->
  218. <!-- </pluginRepositories>-->
  219. <repositories>
  220. <repository>
  221. <id>custom_group</id>
  222. <name>Nexus Repository</name>
  223. <url>http://124.71.171.71:18881/repository/custom_group/</url>
  224. <snapshots>
  225. <enabled>true</enabled>
  226. </snapshots>
  227. <releases>
  228. <enabled>true</enabled>
  229. </releases>
  230. </repository>
  231. </repositories>
  232. <pluginRepositories>
  233. <pluginRepository>
  234. <id>custom_group</id>
  235. <name>Nexus Plugin Repository</name>
  236. <url>http://124.71.171.71:18881/repository/custom_group/</url>
  237. <snapshots>
  238. <enabled>true</enabled>
  239. </snapshots>
  240. <releases>
  241. <enabled>true</enabled>
  242. </releases>
  243. </pluginRepository>
  244. </pluginRepositories>
  245. <!--项目分发信息,在执行mvn deploy后表示要发布的位置。有了这些信息就可以把网站部署到远程服务器或者把构件jar等部署到远程仓库。 -->
  246. <distributionManagement>
  247. <repository><!--部署项目产生的构件到远程仓库需要的信息 -->
  248. <id>custom_releases</id><!-- 此处id和settings.xml的id保持一致 -->
  249. <name>Nexus Release Repository</name>
  250. <url>http://47.94.132.61:18881/repository/custom_releases/</url>
  251. </repository>
  252. <snapshotRepository><!--构件的快照部署到哪里?如果没有配置该元素,默认部署到repository元素配置的仓库,参见distributionManagement/repository元素 -->
  253. <id>custom_snapshots</id><!-- 此处id和settings.xml的id保持一致 -->
  254. <name>Nexus Snapshot Repository</name>
  255. <url>http://47.94.132.61:18881/repository/custom_snapshots/</url>
  256. </snapshotRepository>
  257. </distributionManagement>
  258. </project>