pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. <scope>runtime</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.mybatis.spring.boot</groupId>
  56. <artifactId>mybatis-spring-boot-starter</artifactId>
  57. <version>2.1.4</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.baomidou</groupId>
  61. <artifactId>mybatis-plus-boot-starter</artifactId>
  62. <version>2.1.9</version>
  63. </dependency>
  64. <!-- 这个需要为 true 热部署才有效 -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-devtools</artifactId>
  68. <optional>true</optional>
  69. <scope>true</scope>
  70. </dependency>
  71. <!-- swagger start -->
  72. <dependency>
  73. <groupId>io.springfox</groupId>
  74. <artifactId>springfox-swagger2</artifactId>
  75. <version>${swagger2.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>io.springfox</groupId>
  79. <artifactId>springfox-swagger-ui</artifactId>
  80. <version>${swagger2.version}</version>
  81. </dependency>
  82. <!-- swagger end -->
  83. <!-- http所需包 -->
  84. <dependency>
  85. <groupId>org.apache.httpcomponents</groupId>
  86. <artifactId>httpclient</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.httpcomponents</groupId>
  90. <artifactId>httpcore</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.httpcomponents</groupId>
  94. <artifactId>httpmime</artifactId>
  95. <version>4.5.4</version>
  96. </dependency>
  97. <!-- /http所需包 -->
  98. <dependency>
  99. <groupId>com.alibaba</groupId>
  100. <artifactId>fastjson</artifactId>
  101. <version>${fastjson.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-validation</artifactId>
  106. <version>2.2.2.RELEASE</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>commons-lang</groupId>
  110. <artifactId>commons-lang</artifactId>
  111. <version>2.6</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>dom4j</groupId>
  115. <artifactId>dom4j</artifactId>
  116. <version>1.6.1</version>
  117. </dependency>
  118. </dependencies>
  119. <build>
  120. <plugins>
  121. <!-- <plugin>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-maven-plugin</artifactId>
  124. </plugin> -->
  125. <plugin>
  126. <groupId>org.codehaus.mojo</groupId>
  127. <artifactId>build-helper-maven-plugin</artifactId>
  128. <executions>
  129. <execution>
  130. <id>timestamp-property</id>
  131. <goals>
  132. <goal>timestamp-property</goal>
  133. </goals>
  134. </execution>
  135. </executions>
  136. <configuration>
  137. <name>timestamp</name>
  138. <pattern>yyyyMMddHHmmss</pattern>
  139. <timeZone>GMT+8</timeZone>
  140. </configuration>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-assembly-plugin</artifactId>
  145. <executions>
  146. <execution>
  147. <id>make-assembly</id>
  148. <phase>package</phase>
  149. <goals>
  150. <goal>single</goal>
  151. </goals>
  152. <configuration>
  153. <finalName>${project.name}-${timestamp}</finalName>
  154. <skipAssembly>false</skipAssembly>
  155. <appendAssemblyId>false</appendAssemblyId>
  156. <descriptors>
  157. <descriptor>src/assembly/package.xml</descriptor>
  158. </descriptors>
  159. </configuration>
  160. </execution>
  161. </executions>
  162. </plugin>
  163. </plugins>
  164. </build>
  165. </project>