pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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.kakarote</groupId>
  6. <artifactId>wkcrm</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>pom</packaging>
  9. <name>wkcrm</name>
  10. <description>悟空软件</description>
  11. <modules>
  12. <module>core</module>
  13. <module>gateway</module>
  14. <module>admin</module>
  15. <module>oa</module>
  16. <module>work</module>
  17. <module>crm</module>
  18. <module>authorization</module>
  19. <module>bi</module>
  20. <module>job</module>
  21. <module>examine</module>
  22. <module>hrm</module>
  23. </modules>
  24. <properties>
  25. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  26. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  27. <maven.compiler.source>1.8</maven.compiler.source>
  28. <maven.compiler.target>1.8</maven.compiler.target>
  29. <springboot.version>2.2.5.RELEASE</springboot.version>
  30. <spring.cloud.version>Hoxton.SR3</spring.cloud.version>
  31. <spring.cloud.alibaba.version>2.2.1.RELEASE</spring.cloud.alibaba.version>
  32. <knife4j.version>2.0.7</knife4j.version>
  33. <hutool.version>5.3.1</hutool.version>
  34. <lombok.version>1.18.10</lombok.version>
  35. <core.version>1.1.3</core.version>
  36. </properties>
  37. <repositories>
  38. <repository>
  39. <id>central</id>
  40. <name>阿里云公共仓库</name>
  41. <url>https://maven.aliyun.com/repository/public</url>
  42. <releases>
  43. <enabled>true</enabled>
  44. </releases>
  45. <snapshots>
  46. <enabled>true</enabled>
  47. </snapshots>
  48. </repository>
  49. </repositories>
  50. <pluginRepositories>
  51. <pluginRepository>
  52. <id>central</id>
  53. <name>阿里云公共仓库</name>
  54. <url>https://maven.aliyun.com/repository/public</url>
  55. <snapshots>
  56. <enabled>true</enabled>
  57. </snapshots>
  58. </pluginRepository>
  59. </pluginRepositories>
  60. <dependencyManagement>
  61. <dependencies>
  62. <!--支持Spring Boot 2.1.X-->
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-dependencies</artifactId>
  66. <version>${springboot.version}</version>
  67. <type>pom</type>
  68. <scope>import</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.cloud</groupId>
  72. <artifactId>spring-cloud-dependencies</artifactId>
  73. <version>${spring.cloud.version}</version>
  74. <type>pom</type>
  75. <scope>import</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.alibaba.cloud</groupId>
  79. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  80. <version>${spring.cloud.alibaba.version}</version>
  81. <type>pom</type>
  82. <scope>import</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>io.seata</groupId>
  86. <artifactId>seata-spring-boot-starter</artifactId>
  87. <version>1.2.0</version>
  88. </dependency>
  89. </dependencies>
  90. </dependencyManagement>
  91. <dependencies>
  92. <!--自省和监控的集成功能-->
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-actuator</artifactId>
  96. </dependency>
  97. <!--注册中心-->
  98. <dependency>
  99. <groupId>com.alibaba.cloud</groupId>
  100. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  101. </dependency>
  102. <!--配置中心-->
  103. <dependency>
  104. <groupId>com.alibaba.cloud</groupId>
  105. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  106. </dependency>
  107. <!--服务调用-->
  108. <dependency>
  109. <groupId>org.springframework.cloud</groupId>
  110. <artifactId>spring-cloud-starter-openfeign</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>io.github.openfeign</groupId>
  114. <artifactId>feign-okhttp</artifactId>
  115. </dependency>
  116. <!--熔断降级-->
  117. <dependency>
  118. <groupId>com.alibaba.cloud</groupId>
  119. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  120. </dependency>
  121. <!--熔断降级持久化-->
  122. <dependency>
  123. <groupId>com.alibaba.csp</groupId>
  124. <artifactId>sentinel-datasource-nacos</artifactId>
  125. </dependency>
  126. <!--使用 lombok 简化 Java 代码-->
  127. <dependency>
  128. <groupId>org.projectlombok</groupId>
  129. <artifactId>lombok</artifactId>
  130. <version>${lombok.version}</version>
  131. <scope>compile</scope>
  132. </dependency>
  133. <!--测试框架-->
  134. <dependency>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-starter-test</artifactId>
  137. <scope>test</scope>
  138. </dependency>
  139. <!--工具包-->
  140. <dependency>
  141. <groupId>cn.hutool</groupId>
  142. <artifactId>hutool-all</artifactId>
  143. <version>${hutool.version}</version>
  144. </dependency>
  145. <!--Redis缓存-->
  146. <dependency>
  147. <groupId>org.springframework.boot</groupId>
  148. <artifactId>spring-boot-starter-data-redis</artifactId>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.apache.commons</groupId>
  152. <artifactId>commons-pool2</artifactId>
  153. </dependency>
  154. <!--数据库-->
  155. <dependency>
  156. <groupId>mysql</groupId>
  157. <artifactId>mysql-connector-java</artifactId>
  158. </dependency>
  159. </dependencies>
  160. <build>
  161. <plugins>
  162. <!-- 资源文件拷贝插件 -->
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-resources-plugin</artifactId>
  166. <configuration>
  167. <encoding>UTF-8</encoding>
  168. </configuration>
  169. </plugin>
  170. <!-- java编译插件 -->
  171. <plugin>
  172. <groupId>org.apache.maven.plugins</groupId>
  173. <artifactId>maven-compiler-plugin</artifactId>
  174. <configuration>
  175. <source>1.8</source>
  176. <target>1.8</target>
  177. <encoding>UTF-8</encoding>
  178. <compilerArgument>-parameters</compilerArgument>
  179. </configuration>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.springframework.boot</groupId>
  183. <artifactId>spring-boot-maven-plugin</artifactId>
  184. <version>${springboot.version}</version>
  185. </plugin>
  186. </plugins>
  187. </build>
  188. </project>