实际开发中,都是复制粘贴。

    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. <parent>
    7. <artifactId>cloud2020</artifactId>
    8. <groupId>com.wzy</groupId>
    9. <version>4.0-SNAPSHOT</version>
    10. </parent>
    11. <modelVersion>4.0.0</modelVersion>
    12. <artifactId>could-provider-payment8001</artifactId>
    13. <!--一下全部都是-->
    14. <dependencies>
    15. <!--包含了sleuth+zipkin-->
    16. <dependency>
    17. <groupId>org.springframework.cloud</groupId>
    18. <artifactId>spring-cloud-starter-zipkin</artifactId>
    19. </dependency>
    20. <!--eureka-client-->
    21. <dependency>
    22. <groupId>org.springframework.cloud</groupId>
    23. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
    24. </dependency>
    25. <!-- 引入自己定义的api通用包,可以使用Payment支付Entity -->
    26. <!--
    27. <dependency>
    28. <groupId>com.atguigu.springcloud</groupId>
    29. <artifactId>cloud-api-commons</artifactId>
    30. <version>${project.version}</version>
    31. </dependency>
    32. -->
    33. <dependency>
    34. <groupId>org.springframework.boot</groupId>
    35. <artifactId>spring-boot-starter-web</artifactId>
    36. </dependency>
    37. <dependency>
    38. <groupId>org.springframework.boot</groupId>
    39. <artifactId>spring-boot-starter-actuator</artifactId>
    40. </dependency>
    41. <dependency>
    42. <groupId>org.mybatis.spring.boot</groupId>
    43. <artifactId>mybatis-spring-boot-starter</artifactId>
    44. </dependency>
    45. <dependency>
    46. <groupId>com.alibaba</groupId>
    47. <artifactId>druid-spring-boot-starter</artifactId>
    48. <version>1.1.10</version>
    49. </dependency>
    50. <!--mysql-connector-java-->
    51. <dependency>
    52. <groupId>mysql</groupId>
    53. <artifactId>mysql-connector-java</artifactId>
    54. </dependency>
    55. <!--jdbc-->
    56. <dependency>
    57. <groupId>org.springframework.boot</groupId>
    58. <artifactId>spring-boot-starter-jdbc</artifactId>
    59. </dependency>
    60. <dependency>
    61. <groupId>org.springframework.boot</groupId>
    62. <artifactId>spring-boot-devtools</artifactId>
    63. <scope>runtime</scope>
    64. <optional>true</optional>
    65. </dependency>
    66. <dependency>
    67. <groupId>org.projectlombok</groupId>
    68. <artifactId>lombok</artifactId>
    69. <optional>true</optional>
    70. </dependency>
    71. <dependency>
    72. <groupId>org.springframework.boot</groupId>
    73. <artifactId>spring-boot-starter-test</artifactId>
    74. <scope>test</scope>
    75. </dependency>
    76. </dependencies>
    77. </project>