pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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>wuye-gateway</artifactId>
  7. <groupId>com.cyzh</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>wuye-app-gateway</artifactId>
  12. <packaging>jar</packaging>
  13. <!--依赖-->
  14. <dependencies>
  15. <!-- lombok -->
  16. <dependency>
  17. <groupId>org.projectlombok</groupId>
  18. <artifactId>lombok</artifactId>
  19. </dependency>
  20. <!-- FastDfs 客户端 -->
  21. <dependency>
  22. <groupId>com.github.tobato</groupId>
  23. <artifactId>fastdfs-client</artifactId>
  24. </dependency>
  25. <!-- Apache工具组件 -->
  26. <dependency>
  27. <groupId>commons-io</groupId>
  28. <artifactId>commons-io</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>commons-fileupload</groupId>
  32. <artifactId>commons-fileupload</artifactId>
  33. </dependency>
  34. <!-- ===================================== Spring Boot JAR ===================================== -->
  35. <!-- 测试用例 -->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-test</artifactId>
  39. </dependency>
  40. <!-- ===================================== Modular JAR ===================================== -->
  41. <!-- core Spring Cloud JAR -->
  42. <dependency>
  43. <groupId>com.cyzh</groupId>
  44. <artifactId>wuye-common-core</artifactId>
  45. <version>${project.version}</version>
  46. </dependency>
  47. <!-- 权限校验模块 -->
  48. <dependency>
  49. <groupId>com.cyzh</groupId>
  50. <artifactId>wuye-common-security</artifactId>
  51. <version>${project.version}</version>
  52. <scope>compile</scope>
  53. </dependency>
  54. <!-- 权限服务接口 -->
  55. <dependency>
  56. <groupId>com.cyzh</groupId>
  57. <artifactId>wuye-permissions-api</artifactId>
  58. <version>${project.version}</version>
  59. </dependency>
  60. <!-- 物业服务接口 -->
  61. <dependency>
  62. <groupId>com.cyzh</groupId>
  63. <artifactId>wuye-estate-api</artifactId>
  64. <version>${project.version}</version>
  65. </dependency>
  66. <!-- 物业服务接口 -->
  67. <dependency>
  68. <groupId>com.cyzh</groupId>
  69. <artifactId>wuye-pay-api</artifactId>
  70. <version>${project.version}</version>
  71. </dependency>
  72. <!-- 统计服务接口 -->
  73. <dependency>
  74. <groupId>com.cyzh</groupId>
  75. <artifactId>wuye-statistics-api</artifactId>
  76. <version>${project.version}</version>
  77. </dependency>
  78. <!-- 广告服务接口 -->
  79. <dependency>
  80. <groupId>com.cyzh</groupId>
  81. <artifactId>wuye-ad-api</artifactId>
  82. <version>${project.version}</version>
  83. </dependency>
  84. <!-- 第三方服务接口 -->
  85. <dependency>
  86. <groupId>com.cyzh</groupId>
  87. <artifactId>wuye-third-api</artifactId>
  88. <version>${project.version}</version>
  89. </dependency>
  90. <!-- ===================================== 阿里云短信 JAR ===================================== -->
  91. <dependency>
  92. <groupId>com.aliyun</groupId>
  93. <artifactId>aliyun-java-sdk-core</artifactId>
  94. <version>4.0.6</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.aliyun</groupId>
  98. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  99. <version>1.1.0</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>cn.hutool</groupId>
  103. <artifactId>hutool-all</artifactId>
  104. <version>5.4.2</version>
  105. <scope>compile</scope>
  106. </dependency>
  107. <!--jwt鉴权工具-->
  108. <dependency>
  109. <groupId>com.auth0</groupId>
  110. <artifactId>java-jwt</artifactId>
  111. <version>3.7.0</version>
  112. </dependency>
  113. </dependencies>
  114. <build>
  115. <finalName>wuye-app-gateway</finalName>
  116. <pluginManagement>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-maven-plugin</artifactId>
  121. <version>2.0.7.RELEASE</version>
  122. <configuration>
  123. <finalName>${project.build.finalName}</finalName>
  124. <layout>ZIP</layout>
  125. <includes>
  126. <include>
  127. <groupId>nothing</groupId>
  128. <artifactId>nothing</artifactId>
  129. </include>
  130. </includes>
  131. </configuration>
  132. <executions>
  133. <execution>
  134. <goals>
  135. <goal>repackage</goal>
  136. </goals>
  137. </execution>
  138. </executions>
  139. </plugin>
  140. </plugins>
  141. </pluginManagement>
  142. <plugins>
  143. <!-- Spring Boot 打包插件( 非“Web模块”请勿引入) -->
  144. <plugin>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-maven-plugin</artifactId>
  147. </plugin>
  148. <plugin>
  149. <groupId>org.apache.maven.plugins</groupId>
  150. <artifactId>maven-dependency-plugin</artifactId>
  151. <executions>
  152. <execution>
  153. <id>copy-dependencies</id>
  154. <phase>package</phase>
  155. <goals>
  156. <goal>copy-dependencies</goal>
  157. </goals>
  158. <configuration>
  159. <!--target/lib是依赖jar包的输出目录,根据自己喜好配置-->
  160. <outputDirectory>target/lib</outputDirectory>
  161. <excludeTransitive>false</excludeTransitive>
  162. <stripVersion>false</stripVersion>
  163. <includeScope>runtime</includeScope>
  164. </configuration>
  165. </execution>
  166. </executions>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-resources-plugin</artifactId>
  171. <executions>
  172. <execution>
  173. <id>copy-resources</id>
  174. <phase>package</phase>
  175. <goals>
  176. <goal>copy-resources</goal>
  177. </goals>
  178. <configuration>
  179. <resources>
  180. <resource>
  181. <directory>src/main/resources</directory>
  182. </resource>
  183. </resources>
  184. <outputDirectory>${project.build.directory}/resources</outputDirectory>
  185. </configuration>
  186. </execution>
  187. </executions>
  188. </plugin>
  189. </plugins>
  190. </build>
  191. </project>