拓恒电信城管管理平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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>tuoheng-service</artifactId>
  7. <groupId>com.tuoheng</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>tuoheng-miniprogram</artifactId>
  12. <properties>
  13. <maven.compiler.source>11</maven.compiler.source>
  14. <maven.compiler.target>11</maven.compiler.target>
  15. <tuoheng.version>1.0.0</tuoheng.version>
  16. </properties>
  17. <!-- 依赖声明管理 -->
  18. <dependencies>
  19. <!-- 核心依赖模块 -->
  20. <dependency>
  21. <groupId>com.tuoheng</groupId>
  22. <artifactId>tuoheng-common-core</artifactId>
  23. </dependency>
  24. <!-- Consul注册中心起始依赖 -->
  25. <dependency>
  26. <groupId>org.springframework.cloud</groupId>
  27. <artifactId>spring-cloud-starter-consul-discovery</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. </dependency>
  33. <!-- MySql驱动 -->
  34. <dependency>
  35. <groupId>mysql</groupId>
  36. <artifactId>mysql-connector-java</artifactId>
  37. <scope>runtime</scope>
  38. </dependency>
  39. <!--redis-->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-data-redis</artifactId>
  43. </dependency>
  44. <!-- 引入阿里数据库连接池 -->
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>druid-spring-boot-starter</artifactId>
  48. <version>1.1.10</version>
  49. </dependency>
  50. <!--mybatis-plus 代码自动生成 -->
  51. <dependency>
  52. <groupId>com.baomidou</groupId>
  53. <artifactId>mybatis-plus-generator</artifactId>
  54. <version>3.2.0</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.projectlombok</groupId>
  58. <artifactId>lombok</artifactId>
  59. <optional>true</optional>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.aliyun</groupId>
  63. <artifactId>vod20170321</artifactId>
  64. <version>2.16.8</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.aliyun</groupId>
  68. <artifactId>aliyun-java-sdk-core</artifactId>
  69. <version>4.5.1</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.aliyun.oss</groupId>
  73. <artifactId>aliyun-sdk-oss</artifactId>
  74. <version>3.10.2</version>
  75. </dependency>
  76. <!-- spring-boot-actuator依赖 -->
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-actuator</artifactId>
  80. <version>2.3.5.RELEASE</version>
  81. </dependency>
  82. <!-- prometheus依赖 -->
  83. <dependency>
  84. <groupId>io.micrometer</groupId>
  85. <artifactId>micrometer-registry-prometheus</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.aliyun</groupId>
  89. <artifactId>aliyun-java-sdk-vod</artifactId>
  90. <version>2.15.11</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.cloud</groupId>
  94. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  95. <version>2.2.1.RELEASE</version>
  96. </dependency>
  97. <!-- telecomumale api fegin 接口模块依赖 -->
  98. <dependency>
  99. <groupId>com.tuoheng</groupId>
  100. <artifactId>tuoheng-api-feign</artifactId>
  101. <version>${tuoheng.version}</version>
  102. </dependency>
  103. </dependencies>
  104. <!-- 环境变量配置 -->
  105. <profiles>
  106. <!-- 本地开发环境 -->
  107. <profile>
  108. <id>local</id>
  109. <properties>
  110. <package.environment>local</package.environment>
  111. </properties>
  112. <activation>
  113. <activeByDefault>true</activeByDefault>
  114. </activation>
  115. </profile>
  116. <!-- 开发环境 -->
  117. <profile>
  118. <id>dev</id>
  119. <properties>
  120. <package.environment>dev</package.environment>
  121. </properties>
  122. </profile>
  123. <!-- 测试环境 -->
  124. <profile>
  125. <id>test</id>
  126. <properties>
  127. <package.environment>test</package.environment>
  128. </properties>
  129. </profile>
  130. <!-- 生产环境 -->
  131. <profile>
  132. <id>prod</id>
  133. <properties>
  134. <package.environment>prod</package.environment>
  135. </properties>
  136. </profile>
  137. </profiles>
  138. <!-- 环境变量构建 -->
  139. <build>
  140. <finalName>tuoheng_telecomumale_miniprogram</finalName>
  141. <resources>
  142. <resource>
  143. <directory>src/main/resources</directory>
  144. <filtering>true</filtering>
  145. <includes>
  146. <include>**/*.xml</include>
  147. <include>**/*.properties</include>
  148. <include>**/*.yml</include>
  149. </includes>
  150. </resource>
  151. <resource>
  152. <directory>src/main/java</directory>
  153. <includes>
  154. <include>**/*.*</include>
  155. </includes>
  156. <excludes>
  157. <exclude>**/*.java</exclude>
  158. </excludes>
  159. </resource>
  160. <resource>
  161. <directory>src/main/resources</directory>
  162. <filtering>true</filtering>
  163. <targetPath>WEB-INF/classes</targetPath>
  164. <includes>
  165. <include>application-${package.environment}.yml</include>
  166. </includes>
  167. </resource>
  168. </resources>
  169. <pluginManagement>
  170. <plugins>
  171. <plugin>
  172. <groupId>org.springframework.boot</groupId>
  173. <artifactId>spring-boot-maven-plugin</artifactId>
  174. <version>2.1.11.RELEASE</version>
  175. <configuration>
  176. <finalName>${project.build.finalName}</finalName>
  177. </configuration>
  178. <executions>
  179. <execution>
  180. <goals>
  181. <goal>repackage</goal>
  182. </goals>
  183. </execution>
  184. </executions>
  185. </plugin>
  186. </plugins>
  187. </pluginManagement>
  188. <plugins>
  189. <plugin>
  190. <groupId>org.springframework.boot</groupId>
  191. <artifactId>spring-boot-maven-plugin</artifactId>
  192. <executions>
  193. <execution>
  194. <goals>
  195. <goal>repackage</goal>
  196. </goals>
  197. </execution>
  198. </executions>
  199. </plugin>
  200. </plugins>
  201. </build>
  202. </project>