pom.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  5. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>com.shop.recycle</groupId>
  8. <artifactId>spring-cloud-log-demo</artifactId>
  9. <version>1.0.0</version>
  10. <packaging>pom</packaging>
  11. <name>Spring Cloud Log Demo</name>
  12. <modules>
  13. <module>shop-recycle-gateway</module>
  14. <module>shop-recycle-order-service</module>
  15. <module>shop-recycle-payment-service</module>
  16. <module>shop-recycle-common</module>
  17. </modules>
  18. <properties>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <maven.compiler.source>1.8</maven.compiler.source>
  21. <maven.compiler.target>1.8</maven.compiler.target>
  22. <spring-boot.version>2.7.0</spring-boot.version>
  23. <spring-cloud.version>2021.0.0</spring-cloud.version>
  24. </properties>
  25. <dependencyManagement>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-dependencies</artifactId>
  30. <version>${spring-boot.version}</version>
  31. <type>pom</type>
  32. <scope>import</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.cloud</groupId>
  36. <artifactId>spring-cloud-dependencies</artifactId>
  37. <version>${spring-cloud.version}</version>
  38. <type>pom</type>
  39. <scope>import</scope>
  40. </dependency>
  41. </dependencies>
  42. </dependencyManagement>
  43. <dependencies>
  44. <!-- Log JSON -->
  45. <dependency>
  46. <groupId>net.logstash.logback</groupId>
  47. <artifactId>logstash-logback-encoder</artifactId>
  48. <version>7.2</version>
  49. </dependency>
  50. <!-- Lombok -->
  51. <dependency>
  52. <groupId>org.projectlombok</groupId>
  53. <artifactId>lombok</artifactId>
  54. <version>1.18.24</version>
  55. <scope>provided</scope>
  56. </dependency>
  57. </dependencies>
  58. <build>
  59. <plugins>
  60. <plugin>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-maven-plugin</artifactId>
  63. <version>${spring-boot.version}</version>
  64. </plugin>
  65. </plugins>
  66. </build>
  67. </project>