pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. <parent>
  6. <artifactId>game-platform</artifactId>
  7. <groupId>com.zanxiang.game</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>game-platform-serve</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-actuator</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.cloud</groupId>
  23. <artifactId>spring-cloud-starter</artifactId>
  24. </dependency>
  25. <!-- spring boot默认不去扫描 bootstrap.yml文件了 -->
  26. <dependency>
  27. <groupId>org.springframework.cloud</groupId>
  28. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  29. </dependency>
  30. <!-- SpringBoot start -->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. </dependency>
  35. <!-- nacos配置中心 默认的 nacos-client 2.0.3有 bug -->
  36. <dependency>
  37. <groupId>com.alibaba.cloud</groupId>
  38. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  39. <exclusions>
  40. <exclusion>
  41. <groupId>com.alibaba.nacos</groupId>
  42. <artifactId>nacos-client</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <!-- nacos注册中心 -->
  47. <dependency>
  48. <groupId>com.alibaba.cloud</groupId>
  49. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  50. <exclusions>
  51. <exclusion>
  52. <groupId>com.alibaba.nacos</groupId>
  53. <artifactId>nacos-client</artifactId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.alibaba.nacos</groupId>
  59. <artifactId>nacos-client</artifactId>
  60. </dependency>
  61. <!-- dubbo -->
  62. <dependency>
  63. <groupId>org.apache.dubbo</groupId>
  64. <artifactId>dubbo-spring-boot-starter</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.dubbo</groupId>
  68. <artifactId>dubbo-metadata-definition-protobuf</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.zanxiang.module</groupId>
  72. <artifactId>zx-web</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.zanxiang.erp</groupId>
  76. <artifactId>erp-security</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.zanxiang.module</groupId>
  80. <artifactId>zx-redis</artifactId>
  81. </dependency>
  82. <!-- Mybatis Plus -->
  83. <dependency>
  84. <groupId>com.baomidou</groupId>
  85. <artifactId>mybatis-plus-boot-starter</artifactId>
  86. </dependency>
  87. <!-- Mysql Connector -->
  88. <dependency>
  89. <groupId>mysql</groupId>
  90. <artifactId>mysql-connector-java</artifactId>
  91. </dependency>
  92. <!-- swagger2 -->
  93. <dependency>
  94. <groupId>io.springfox</groupId>
  95. <artifactId>springfox-swagger2</artifactId>
  96. <version>2.9.2</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>io.springfox</groupId>
  100. <artifactId>springfox-swagger-ui</artifactId>
  101. <version>2.9.2</version>
  102. </dependency>
  103. </dependencies>
  104. <build>
  105. <plugins>
  106. <!-- 不发布到 maven仓库 -->
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-deploy-plugin</artifactId>
  110. <version>2.8.2</version>
  111. <configuration>
  112. <skip>true</skip>
  113. </configuration>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-compiler-plugin</artifactId>
  118. <version>3.1</version>
  119. <configuration>
  120. <source>8</source>
  121. <target>8</target>
  122. <encoding>${project.build.sourceEncoding}</encoding>
  123. </configuration>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-maven-plugin</artifactId>
  128. <version>2.5.14</version>
  129. <configuration>
  130. <includeSystemScope>true</includeSystemScope>
  131. </configuration>
  132. <executions>
  133. <execution>
  134. <goals>
  135. <goal>repackage</goal>
  136. </goals>
  137. </execution>
  138. </executions>
  139. </plugin>
  140. </plugins>
  141. </build>
  142. </project>