pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. <parent>
  7. <groupId>com.ywt</groupId>
  8. <artifactId>ywt-platform-glasses-parent</artifactId>
  9. <version>1.0.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>ywt-platform-glasses-sdk</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.ywt</groupId>
  20. <artifactId>ywt-platform-order-base</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.ywt</groupId>
  24. <artifactId>ywt-platform-glasses-common</artifactId>
  25. </dependency>
  26. <!-- 自动装配dubbo-->
  27. <dependency>
  28. <groupId>org.apache.dubbo</groupId>
  29. <artifactId>dubbo-spring-boot-starter</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.apache.dubbo</groupId>
  33. <artifactId>dubbo-registry-nacos</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.google.protobuf</groupId>
  41. <artifactId>protobuf-java</artifactId>
  42. <version>${protobuf.version}</version>
  43. <!-- <version>3.19.6</version>-->
  44. </dependency>
  45. <dependency>
  46. <groupId>com.google.protobuf</groupId>
  47. <artifactId>protobuf-java-util</artifactId>
  48. <version>${protobuf.version}</version>
  49. <!-- <version>3.19.6</version>-->
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-test</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.slf4j</groupId>
  58. <artifactId>slf4j-api</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>ch.qos.logback</groupId>
  62. <artifactId>logback-classic</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-data-jpa</artifactId>
  67. <exclusions>
  68. <exclusion>
  69. <groupId>org.slf4j</groupId>
  70. <artifactId>jcl-over-slf4j</artifactId>
  71. </exclusion>
  72. <exclusion>
  73. <groupId>org.slf4j</groupId>
  74. <artifactId>jul-to-slf4j</artifactId>
  75. </exclusion>
  76. </exclusions>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-web</artifactId>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-tomcat</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-jetty</artifactId>
  91. </dependency>
  92. <!-- <dependency>-->
  93. <!-- <groupId>org.springframework.boot</groupId>-->
  94. <!-- <artifactId>spring-boot-starter-redis</artifactId>-->
  95. <!-- </dependency>-->
  96. <dependency>
  97. <groupId>org.springframework</groupId>
  98. <artifactId>spring-jdbc</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.httpcomponents</groupId>
  102. <artifactId>httpclient</artifactId>
  103. </dependency>
  104. <!-- <dependency>-->
  105. <!-- <groupId>com.google.guava</groupId>-->
  106. <!-- <artifactId>guava</artifactId>-->
  107. <!-- <version>${guava.version}</version>-->
  108. <!-- </dependency>-->
  109. <dependency>
  110. <groupId>mysql</groupId>
  111. <artifactId>mysql-connector-java</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>io.grpc</groupId>
  115. <artifactId>grpc-netty</artifactId>
  116. <!-- <version>1.7.0</version>-->
  117. </dependency>
  118. <dependency>
  119. <groupId>io.grpc</groupId>
  120. <artifactId>grpc-protobuf</artifactId>
  121. <!-- <version>1.7.0</version>-->
  122. </dependency>
  123. <dependency>
  124. <groupId>io.grpc</groupId>
  125. <artifactId>grpc-stub</artifactId>
  126. <!-- <version>1.7.0</version>-->
  127. </dependency>
  128. <!-- 引入swagger包 -->
  129. <dependency>
  130. <groupId>io.springfox</groupId>
  131. <artifactId>springfox-swagger2</artifactId>
  132. <!-- <version>2.2.2</version>-->
  133. </dependency>
  134. <dependency>
  135. <groupId>io.springfox</groupId>
  136. <artifactId>springfox-swagger-ui</artifactId>
  137. <!-- <version>2.2.2</version>-->
  138. </dependency>
  139. <dependency>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-starter-data-redis</artifactId>
  142. </dependency>
  143. </dependencies>
  144. <profiles>
  145. <profile>
  146. <id>dev</id>
  147. <activation>
  148. <activeByDefault>true</activeByDefault>
  149. </activation>
  150. <properties>
  151. <active.profile>dev</active.profile>
  152. </properties>
  153. </profile>
  154. <profile>
  155. <id>test</id>
  156. <properties>
  157. <active.profile>test</active.profile>
  158. </properties>
  159. </profile>
  160. <profile>
  161. <id>product</id>
  162. <properties>
  163. <active.profile>product</active.profile>
  164. </properties>
  165. </profile>
  166. <profile>
  167. <id>preproduct</id>
  168. <properties>
  169. <active.profile>preproduct</active.profile>
  170. </properties>
  171. </profile>
  172. </profiles>
  173. <build>
  174. <filters>
  175. <filter>config_fillters/filters-${active.profile}.properties</filter>
  176. </filters>
  177. <resources>
  178. <resource>
  179. <directory>src/main/resources</directory>
  180. <filtering>true</filtering>
  181. </resource>
  182. </resources>
  183. <plugins>
  184. <plugin>
  185. <groupId>org.apache.maven.plugins</groupId>
  186. <artifactId>maven-compiler-plugin</artifactId>
  187. <!-- <version>3.2</version>-->
  188. <configuration>
  189. <source>1.8</source>
  190. <target>1.8</target>
  191. <encoding>utf-8</encoding>
  192. </configuration>
  193. </plugin>
  194. <plugin>
  195. <groupId>org.springframework.boot</groupId>
  196. <artifactId>spring-boot-maven-plugin</artifactId>
  197. </plugin>
  198. </plugins>
  199. </build>
  200. </project>