pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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.tzld.piaoquan</groupId>
  7. <artifactId>supply-demand-engine</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <artifactId>supply-demand-engine-service</artifactId>
  11. <name>supply-demand-engine-service</name>
  12. <description>supply-demand-engine-service for Spring Boot</description>
  13. <properties>
  14. <java.version>1.8</java.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.tzld.piaoquan</groupId>
  19. <artifactId>supply-demand-engine-core</artifactId>
  20. <version>1.0.0</version>
  21. </dependency>
  22. <!-- Web 层 -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-validation</artifactId>
  30. </dependency>
  31. <!-- API 文档 -->
  32. <dependency>
  33. <groupId>org.springdoc</groupId>
  34. <artifactId>springdoc-openapi-ui</artifactId>
  35. <version>1.7.0</version>
  36. </dependency>
  37. <!-- Lombok,仅在编译期使用 -->
  38. <dependency>
  39. <groupId>org.projectlombok</groupId>
  40. <artifactId>lombok</artifactId>
  41. <scope>provided</scope>
  42. </dependency>
  43. <!-- 注册发现 / 调用 -->
  44. <dependency>
  45. <groupId>org.springframework.cloud</groupId>
  46. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.cloud</groupId>
  50. <artifactId>spring-cloud-starter-openfeign</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.ctrip.framework.apollo</groupId>
  54. <artifactId>apollo-client</artifactId>
  55. </dependency>
  56. <!-- 测试 -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-test</artifactId>
  60. <scope>test</scope>
  61. <exclusions>
  62. <exclusion>
  63. <groupId>org.junit.vintage</groupId>
  64. <artifactId>junit-vintage-engine</artifactId>
  65. </exclusion>
  66. </exclusions>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <finalName>supply-demand-engine-service</finalName>
  71. <plugins>
  72. <plugin>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-maven-plugin</artifactId>
  75. <configuration>
  76. <mainClass>com.tzld.piaoquan.sde.ServiceApplication</mainClass>
  77. <layout>ZIP</layout>
  78. </configuration>
  79. <executions>
  80. <execution>
  81. <goals>
  82. <goal>repackage</goal>
  83. </goals>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. </plugins>
  88. </build>
  89. </project>