pom.xml 11 KB

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