pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.ankaibei.workFlow</groupId>
  6. <artifactId>AnKaiBeiWorkFlow</artifactId>
  7. <version>1.0.0</version>
  8. <name>AnKaiBeiWorkFlow</name>
  9. <packaging>pom</packaging>
  10. <properties>
  11. <spring-boot.version>2.5.12</spring-boot.version>
  12. <spring-boot-admin.version>2.5.5</spring-boot-admin.version>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <maven.compiler.target>1.8</maven.compiler.target>
  16. <java.version>1.8</java.version>
  17. <application.name>AnKaiBeiWorkFlow</application.name>
  18. <!-- 工具库版本 -->
  19. <joda-time.version>2.10.13</joda-time.version>
  20. <guava.version>20.0</guava.version>
  21. <commons-io.version>2.6</commons-io.version>
  22. <commons-collections4.version>4.4</commons-collections4.version>
  23. <common-csv.version>1.8</common-csv.version>
  24. <poi-ooxml.version>5.0.0</poi-ooxml.version>
  25. <hutool.version>5.7.18</hutool.version>
  26. <jjwt.version>0.9.1</jjwt.version>
  27. <fastjson.version>1.2.80</fastjson.version>
  28. <bean.query.version>1.1.5</bean.query.version>
  29. <caffeine.version>2.9.3</caffeine.version>
  30. <mapstruct.version>1.4.2.Final</mapstruct.version>
  31. <lombok.version>1.18.20</lombok.version>
  32. <hibernate-validator.version>6.2.0.Final</hibernate-validator.version>
  33. <flowable.version>6.6.0</flowable.version>
  34. <redisson.version>3.17.6</redisson.version>
  35. <minio.version>7.0.2</minio.version>
  36. <qdox.version>2.0.0</qdox.version>
  37. <knife4j.version>2.0.8</knife4j.version>
  38. <ajcaptcha.version>1.3.0</ajcaptcha.version>
  39. <!-- 数据库工具版本 -->
  40. <druid.version>1.2.6</druid.version>
  41. <mybatisplus.version>3.5.2</mybatisplus.version>
  42. <pagehelper.version>1.4.3</pagehelper.version>
  43. </properties>
  44. <modules>
  45. <module>application-webadmin</module>
  46. <module>common</module>
  47. <module>framework</module>
  48. <module>api</module>
  49. </modules>
  50. <dependencies>
  51. <!--web 模块-->
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-web</artifactId>
  55. </dependency>
  56. <!-- freemarker 模板引擎模块 -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-freemarker</artifactId>
  60. </dependency>
  61. <!--server-api-->
  62. <dependency>
  63. <groupId>javax.servlet</groupId>
  64. <artifactId>javax.servlet-api</artifactId>
  65. </dependency>
  66. <!-- 日志模块 -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-logging</artifactId>
  70. </dependency>
  71. <!-- aop模块 -->
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-aop</artifactId>
  75. </dependency>
  76. <!-- 缓存模块 -->
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-cache</artifactId>
  80. </dependency>
  81. <!--配置文件处理器-->
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-configuration-processor</artifactId>
  85. <optional>true</optional>
  86. </dependency>
  87. <!--加密-->
  88. <dependency>
  89. <groupId>org.springframework.security</groupId>
  90. <artifactId>spring-security-crypto</artifactId>
  91. </dependency>
  92. <!--监控-->
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-actuator</artifactId>
  96. </dependency>
  97. <!--监控客户端-->
  98. <dependency>
  99. <groupId>de.codecentric</groupId>
  100. <artifactId>spring-boot-admin-starter-client</artifactId>
  101. <version>${spring-boot-admin.version}</version>
  102. </dependency>
  103. <!-- api参数验证 -->
  104. <dependency>
  105. <groupId>org.hibernate</groupId>
  106. <artifactId>hibernate-validator</artifactId>
  107. <version>${hibernate-validator.version}</version>
  108. </dependency>
  109. <!-- mapstruct 对象映射 -->
  110. <dependency>
  111. <groupId>org.mapstruct</groupId>
  112. <artifactId>mapstruct</artifactId>
  113. <version>${mapstruct.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.mapstruct</groupId>
  117. <artifactId>mapstruct-processor</artifactId>
  118. <version>${mapstruct.version}</version>
  119. <scope>provided</scope>
  120. </dependency>
  121. <!--Lombok-->
  122. <dependency>
  123. <groupId>org.projectlombok</groupId>
  124. <artifactId>lombok</artifactId>
  125. <scope>provided</scope>
  126. </dependency>
  127. <!--swagger 2.10.5 必须的依赖 -->
  128. <dependency>
  129. <groupId>org.springframework.plugin</groupId>
  130. <artifactId>spring-plugin-core</artifactId>
  131. <version>2.0.0.RELEASE</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.plugin</groupId>
  135. <artifactId>spring-plugin-metadata</artifactId>
  136. <version>2.0.0.RELEASE</version>
  137. </dependency>
  138. <!--测试依赖-->
  139. <dependency>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-starter-test</artifactId>
  142. <scope>test</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.auth0</groupId>
  146. <artifactId>java-jwt</artifactId>
  147. <version>3.4.0</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>mysql</groupId>
  151. <artifactId>mysql-connector-java</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-starter-data-jpa</artifactId>
  156. </dependency>
  157. </dependencies>
  158. <dependencyManagement>
  159. <dependencies>
  160. <dependency>
  161. <groupId>mysql</groupId>
  162. <artifactId>mysql-connector-java</artifactId>
  163. <version>8.0.22</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-dependencies</artifactId>
  168. <version>${spring-boot.version}</version>
  169. <type>pom</type>
  170. <scope>import</scope>
  171. </dependency>
  172. </dependencies>
  173. </dependencyManagement>
  174. <build>
  175. <plugins>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-compiler-plugin</artifactId>
  179. <version>3.8.0</version>
  180. <configuration>
  181. <target>${maven.compiler.target}</target>
  182. <source>${maven.compiler.source}</source>
  183. <encoding>UTF-8</encoding>
  184. <annotationProcessorPaths>
  185. <path>
  186. <groupId>org.projectlombok</groupId>
  187. <artifactId>lombok</artifactId>
  188. <version>${lombok.version}</version>
  189. </path>
  190. <path>
  191. <groupId>org.projectlombok</groupId>
  192. <artifactId>lombok-mapstruct-binding</artifactId>
  193. <version>0.2.0</version>
  194. </path>
  195. <path>
  196. <groupId>org.mapstruct</groupId>
  197. <artifactId>mapstruct-processor</artifactId>
  198. <version>${mapstruct.version}</version>
  199. </path>
  200. </annotationProcessorPaths>
  201. </configuration>
  202. </plugin>
  203. </plugins>
  204. </build>
  205. <repositories>
  206. <repository>
  207. <id>custom_group</id>
  208. <name>Nexus Repository</name>
  209. <url>http://124.71.171.71:18881/repository/custom_group/</url>
  210. <snapshots>
  211. <enabled>true</enabled>
  212. </snapshots>
  213. <releases>
  214. <enabled>true</enabled>
  215. </releases>
  216. </repository>
  217. </repositories>
  218. <pluginRepositories>
  219. <pluginRepository>
  220. <id>custom_group</id>
  221. <name>Nexus Plugin Repository</name>
  222. <url>http://124.71.171.71:18881/repository/custom_group/</url>
  223. <snapshots>
  224. <enabled>true</enabled>
  225. </snapshots>
  226. <releases>
  227. <enabled>true</enabled>
  228. </releases>
  229. </pluginRepository>
  230. </pluginRepositories>
  231. <!--项目分发信息,在执行mvn deploy后表示要发布的位置。有了这些信息就可以把网站部署到远程服务器或者把构件jar等部署到远程仓库。 -->
  232. <distributionManagement>
  233. <repository><!--部署项目产生的构件到远程仓库需要的信息 -->
  234. <id>custom_releases</id><!-- 此处id和settings.xml的id保持一致 -->
  235. <name>Nexus Release Repository</name>
  236. <url>http://124.71.171.71:18881/repository/custom_releases/</url>
  237. </repository>
  238. <snapshotRepository><!--构件的快照部署到哪里?如果没有配置该元素,默认部署到repository元素配置的仓库,参见distributionManagement/repository元素 -->
  239. <id>custom_snapshots</id><!-- 此处id和settings.xml的id保持一致 -->
  240. <name>Nexus Snapshot Repository</name>
  241. <url>http://124.71.171.71:18881/repository/custom_snapshots/</url>
  242. </snapshotRepository>
  243. </distributionManagement>
  244. </project>