拓恒河湖长SaaS系统租户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.

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