pom.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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-admin-gateway</artifactId>
  12. <dependencies>
  13. <!-- ===================================== Or JAR ===================================== -->
  14. <!-- lombok -->
  15. <dependency>
  16. <groupId>org.projectlombok</groupId>
  17. <artifactId>lombok</artifactId>
  18. </dependency>
  19. <!-- FastDfs 客户端 -->
  20. <dependency>
  21. <groupId>com.github.tobato</groupId>
  22. <artifactId>fastdfs-client</artifactId>
  23. </dependency>
  24. <!-- Apache工具组件 -->
  25. <dependency>
  26. <groupId>commons-io</groupId>
  27. <artifactId>commons-io</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>commons-fileupload</groupId>
  31. <artifactId>commons-fileupload</artifactId>
  32. </dependency>
  33. <!-- POI组件 -->
  34. <dependency>
  35. <groupId>org.apache.poi</groupId>
  36. <artifactId>poi</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.poi</groupId>
  40. <artifactId>poi-ooxml</artifactId>
  41. </dependency>
  42. <!-- easyExcel组件 -->
  43. <dependency>
  44. <groupId>com.alibaba</groupId>
  45. <artifactId>easyexcel</artifactId>
  46. </dependency>
  47. <!--依赖-->
  48. <!-- <dependency>-->
  49. <!-- <groupId>net.sf.json-lib</groupId>-->
  50. <!-- <artifactId>json-lib</artifactId>-->
  51. <!-- <version>0.9</version>-->
  52. <!-- </dependency>-->
  53. <dependency>
  54. <groupId>com.alibaba</groupId>
  55. <artifactId>fastjson</artifactId>
  56. <version>1.2.68</version>
  57. </dependency>
  58. <!-- ===================================== Spring Boot JAR ===================================== -->
  59. <!-- 测试用例 -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-test</artifactId>
  63. </dependency>
  64. <!-- thymeleaf -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  68. </dependency>
  69. <!-- ===================================== Modular JAR ===================================== -->
  70. <!-- core -->
  71. <dependency>
  72. <groupId>com.cyzh</groupId>
  73. <artifactId>wuye-common-core</artifactId>
  74. <version>${project.version}</version>
  75. </dependency>
  76. <!-- 权限校验模块 -->
  77. <dependency>
  78. <groupId>com.cyzh</groupId>
  79. <artifactId>wuye-common-security</artifactId>
  80. <version>${project.version}</version>
  81. </dependency>
  82. <!-- 自定义标签 -->
  83. <dependency>
  84. <groupId>com.cyzh</groupId>
  85. <artifactId>wuye-common-tag</artifactId>
  86. <version>${project.version}</version>
  87. </dependency>
  88. <!-- 设备服务接口 -->
  89. <dependency>
  90. <groupId>com.cyzh</groupId>
  91. <artifactId>wuye-device-api</artifactId>
  92. <version>${project.version}</version>
  93. </dependency>
  94. <!-- 权限服务接口 -->
  95. <dependency>
  96. <groupId>com.cyzh</groupId>
  97. <artifactId>wuye-permissions-api</artifactId>
  98. <version>${project.version}</version>
  99. </dependency>
  100. <!-- 物业服务接口 -->
  101. <dependency>
  102. <groupId>com.cyzh</groupId>
  103. <artifactId>wuye-estate-api</artifactId>
  104. <version>${project.version}</version>
  105. </dependency>
  106. <!-- 广告服务接口 -->
  107. <dependency>
  108. <groupId>com.cyzh</groupId>
  109. <artifactId>wuye-ad-api</artifactId>
  110. <version>${project.version}</version>
  111. </dependency>
  112. <!-- 统计服务接口 -->
  113. <dependency>
  114. <groupId>com.cyzh</groupId>
  115. <artifactId>wuye-statistics-api</artifactId>
  116. <version>${project.version}</version>
  117. </dependency>
  118. <!-- 支付服务接口-->
  119. <dependency>
  120. <groupId>com.cyzh</groupId>
  121. <artifactId>wuye-pay-api</artifactId>
  122. <version>${project.version}</version>
  123. </dependency>
  124. <!-- 视频云服务接口 -->
  125. <dependency>
  126. <groupId>com.cyzh</groupId>
  127. <artifactId>wuye-video-cloud-api</artifactId>
  128. <version>${project.version}</version>
  129. </dependency>
  130. <!-- 物联网设备服务接口 -->
  131. <dependency>
  132. <groupId>com.cyzh</groupId>
  133. <artifactId>wuye-iot-api</artifactId>
  134. <version>${project.version}</version>
  135. </dependency>
  136. <!-- 物联网设备服务接口 -->
  137. <dependency>
  138. <groupId>com.cyzh</groupId>
  139. <artifactId>wuye-third-api</artifactId>
  140. <version>${project.version}</version>
  141. </dependency>
  142. <!-- 服务监控 -->
  143. <dependency>
  144. <groupId>org.springframework.cloud</groupId>
  145. <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.springframework.boot</groupId>
  149. <artifactId>spring-boot-starter-actuator</artifactId>
  150. </dependency>
  151. <!-- CSV工具-->
  152. <dependency>
  153. <groupId>net.sourceforge.javacsv</groupId>
  154. <artifactId>javacsv</artifactId>
  155. <version>2.0</version>
  156. </dependency>
  157. </dependencies>
  158. <build>
  159. <finalName>wuye-admin-gateway</finalName>
  160. <pluginManagement>
  161. <plugins>
  162. <plugin>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-maven-plugin</artifactId>
  165. <version>2.0.7.RELEASE</version>
  166. <configuration>
  167. <finalName>${project.build.finalName}</finalName>
  168. <layout>ZIP</layout>
  169. <includes>
  170. <include>
  171. <groupId>nothing</groupId>
  172. <artifactId>nothing</artifactId>
  173. </include>
  174. </includes>
  175. </configuration>
  176. <executions>
  177. <execution>
  178. <goals>
  179. <goal>repackage</goal>
  180. </goals>
  181. </execution>
  182. </executions>
  183. </plugin>
  184. </plugins>
  185. </pluginManagement>
  186. <plugins>
  187. <!-- Spring Boot 打包插件( 非“Web模块”请勿引入) -->
  188. <plugin>
  189. <groupId>org.springframework.boot</groupId>
  190. <artifactId>spring-boot-maven-plugin</artifactId>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.apache.maven.plugins</groupId>
  194. <artifactId>maven-dependency-plugin</artifactId>
  195. <executions>
  196. <execution>
  197. <id>copy-dependencies</id>
  198. <phase>package</phase>
  199. <goals>
  200. <goal>copy-dependencies</goal>
  201. </goals>
  202. <configuration>
  203. <!--target/lib是依赖jar包的输出目录,根据自己喜好配置-->
  204. <outputDirectory>target/lib</outputDirectory>
  205. <excludeTransitive>false</excludeTransitive>
  206. <stripVersion>false</stripVersion>
  207. <includeScope>runtime</includeScope>
  208. </configuration>
  209. </execution>
  210. </executions>
  211. </plugin>
  212. <plugin>
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-resources-plugin</artifactId>
  215. <executions>
  216. <execution>
  217. <id>copy-resources</id>
  218. <phase>package</phase>
  219. <goals>
  220. <goal>copy-resources</goal>
  221. </goals>
  222. <configuration>
  223. <resources>
  224. <resource>
  225. <directory>src/main/resources</directory>
  226. </resource>
  227. </resources>
  228. <outputDirectory>${project.build.directory}/resources</outputDirectory>
  229. </configuration>
  230. </execution>
  231. </executions>
  232. </plugin>
  233. </plugins>
  234. </build>
  235. </project>