pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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.boot</groupId>
  45. <artifactId>spring-boot-starter-test</artifactId>
  46. <scope>test</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.mysql</groupId>
  50. <artifactId>mysql-connector-j</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-configuration-processor</artifactId>
  55. <optional>true</optional>
  56. </dependency>
  57. <!-- JSON工具类 -->
  58. <dependency>
  59. <groupId>com.fasterxml.jackson.core</groupId>
  60. <artifactId>jackson-databind</artifactId>
  61. </dependency>
  62. <!-- pagehelper 分页插件 -->
  63. <dependency>
  64. <groupId>com.github.pagehelper</groupId>
  65. <artifactId>pagehelper-spring-boot-starter</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.alibaba</groupId>
  69. <artifactId>druid-spring-boot-starter</artifactId>
  70. </dependency>
  71. <!-- 解析客户端操作系统、浏览器等 -->
  72. <dependency>
  73. <groupId>eu.bitwalker</groupId>
  74. <artifactId>UserAgentUtils</artifactId>
  75. </dependency>
  76. <!-- 获取系统信息 -->
  77. <dependency>
  78. <groupId>com.github.oshi</groupId>
  79. <artifactId>oshi-core</artifactId>
  80. <version>6.4.3</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.flowable</groupId>
  84. <artifactId>flowable-spring-boot-starter</artifactId>
  85. <version>6.8.1</version>
  86. </dependency>
  87. </dependencies>
  88. <build>
  89. <resources>
  90. <resource>
  91. <directory>src/main/java</directory>
  92. <includes>
  93. <include>**/*.xml</include>
  94. </includes>
  95. </resource>
  96. <resource>
  97. <directory>src/main/resources</directory>
  98. </resource>
  99. </resources>
  100. <plugins>
  101. <plugin>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-maven-plugin</artifactId>
  104. <configuration>
  105. <mainClass>com.trade.admin.TradeAdminApplication</mainClass>
  106. <!-- maven不会将本地jar包 package 到 target jar中,导致生产环境运行失败 -->
  107. <includeSystemScope>true</includeSystemScope>
  108. </configuration>
  109. <executions>
  110. <execution>
  111. <goals>
  112. <goal>repackage</goal>
  113. <!-- <goal>build-info</goal>-->
  114. </goals>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. </project>