拓恒高速公路巡检管理平台 服务端
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.

pom.xml 8.3KB

2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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-admin</artifactId>
  12. <!-- 依赖声明管理 -->
  13. <dependencies>
  14. <!-- 核心基类模块 -->
  15. <dependency>
  16. <groupId>com.tuoheng</groupId>
  17. <artifactId>tuoheng-common-core</artifactId>
  18. </dependency>
  19. <!-- Feign调用层系统API接口 -->
  20. <dependency>
  21. <groupId>com.tuoheng</groupId>
  22. <artifactId>tuoheng-system-feign</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. <!-- Springboot test依赖 -->
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-test</artifactId>
  37. <scope>test</scope>
  38. </dependency>
  39. <!-- MySql驱动 -->
  40. <dependency>
  41. <groupId>mysql</groupId>
  42. <artifactId>mysql-connector-java</artifactId>
  43. <scope>runtime</scope>
  44. </dependency>
  45. <!-- 引入阿里数据库连接池 -->
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>druid-spring-boot-starter</artifactId>
  49. <version>1.1.10</version>
  50. </dependency>
  51. <!--mybatis-plus 代码自动生成 -->
  52. <dependency>
  53. <groupId>com.baomidou</groupId>
  54. <artifactId>mybatis-plus-generator</artifactId>
  55. <version>3.2.0</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.projectlombok</groupId>
  59. <artifactId>lombok</artifactId>
  60. <optional>true</optional>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.aliyun</groupId>
  64. <artifactId>vod20170321</artifactId>
  65. <version>2.16.8</version>
  66. </dependency>
  67. <!--阿里云视频点播-->
  68. <dependency>
  69. <groupId>com.aliyun</groupId>
  70. <artifactId>aliyun-java-sdk-core</artifactId>
  71. <version>4.5.1</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.aliyun.oss</groupId>
  75. <artifactId>aliyun-sdk-oss</artifactId>
  76. <version>3.10.2</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.aliyun</groupId>
  80. <artifactId>aliyun-java-sdk-vod</artifactId>
  81. <version>2.15.11</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.alibaba</groupId>
  85. <artifactId>fastjson</artifactId>
  86. <version>1.2.28</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.json</groupId>
  90. <artifactId>json</artifactId>
  91. <version>20170516</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.google.code.gson</groupId>
  95. <artifactId>gson</artifactId>
  96. <version>2.8.2</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.aliyun</groupId>
  100. <artifactId>aliyun-java-sdk-kms</artifactId>
  101. <version>2.10.1</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.aliyun.vod</groupId>
  105. <artifactId>upload</artifactId>
  106. <version>1.4.14</version>
  107. <scope>system</scope>
  108. <systemPath>${project.basedir}/src/main/resources/lib/aliyun-java-vod-upload-1.4.14.jar</systemPath>
  109. </dependency>
  110. <dependency>
  111. <groupId>junit</groupId>
  112. <artifactId>junit</artifactId>
  113. <scope>test</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>junit</groupId>
  117. <artifactId>junit</artifactId>
  118. <scope>test</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>junit</groupId>
  122. <artifactId>junit</artifactId>
  123. <scope>test</scope>
  124. </dependency>
  125. <!--mapStruct依赖 高性能对象映射-->
  126. <!--mapstruct核心-->
  127. <dependency>
  128. <groupId>org.mapstruct</groupId>
  129. <artifactId>mapstruct</artifactId>
  130. <version>1.5.3.Final</version>
  131. </dependency>
  132. <!--mapstruct编译-->
  133. <dependency>
  134. <groupId>org.mapstruct</groupId>
  135. <artifactId>mapstruct-processor</artifactId>
  136. <version>1.5.3.Final</version>
  137. </dependency>
  138. </dependencies>
  139. <!-- 环境变量配置 -->
  140. <profiles>
  141. <!-- 本地开发环境 -->
  142. <profile>
  143. <id>local</id>
  144. <properties>
  145. <package.environment>local</package.environment>
  146. </properties>
  147. <activation>
  148. <activeByDefault>true</activeByDefault>
  149. </activation>
  150. </profile>
  151. <!-- 开发环境 -->
  152. <profile>
  153. <id>dev</id>
  154. <properties>
  155. <package.environment>dev</package.environment>
  156. </properties>
  157. </profile>
  158. <!-- 测试环境 -->
  159. <profile>
  160. <id>test</id>
  161. <properties>
  162. <package.environment>test</package.environment>
  163. </properties>
  164. </profile>
  165. <!-- 生产环境 -->
  166. <profile>
  167. <id>prod</id>
  168. <properties>
  169. <package.environment>prod</package.environment>
  170. </properties>
  171. </profile>
  172. </profiles>
  173. <!-- 环境变量构建 -->
  174. <build>
  175. <finalName>tuoheng_freeway_admin</finalName>
  176. <resources>
  177. <resource>
  178. <directory>src/main/resources</directory>
  179. <filtering>true</filtering>
  180. </resource>
  181. <resource>
  182. <directory>src/main/java</directory>
  183. <includes>
  184. <include>**/*.*</include>
  185. </includes>
  186. <excludes>
  187. <exclude>**/*.java</exclude>
  188. </excludes>
  189. </resource>
  190. <resource>
  191. <directory>src/main/resources</directory>
  192. <filtering>true</filtering>
  193. <targetPath>WEB-INF/classes</targetPath>
  194. <includes>
  195. <include>application-${package.environment}.yml</include>
  196. </includes>
  197. </resource>
  198. </resources>
  199. <pluginManagement>
  200. <plugins>
  201. <plugin>
  202. <groupId>org.springframework.boot</groupId>
  203. <artifactId>spring-boot-maven-plugin</artifactId>
  204. <version>2.1.11.RELEASE</version>
  205. <configuration>
  206. <finalName>${project.build.finalName}</finalName>
  207. </configuration>
  208. <executions>
  209. <execution>
  210. <goals>
  211. <goal>repackage</goal>
  212. </goals>
  213. </execution>
  214. </executions>
  215. </plugin>
  216. </plugins>
  217. </pluginManagement>
  218. <plugins>
  219. <plugin>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-resources-plugin</artifactId>
  222. <version>3.1.0</version>
  223. </plugin>
  224. <plugin>
  225. <groupId>org.springframework.boot</groupId>
  226. <artifactId>spring-boot-maven-plugin</artifactId>
  227. <executions>
  228. <execution>
  229. <goals>
  230. <goal>repackage</goal>
  231. </goals>
  232. </execution>
  233. </executions>
  234. </plugin>
  235. </plugins>
  236. </build>
  237. </project>