拓恒机场统一管理平台
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.

186 lines
6.3KB

  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_airport_platform</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>拓恒机场统一管理后台</description>
  16. <!-- 依赖声明 -->
  17. <dependencies>
  18. <!-- Consul注册中心起始依赖 -->
  19. <dependency>
  20. <groupId>org.springframework.cloud</groupId>
  21. <artifactId>spring-cloud-starter-consul-discovery</artifactId>
  22. </dependency>
  23. <!-- 核心模块 -->
  24. <dependency>
  25. <groupId>com.tuoheng</groupId>
  26. <artifactId>tuoheng-system</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.projectlombok</groupId>
  30. <artifactId>lombok</artifactId>
  31. <optional>true</optional>
  32. </dependency>
  33. <!-- 引入阿里数据库连接池 -->
  34. <dependency>
  35. <groupId>com.alibaba</groupId>
  36. <artifactId>druid-spring-boot-starter</artifactId>
  37. <version>1.1.10</version>
  38. </dependency>
  39. <!-- https://mvnrepository.com/artifact/log4j/log4j -->
  40. <dependency>
  41. <groupId>log4j</groupId>
  42. <artifactId>log4j</artifactId>
  43. <version>1.2.17</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-websocket</artifactId>
  48. <version>2.0.4.RELEASE</version>
  49. </dependency>
  50. <!-- 阿里云OSS -->
  51. <dependency>
  52. <groupId>com.aliyun.oss</groupId>
  53. <artifactId>aliyun-sdk-oss</artifactId>
  54. <version>3.10.2</version>
  55. </dependency>
  56. <!--mqtt 相关依赖-->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-integration</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.integration</groupId>
  63. <artifactId>spring-integration-stream</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.integration</groupId>
  67. <artifactId>spring-integration-mqtt</artifactId>
  68. </dependency>
  69. <!-- <dependency>-->
  70. <!-- <groupId>org.quartz-scheduler</groupId>-->
  71. <!-- <artifactId>quartz</artifactId>-->
  72. <!-- <version>2.3.2</version>-->
  73. <!-- </dependency>-->
  74. </dependencies>
  75. <profiles>
  76. <!-- 本地开发环境 -->
  77. <profile>
  78. <id>local</id>
  79. <properties>
  80. <package.environment>local</package.environment>
  81. </properties>
  82. <activation>
  83. <activeByDefault>true</activeByDefault>
  84. </activation>
  85. </profile>
  86. <!-- 开发环境 -->
  87. <profile>
  88. <id>dev</id>
  89. <properties>
  90. <package.environment>dev</package.environment>
  91. </properties>
  92. </profile>
  93. <!-- 测试环境 -->
  94. <profile>
  95. <id>test</id>
  96. <properties>
  97. <package.environment>test</package.environment>
  98. </properties>
  99. </profile>
  100. <!-- 生产环境 -->
  101. <profile>
  102. <id>prod</id>
  103. <properties>
  104. <package.environment>prod</package.environment>
  105. </properties>
  106. </profile>
  107. </profiles>
  108. <build>
  109. <finalName>tuoheng_airport_admin</finalName>
  110. <resources>
  111. <resource>
  112. <directory>src/main/resources</directory>
  113. <filtering>true</filtering>
  114. <!-- <excludes>-->
  115. <!-- <exclude>application-dev.yml</exclude>-->
  116. <!-- <exclude>application-test.yml</exclude>-->
  117. <!-- <exclude>application-prod.yml</exclude>-->
  118. <!-- </excludes>-->
  119. </resource>
  120. <resource>
  121. <directory>src/main/java</directory>
  122. <includes>
  123. <include>**/*.*</include>
  124. </includes>
  125. <excludes>
  126. <exclude>**/*.java</exclude>
  127. </excludes>
  128. </resource>
  129. <resource>
  130. <directory>src/main/resources</directory>
  131. <filtering>true</filtering>
  132. <targetPath>WEB-INF/classes</targetPath>
  133. <includes>
  134. <include>application-${package.environment}.yml</include>
  135. </includes>
  136. </resource>
  137. </resources>
  138. <pluginManagement>
  139. <plugins>
  140. <plugin>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-maven-plugin</artifactId>
  143. <version>2.1.11.RELEASE</version>
  144. <configuration>
  145. <finalName>${project.build.finalName}</finalName>
  146. </configuration>
  147. <executions>
  148. <execution>
  149. <goals>
  150. <goal>repackage</goal>
  151. </goals>
  152. </execution>
  153. </executions>
  154. </plugin>
  155. </plugins>
  156. </pluginManagement>
  157. <plugins>
  158. <plugin>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-maven-plugin</artifactId>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-surefire-plugin</artifactId>
  165. <version>2.7</version>
  166. <configuration>
  167. <skipTests>true</skipTests>
  168. </configuration>
  169. </plugin>
  170. </plugins>
  171. </build>
  172. </project>