拓恒林场项目
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

315 líneas
10KB

  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. <parent>
  7. <artifactId>tuoheng</artifactId>
  8. <groupId>com.tuoheng</groupId>
  9. <version>0.0.1-SNAPSHOT</version>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>tuoheng-admin</artifactId>
  13. <packaging>jar</packaging>
  14. <name>tuoheng-admin</name>
  15. <description>Demo project for Spring Boot</description>
  16. <!-- 依赖声明 -->
  17. <dependencies>
  18. <dependency>
  19. <groupId>io.springfox</groupId>
  20. <artifactId>springfox-boot-starter</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.aliyun</groupId>
  24. <artifactId>vod20170321</artifactId>
  25. <version>2.16.8</version>
  26. </dependency>
  27. <!-- 核心模块 -->
  28. <dependency>
  29. <groupId>com.tuoheng</groupId>
  30. <artifactId>tuoheng-system</artifactId>
  31. </dependency>
  32. <!-- 代码生成 -->
  33. <dependency>
  34. <groupId>com.tuoheng</groupId>
  35. <artifactId>tuoheng-generator</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.projectlombok</groupId>
  39. <artifactId>lombok</artifactId>
  40. <optional>true</optional>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.amqp</groupId>
  44. <artifactId>spring-rabbit-test</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <!-- 引入阿里数据库连接池 -->
  48. <dependency>
  49. <groupId>com.alibaba</groupId>
  50. <artifactId>druid-spring-boot-starter</artifactId>
  51. <version>1.1.10</version>
  52. </dependency>
  53. <!-- https://mvnrepository.com/artifact/log4j/log4j -->
  54. <dependency>
  55. <groupId>log4j</groupId>
  56. <artifactId>log4j</artifactId>
  57. <version>1.2.17</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.hibernate</groupId>
  61. <artifactId>hibernate-validator</artifactId>
  62. <version>6.0.15.Final</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.google.protobuf</groupId>
  66. <artifactId>protobuf-java</artifactId>
  67. <version>3.9.2</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-websocket</artifactId>
  72. <version>2.0.4.RELEASE</version>
  73. </dependency>
  74. <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-amqp -->
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-amqp</artifactId>
  78. <version>2.5.2</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.amqp</groupId>
  82. <artifactId>spring-rabbit</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>net.coobird</groupId>
  86. <artifactId>thumbnailator</artifactId>
  87. <version>[0.4, 0.5)</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.poi</groupId>
  91. <artifactId>poi</artifactId>
  92. <version>4.0.1</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.poi</groupId>
  96. <artifactId>poi-scratchpad</artifactId>
  97. <version>4.0.1</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.poi</groupId>
  101. <artifactId>poi-ooxml</artifactId>
  102. <version>4.0.1</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.poi</groupId>
  106. <artifactId>poi-ooxml-schemas</artifactId>
  107. <version>4.0.1</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.lowagie</groupId>
  111. <artifactId>itext</artifactId>
  112. <version>2.1.7</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.lowagie</groupId>
  116. <artifactId>itext-rtf</artifactId>
  117. <version>2.1.7</version>
  118. </dependency>
  119. <!--阿里云视频点播-->
  120. <dependency>
  121. <groupId>com.aliyun</groupId>
  122. <artifactId>aliyun-java-sdk-core</artifactId>
  123. <version>4.5.1</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.aliyun.oss</groupId>
  127. <artifactId>aliyun-sdk-oss</artifactId>
  128. <version>3.10.2</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.aliyun</groupId>
  132. <artifactId>aliyun-java-sdk-vod</artifactId>
  133. <version>2.15.11</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.alibaba</groupId>
  137. <artifactId>fastjson</artifactId>
  138. <version>1.2.28</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.json</groupId>
  142. <artifactId>json</artifactId>
  143. <version>20170516</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.google.code.gson</groupId>
  147. <artifactId>gson</artifactId>
  148. <version>2.8.2</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.aliyun</groupId>
  152. <artifactId>aliyun-java-sdk-vod</artifactId>
  153. <version>2.15.11</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.alibaba</groupId>
  157. <artifactId>fastjson</artifactId>
  158. <version>1.2.62</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.aliyun</groupId>
  162. <artifactId>aliyun-java-sdk-kms</artifactId>
  163. <version>2.10.1</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.aliyun.vod</groupId>
  167. <artifactId>upload</artifactId>
  168. <version>1.4.14</version>
  169. <scope>system</scope>
  170. <systemPath>${project.basedir}/src/main/resources/lib/aliyun-java-vod-upload-1.4.14.jar</systemPath>
  171. </dependency>
  172. <!--mapStruct依赖 高性能对象映射-->
  173. <!--mapstruct核心-->
  174. <dependency>
  175. <groupId>org.mapstruct</groupId>
  176. <artifactId>mapstruct</artifactId>
  177. <version>1.5.3.Final</version>
  178. </dependency>
  179. <!--mapstruct编译-->
  180. <dependency>
  181. <groupId>org.mapstruct</groupId>
  182. <artifactId>mapstruct-processor</artifactId>
  183. <version>1.5.3.Final</version>
  184. </dependency>
  185. </dependencies>
  186. <profiles>
  187. <!-- 本地开发环境 -->
  188. <profile>
  189. <id>local</id>
  190. <properties>
  191. <package.environment>local</package.environment>
  192. </properties>
  193. <activation>
  194. <activeByDefault>true</activeByDefault>
  195. </activation>
  196. </profile>
  197. <!-- 开发环境 -->
  198. <profile>
  199. <id>dev</id>
  200. <properties>
  201. <package.environment>dev</package.environment>
  202. </properties>
  203. </profile>
  204. <!-- 测试环境 -->
  205. <profile>
  206. <id>test</id>
  207. <properties>
  208. <package.environment>test</package.environment>
  209. </properties>
  210. </profile>
  211. <!-- 机场环境 -->
  212. <profile>
  213. <id>airport</id>
  214. <properties>
  215. <package.environment>airport</package.environment>
  216. </properties>
  217. </profile>
  218. <!-- 生产环境 -->
  219. <profile>
  220. <id>prod</id>
  221. <properties>
  222. <package.environment>prod</package.environment>
  223. </properties>
  224. </profile>
  225. </profiles>
  226. <build>
  227. <finalName>tuoheng_lc</finalName>
  228. <resources>
  229. <resource>
  230. <directory>src/main/resources</directory>
  231. <filtering>true</filtering>
  232. <includes>
  233. <include>**/*.xml</include>
  234. <include>**/*.properties</include>
  235. <include>**/*.yml</include>
  236. </includes>
  237. </resource>
  238. <resource>
  239. <directory>src/main/resources</directory>
  240. <filtering>false</filtering>
  241. <includes>
  242. <include>**/*.docx</include>
  243. </includes>
  244. </resource>
  245. <resource>
  246. <directory>src/main/java</directory>
  247. <includes>
  248. <include>**/*.*</include>
  249. </includes>
  250. <excludes>
  251. <exclude>**/*.java</exclude>
  252. </excludes>
  253. </resource>
  254. <resource>
  255. <directory>src/main/resources</directory>
  256. <filtering>true</filtering>
  257. <targetPath>WEB-INF/classes</targetPath>
  258. <includes>
  259. <include>application-${package.environment}.yml</include>
  260. </includes>
  261. </resource>
  262. </resources>
  263. <pluginManagement>
  264. <plugins>
  265. <plugin>
  266. <groupId>org.springframework.boot</groupId>
  267. <artifactId>spring-boot-maven-plugin</artifactId>
  268. <version>2.1.11.RELEASE</version>
  269. <configuration>
  270. <finalName>${project.build.finalName}</finalName>
  271. </configuration>
  272. <executions>
  273. <execution>
  274. <goals>
  275. <goal>repackage</goal>
  276. </goals>
  277. </execution>
  278. </executions>
  279. </plugin>
  280. </plugins>
  281. </pluginManagement>
  282. <plugins>
  283. <plugin>
  284. <groupId>org.springframework.boot</groupId>
  285. <artifactId>spring-boot-maven-plugin</artifactId>
  286. </plugin>
  287. <plugin>
  288. <groupId>org.apache.maven.plugins</groupId>
  289. <artifactId>maven-surefire-plugin</artifactId>
  290. <version>2.7</version>
  291. <configuration>
  292. <skipTests>true</skipTests>
  293. </configuration>
  294. </plugin>
  295. </plugins>
  296. </build>
  297. </project>