pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.4.4</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.ebei</groupId>
  12. <artifactId>device-asset-weixin</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>device-asset-weixin</name>
  15. <description>资产管护系统对应微信小程序服务</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <swagger2.version>2.8.0</swagger2.version>
  19. <fastjson.version>1.2.62</fastjson.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-data-redis</artifactId>
  25. </dependency>
  26. <!-- <dependency>-->
  27. <!-- <groupId>org.springframework.boot</groupId>-->
  28. <!-- <artifactId>spring-boot-starter-security</artifactId>-->
  29. <!-- </dependency>-->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.projectlombok</groupId>
  36. <artifactId>lombok</artifactId>
  37. <optional>true</optional>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-test</artifactId>
  42. <scope>test</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.security</groupId>
  46. <artifactId>spring-security-test</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>mysql</groupId>
  51. <artifactId>mysql-connector-java</artifactId>
  52. <version>5.1.46</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.baomidou</groupId>
  56. <artifactId>mybatis-plus-boot-starter</artifactId>
  57. <version>3.4.2</version>
  58. </dependency>
  59. <!-- 这个需要为 true 热部署才有效 -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-devtools</artifactId>
  63. <optional>true</optional>
  64. <scope>true</scope>
  65. </dependency>
  66. <!-- swagger start -->
  67. <dependency>
  68. <groupId>io.springfox</groupId>
  69. <artifactId>springfox-swagger2</artifactId>
  70. <version>${swagger2.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>io.springfox</groupId>
  74. <artifactId>springfox-swagger-ui</artifactId>
  75. <version>${swagger2.version}</version>
  76. </dependency>
  77. <!-- swagger end -->
  78. <!-- http所需包 -->
  79. <dependency>
  80. <groupId>org.apache.httpcomponents</groupId>
  81. <artifactId>httpclient</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.apache.httpcomponents</groupId>
  85. <artifactId>httpcore</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.httpcomponents</groupId>
  89. <artifactId>httpmime</artifactId>
  90. <version>4.5.4</version>
  91. </dependency>
  92. <!-- /http所需包 -->
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>fastjson</artifactId>
  96. <version>${fastjson.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-validation</artifactId>
  101. <version>2.2.2.RELEASE</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>commons-lang</groupId>
  105. <artifactId>commons-lang</artifactId>
  106. <version>2.6</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>dom4j</groupId>
  110. <artifactId>dom4j</artifactId>
  111. <version>1.6.1</version>
  112. </dependency>
  113. <!--处理pdf-->
  114. <dependency>
  115. <groupId>org.apache.pdfbox</groupId>
  116. <artifactId>pdfbox</artifactId>
  117. <version>2.0.12</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.itextpdf</groupId>
  121. <artifactId>itextpdf</artifactId>
  122. <version>5.5.13.1</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.itextpdf</groupId>
  126. <artifactId>itext-asian</artifactId>
  127. <version>5.2.0</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>net.logstash.logback</groupId>
  131. <artifactId>logstash-logback-encoder</artifactId>
  132. <version>5.1</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>cn.hutool</groupId>
  136. <artifactId>hutool-all</artifactId>
  137. <version>5.6.3</version>
  138. </dependency>
  139. </dependencies>
  140. <build>
  141. <plugins>
  142. <!-- <plugin>
  143. <groupId>org.springframework.boot</groupId>
  144. <artifactId>spring-boot-maven-plugin</artifactId>
  145. </plugin> -->
  146. <plugin>
  147. <groupId>org.codehaus.mojo</groupId>
  148. <artifactId>build-helper-maven-plugin</artifactId>
  149. <executions>
  150. <execution>
  151. <id>timestamp-property</id>
  152. <goals>
  153. <goal>timestamp-property</goal>
  154. </goals>
  155. </execution>
  156. </executions>
  157. <configuration>
  158. <name>timestamp</name>
  159. <pattern>yyyyMMddHHmmss</pattern>
  160. <timeZone>GMT+8</timeZone>
  161. </configuration>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-assembly-plugin</artifactId>
  166. <executions>
  167. <execution>
  168. <id>make-assembly</id>
  169. <phase>package</phase>
  170. <goals>
  171. <goal>single</goal>
  172. </goals>
  173. <configuration>
  174. <finalName>${project.name}-${timestamp}</finalName>
  175. <skipAssembly>false</skipAssembly>
  176. <appendAssemblyId>false</appendAssemblyId>
  177. <descriptors>
  178. <descriptor>src/assembly/package.xml</descriptor>
  179. </descriptors>
  180. </configuration>
  181. </execution>
  182. </executions>
  183. </plugin>
  184. </plugins>
  185. </build>
  186. </project>