pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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.usoft.credit</groupId>
  7. <artifactId>usoft-credit-parent</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0.0-SNAPSHOT</version>
  10. <modules>
  11. <module>usoft-credit-grpc-api</module>
  12. <module>usoft-credit-utils</module>
  13. <module>usoft-credit-service</module>
  14. <module>usoft-credit-dal</module>
  15. <module>usoft-credit-rest-service</module>
  16. <module>usoft-credit-bl</module>
  17. <module>usoft-credit-rest-domain</module>
  18. <module>usoft-credit-rest-api</module>
  19. </modules>
  20. <properties>
  21. <protoc-gen-grpc-java.version>1.11.0</protoc-gen-grpc-java.version>
  22. <spring-boot-starter-web.version>1.5.11.RELEASE</spring-boot-starter-web.version>
  23. <spring-boot-starter-test.version>1.5.11.RELEASE</spring-boot-starter-test.version>
  24. <httpclient.version>4.5.6</httpclient.version>
  25. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  26. <!-- base dependencies-->
  27. <slf4j-api.version>1.7.25</slf4j-api.version>
  28. <logback-classic.version>1.2.3</logback-classic.version>
  29. <junit-jupiter-api.version>5.2.0</junit-jupiter-api.version>
  30. <commons-lang3.version>3.7</commons-lang3.version>
  31. <commons-collections4.version>4.2</commons-collections4.version>
  32. <spring-boot-starter-data-redis.version>2.0.3.RELEASE</spring-boot-starter-data-redis.version>
  33. <fastjson.version>1.2.47</fastjson.version>
  34. <!-- grpc dependencies -->
  35. <grpc-spring-boot-starter.version>2.3.2</grpc-spring-boot-starter.version>
  36. <grpc-all.version>1.11.0</grpc-all.version>
  37. <netty-all.version>4.1.22.Final</netty-all.version>
  38. <mybatis-spring-boot-starter.version>1.3.2</mybatis-spring-boot-starter.version>
  39. <mybatis-generator-core.version>1.3.7</mybatis-generator-core.version>
  40. <mysql-connector-java.version>6.0.6</mysql-connector-java.version>
  41. </properties>
  42. <distributionManagement>
  43. <!-- 发布release仓库 -->
  44. <repository>
  45. <id>platform-release</id>
  46. <name>platform-release</name>
  47. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  48. </repository>
  49. <!-- 发布快照版本 -->
  50. <snapshotRepository>
  51. <id>platform-snapshots</id>
  52. <name>platform-snapshots</name>
  53. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  54. </snapshotRepository>
  55. </distributionManagement>
  56. <dependencyManagement>
  57. <dependencies>
  58. <!--###########################日志相关#############################-->
  59. <dependency>
  60. <groupId>org.slf4j</groupId>
  61. <artifactId>slf4j-api</artifactId>
  62. <version>${slf4j-api.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>ch.qos.logback</groupId>
  66. <artifactId>logback-classic</artifactId>
  67. <version>${logback-classic.version}</version>
  68. </dependency>
  69. <!--############日志相关########################################-->
  70. <!--############单元测试###########################################-->
  71. <dependency>
  72. <groupId>org.junit.jupiter</groupId>
  73. <artifactId>junit-jupiter-api</artifactId>
  74. <version>${junit-jupiter-api.version}</version>
  75. <scope>test</scope>
  76. </dependency>
  77. <!--############单元测试###########################################-->
  78. <!--############org.apache.commons###########################################-->
  79. <dependency>
  80. <groupId>org.apache.commons</groupId>
  81. <artifactId>commons-lang3</artifactId>
  82. <version>${commons-lang3.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.commons</groupId>
  86. <artifactId>commons-collections4</artifactId>
  87. <version>${commons-collections4.version}</version>
  88. </dependency>
  89. <!--############org.apache.commons###########################################-->
  90. <!--############redis#########################################################-->
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-data-redis</artifactId>
  94. <version>${spring-boot-starter-data-redis.version}</version>
  95. </dependency>
  96. <!--############redis#########################################################-->
  97. <!--############Json#########################################################-->
  98. <dependency>
  99. <groupId>com.alibaba</groupId>
  100. <artifactId>fastjson</artifactId>
  101. <version>${fastjson.version}</version>
  102. </dependency>
  103. <!--############Json#########################################################-->
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-web</artifactId>
  107. <version>${spring-boot-starter-web.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-test</artifactId>
  112. <version>${spring-boot-starter-test.version}</version>
  113. <scope>test</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.httpcomponents</groupId>
  117. <artifactId>httpclient</artifactId>
  118. <version>${httpclient.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-starter</artifactId>
  123. <version>1.5.11.RELEASE</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.lognet</groupId>
  127. <artifactId>grpc-spring-boot-starter</artifactId>
  128. <version>${grpc-spring-boot-starter.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>io.grpc</groupId>
  132. <artifactId>grpc-all</artifactId>
  133. <version>${grpc-all.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>io.netty</groupId>
  137. <artifactId>netty-all</artifactId>
  138. <version>${netty-all.version}</version>
  139. </dependency>
  140. <!--############mybatis###########################################-->
  141. <dependency>
  142. <groupId>org.mybatis.spring.boot</groupId>
  143. <artifactId>mybatis-spring-boot-starter</artifactId>
  144. <version>${mybatis-spring-boot-starter.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.mybatis.generator</groupId>
  148. <artifactId>mybatis-generator-core</artifactId>
  149. <version>${mybatis-generator-core.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>mysql</groupId>
  153. <artifactId>mysql-connector-java</artifactId>
  154. <version>${mysql-connector-java.version}</version>
  155. </dependency>
  156. <!--############mybatis########################################-->
  157. </dependencies>
  158. </dependencyManagement>
  159. <profiles>
  160. <profile>
  161. <!-- 开发环境 -->
  162. <id>dev</id>
  163. <activation>
  164. <activeByDefault>true</activeByDefault>
  165. </activation>
  166. <properties>
  167. <spring.active.profile>dev</spring.active.profile>
  168. </properties>
  169. </profile>
  170. <profile>
  171. <!-- 测试环境 -->
  172. <id>test</id>
  173. <properties>
  174. <spring.active.profile>test</spring.active.profile>
  175. </properties>
  176. </profile>
  177. <profile>
  178. <!-- 生产环境 -->
  179. <id>prod</id>
  180. <properties>
  181. <spring.active.profile>prod</spring.active.profile>
  182. </properties>
  183. </profile>
  184. </profiles>
  185. </project>