拓恒河湖长制全民护河平台后端JAVA服务
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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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>com.aliyun</groupId>
  20. <artifactId>vod20170321</artifactId>
  21. <version>2.16.8</version>
  22. </dependency>
  23. <!-- 核心模块 -->
  24. <dependency>
  25. <groupId>com.tuoheng</groupId>
  26. <artifactId>tuoheng-system</artifactId>
  27. </dependency>
  28. <!-- 代码生成 -->
  29. <dependency>
  30. <groupId>com.tuoheng</groupId>
  31. <artifactId>tuoheng-generator</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. <optional>true</optional>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.amqp</groupId>
  40. <artifactId>spring-rabbit-test</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <!-- 引入阿里数据库连接池 -->
  44. <dependency>
  45. <groupId>com.alibaba</groupId>
  46. <artifactId>druid-spring-boot-starter</artifactId>
  47. <version>1.1.10</version>
  48. </dependency>
  49. <!-- https://mvnrepository.com/artifact/log4j/log4j -->
  50. <dependency>
  51. <groupId>log4j</groupId>
  52. <artifactId>log4j</artifactId>
  53. <version>1.2.17</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.hibernate</groupId>
  57. <artifactId>hibernate-validator</artifactId>
  58. <version>6.0.15.Final</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.google.protobuf</groupId>
  62. <artifactId>protobuf-java</artifactId>
  63. <version>3.9.2</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-websocket</artifactId>
  68. <version>2.0.4.RELEASE</version>
  69. </dependency>
  70. <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-amqp -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-amqp</artifactId>
  74. <version>2.5.2</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.amqp</groupId>
  78. <artifactId>spring-rabbit</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>net.coobird</groupId>
  82. <artifactId>thumbnailator</artifactId>
  83. <version>[0.4, 0.5)</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.poi</groupId>
  87. <artifactId>poi</artifactId>
  88. <version>4.0.1</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.poi</groupId>
  92. <artifactId>poi-scratchpad</artifactId>
  93. <version>4.0.1</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.poi</groupId>
  97. <artifactId>poi-ooxml</artifactId>
  98. <version>4.0.1</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.poi</groupId>
  102. <artifactId>poi-ooxml-schemas</artifactId>
  103. <version>4.0.1</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.lowagie</groupId>
  107. <artifactId>itext</artifactId>
  108. <version>2.1.7</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.lowagie</groupId>
  112. <artifactId>itext-rtf</artifactId>
  113. <version>2.1.7</version>
  114. </dependency>
  115. <!--阿里云OSS-->
  116. <dependency>
  117. <groupId>com.aliyun</groupId>
  118. <artifactId>aliyun-java-sdk-core</artifactId>
  119. <version>4.5.1</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.aliyun.oss</groupId>
  123. <artifactId>aliyun-sdk-oss</artifactId>
  124. <version>3.10.2</version>
  125. </dependency>
  126. </dependencies>
  127. <profiles>
  128. <!-- 本地开发环境 -->
  129. <profile>
  130. <id>local</id>
  131. <properties>
  132. <package.environment>local</package.environment>
  133. </properties>
  134. <activation>
  135. <activeByDefault>true</activeByDefault>
  136. </activation>
  137. </profile>
  138. <!-- 开发环境 -->
  139. <profile>
  140. <id>dev</id>
  141. <properties>
  142. <package.environment>dev</package.environment>
  143. </properties>
  144. </profile>
  145. <!-- 测试环境 -->
  146. <profile>
  147. <id>test</id>
  148. <properties>
  149. <package.environment>test</package.environment>
  150. </properties>
  151. </profile>
  152. <!-- 生产环境 -->
  153. <profile>
  154. <id>prod</id>
  155. <properties>
  156. <package.environment>prod</package.environment>
  157. </properties>
  158. </profile>
  159. </profiles>
  160. <build>
  161. <finalName>tuoheng_qmhh_admin</finalName>
  162. <resources>
  163. <resource>
  164. <directory>src/main/resources</directory>
  165. <filtering>true</filtering>
  166. <includes>
  167. <include>**/*.xml</include>
  168. <include>**/*.properties</include>
  169. <include>**/*.yml</include>
  170. </includes>
  171. </resource>
  172. <resource>
  173. <directory>src/main/resources</directory>
  174. <filtering>false</filtering>
  175. <includes>
  176. <include>**/*.docx</include>
  177. </includes>
  178. </resource>
  179. <resource>
  180. <directory>src/main/java</directory>
  181. <includes>
  182. <include>**/*.*</include>
  183. </includes>
  184. <excludes>
  185. <exclude>**/*.java</exclude>
  186. </excludes>
  187. </resource>
  188. <resource>
  189. <directory>src/main/resources</directory>
  190. <filtering>true</filtering>
  191. <targetPath>WEB-INF/classes</targetPath>
  192. <includes>
  193. <include>application-${package.environment}.yml</include>
  194. </includes>
  195. </resource>
  196. </resources>
  197. <pluginManagement>
  198. <plugins>
  199. <plugin>
  200. <groupId>org.springframework.boot</groupId>
  201. <artifactId>spring-boot-maven-plugin</artifactId>
  202. <version>2.1.11.RELEASE</version>
  203. <configuration>
  204. <finalName>${project.build.finalName}</finalName>
  205. </configuration>
  206. <executions>
  207. <execution>
  208. <goals>
  209. <goal>repackage</goal>
  210. </goals>
  211. </execution>
  212. </executions>
  213. </plugin>
  214. </plugins>
  215. </pluginManagement>
  216. <plugins>
  217. <plugin>
  218. <groupId>org.springframework.boot</groupId>
  219. <artifactId>spring-boot-maven-plugin</artifactId>
  220. </plugin>
  221. <plugin>
  222. <groupId>org.apache.maven.plugins</groupId>
  223. <artifactId>maven-surefire-plugin</artifactId>
  224. <version>2.7</version>
  225. <configuration>
  226. <skipTests>true</skipTests>
  227. </configuration>
  228. </plugin>
  229. </plugins>
  230. </build>
  231. </project>