拓恒高速公路巡检管理平台 服务端
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

263 lines
8.6KB

  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. <!-- 处理word -->
  139. <dependency>
  140. <groupId>com.lowagie</groupId>
  141. <artifactId>itext</artifactId>
  142. <version>2.1.7</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.lowagie</groupId>
  146. <artifactId>itext-rtf</artifactId>
  147. <version>2.1.7</version>
  148. </dependency>
  149. </dependencies>
  150. <!-- 环境变量配置 -->
  151. <profiles>
  152. <!-- 本地开发环境 -->
  153. <profile>
  154. <id>local</id>
  155. <properties>
  156. <package.environment>local</package.environment>
  157. </properties>
  158. <activation>
  159. <activeByDefault>true</activeByDefault>
  160. </activation>
  161. </profile>
  162. <!-- 开发环境 -->
  163. <profile>
  164. <id>dev</id>
  165. <properties>
  166. <package.environment>dev</package.environment>
  167. </properties>
  168. </profile>
  169. <!-- 测试环境 -->
  170. <profile>
  171. <id>test</id>
  172. <properties>
  173. <package.environment>test</package.environment>
  174. </properties>
  175. </profile>
  176. <!-- 生产环境 -->
  177. <profile>
  178. <id>prod</id>
  179. <properties>
  180. <package.environment>prod</package.environment>
  181. </properties>
  182. </profile>
  183. </profiles>
  184. <!-- 环境变量构建 -->
  185. <build>
  186. <finalName>tuoheng_freeway_admin</finalName>
  187. <resources>
  188. <resource>
  189. <directory>src/main/resources</directory>
  190. <filtering>true</filtering>
  191. </resource>
  192. <resource>
  193. <directory>src/main/java</directory>
  194. <includes>
  195. <include>**/*.*</include>
  196. </includes>
  197. <excludes>
  198. <exclude>**/*.java</exclude>
  199. </excludes>
  200. </resource>
  201. <resource>
  202. <directory>src/main/resources</directory>
  203. <filtering>true</filtering>
  204. <targetPath>WEB-INF/classes</targetPath>
  205. <includes>
  206. <include>application-${package.environment}.yml</include>
  207. </includes>
  208. </resource>
  209. </resources>
  210. <pluginManagement>
  211. <plugins>
  212. <plugin>
  213. <groupId>org.springframework.boot</groupId>
  214. <artifactId>spring-boot-maven-plugin</artifactId>
  215. <version>2.1.11.RELEASE</version>
  216. <configuration>
  217. <finalName>${project.build.finalName}</finalName>
  218. </configuration>
  219. <executions>
  220. <execution>
  221. <goals>
  222. <goal>repackage</goal>
  223. </goals>
  224. </execution>
  225. </executions>
  226. </plugin>
  227. </plugins>
  228. </pluginManagement>
  229. <plugins>
  230. <plugin>
  231. <groupId>org.apache.maven.plugins</groupId>
  232. <artifactId>maven-resources-plugin</artifactId>
  233. <version>3.1.0</version>
  234. </plugin>
  235. <plugin>
  236. <groupId>org.springframework.boot</groupId>
  237. <artifactId>spring-boot-maven-plugin</artifactId>
  238. <executions>
  239. <execution>
  240. <goals>
  241. <goal>repackage</goal>
  242. </goals>
  243. </execution>
  244. </executions>
  245. </plugin>
  246. </plugins>
  247. </build>
  248. </project>