pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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>com.trade</groupId>
  7. <artifactId>trade-platform</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. </parent>
  10. <groupId>com.trade</groupId>
  11. <artifactId>trade-admin</artifactId>
  12. <version>1.0.0-SNAPSHOT</version>
  13. <description>trade-admin 贸服通B端</description>
  14. <properties>
  15. <maven.compiler.source>8</maven.compiler.source>
  16. <maven.compiler.target>8</maven.compiler.target>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.trade</groupId>
  21. <artifactId>trade-common</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.trade</groupId>
  25. <artifactId>trade-service</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.alibaba.cloud</groupId>
  29. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.alibaba.cloud</groupId>
  33. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-data-redis</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-web</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.cloud</groupId>
  45. <artifactId>spring-cloud-starter-openfeign</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.cloud</groupId>
  49. <artifactId>spring-cloud-loadbalancer</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-test</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.mysql</groupId>
  58. <artifactId>mysql-connector-j</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-configuration-processor</artifactId>
  63. <optional>true</optional>
  64. </dependency>
  65. <!-- JSON工具类 -->
  66. <dependency>
  67. <groupId>com.fasterxml.jackson.core</groupId>
  68. <artifactId>jackson-databind</artifactId>
  69. </dependency>
  70. <!-- pagehelper 分页插件 -->
  71. <dependency>
  72. <groupId>com.github.pagehelper</groupId>
  73. <artifactId>pagehelper-spring-boot-starter</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.alibaba</groupId>
  77. <artifactId>druid-spring-boot-starter</artifactId>
  78. </dependency>
  79. <!-- 解析客户端操作系统、浏览器等 -->
  80. <dependency>
  81. <groupId>eu.bitwalker</groupId>
  82. <artifactId>UserAgentUtils</artifactId>
  83. </dependency>
  84. <!-- 获取系统信息 -->
  85. <dependency>
  86. <groupId>com.github.oshi</groupId>
  87. <artifactId>oshi-core</artifactId>
  88. <version>6.4.3</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.flowable</groupId>
  92. <artifactId>flowable-spring-boot-starter</artifactId>
  93. <version>6.8.1</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.github.ulisesbocchio</groupId>
  97. <artifactId>jasypt-spring-boot-starter</artifactId>
  98. <version>3.0.4</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.itextpdf</groupId>
  102. <artifactId>itextpdf</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.itextpdf</groupId>
  106. <artifactId>itext-asian</artifactId>
  107. </dependency>
  108. </dependencies>
  109. <build>
  110. <resources>
  111. <resource>
  112. <directory>src/main/java</directory>
  113. <includes>
  114. <include>**/*.xml</include>
  115. </includes>
  116. </resource>
  117. <resource>
  118. <directory>src/main/resources</directory>
  119. </resource>
  120. </resources>
  121. <plugins>
  122. <plugin>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-maven-plugin</artifactId>
  125. <configuration>
  126. <mainClass>com.trade.admin.TradeAdminApplication</mainClass>
  127. <!-- maven不会将本地jar包 package 到 target jar中,导致生产环境运行失败 -->
  128. <includeSystemScope>true</includeSystemScope>
  129. </configuration>
  130. <executions>
  131. <execution>
  132. <goals>
  133. <goal>repackage</goal>
  134. <!-- <goal>build-info</goal>-->
  135. </goals>
  136. </execution>
  137. </executions>
  138. </plugin>
  139. </plugins>
  140. </build>
  141. </project>