pom.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.zt</groupId>
  7. <artifactId>fengYiHanSale</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <modules>
  11. <module>feign</module>
  12. <module>user</module>
  13. <module>order</module>
  14. <module>goodsSku</module>
  15. <module>coupon</module>
  16. <module>common</module>
  17. </modules>
  18. <properties>
  19. <maven.compiler.source>8</maven.compiler.source>
  20. <maven.compiler.target>8</maven.compiler.target>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. </properties>
  23. <dependencyManagement>
  24. <dependencies>
  25. <!--Spring Boot-->
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-dependencies</artifactId>
  29. <version>2.3.2.RELEASE</version>
  30. <type>pom</type>
  31. <scope>import</scope>
  32. </dependency>
  33. <!--spring cloud Netflix-->
  34. <dependency>
  35. <groupId>org.springframework.cloud</groupId>
  36. <artifactId>spring-cloud-dependencies</artifactId>
  37. <version>Hoxton.SR9</version>
  38. <type>pom</type>
  39. <scope>import</scope>
  40. </dependency>
  41. <!--spring cloud 阿里巴巴-->
  42. <dependency>
  43. <groupId>com.alibaba.cloud</groupId>
  44. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  45. <version>2.2.6.RELEASE</version>
  46. <type>pom</type>
  47. <scope>import</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.alibaba</groupId>
  51. <artifactId>druid</artifactId>
  52. <version>1.2.23</version>
  53. </dependency>
  54. </dependencies>
  55. </dependencyManagement>
  56. <build>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-compiler-plugin</artifactId>
  61. <version>3.8.1</version> <!-- 使用最新稳定版本 -->
  62. <configuration>
  63. <source>8</source> <!-- 你想要的Java版本,例如Java 11 -->
  64. <target>8</target>
  65. </configuration>
  66. </plugin>
  67. </plugins>
  68. </build>
  69. </project>