pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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>org.springframework.boot</groupId>-->
  7. <!-- <artifactId>spring-boot-starter-parent</artifactId>-->
  8. <!-- <version>2.5.5</version>-->
  9. <!-- <relativePath/> &lt;!&ndash; lookup parent from repository &ndash;&gt;-->
  10. <groupId>com.pavis.app</groupId>
  11. <artifactId>push-saas</artifactId>
  12. <version>0.0.1</version>
  13. </parent>
  14. <groupId>com.pavis.app</groupId>
  15. <artifactId>common-moudle</artifactId>
  16. <version>0.0.1</version>
  17. <name>common-moudle</name>
  18. <description>Demo project for Spring Boot</description>
  19. <!-- 引入父模块 -->
  20. <properties>
  21. <java.version>1.8</java.version>
  22. <spring-cloud.version>2020.0.4</spring-cloud.version>
  23. <elasticsearch.version>7.6.1</elasticsearch.version>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-web</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.cloud</groupId>
  44. <artifactId>spring-cloud-starter-openfeign</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-devtools</artifactId>
  49. <scope>runtime</scope>
  50. <optional>true</optional>
  51. </dependency>
  52. <dependency>
  53. <groupId>mysql</groupId>
  54. <artifactId>mysql-connector-java</artifactId>
  55. <scope>runtime</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-configuration-processor</artifactId>
  60. <optional>true</optional>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.projectlombok</groupId>
  64. <artifactId>lombok</artifactId>
  65. <optional>true</optional>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.pavis.app</groupId>
  74. <artifactId>saas-backen</artifactId>
  75. <version>0.0.1</version>
  76. </dependency>
  77. </dependencies>
  78. <dependencyManagement>
  79. <dependencies>
  80. <dependency>
  81. <groupId>org.springframework.cloud</groupId>
  82. <artifactId>spring-cloud-dependencies</artifactId>
  83. <version>${spring-cloud.version}</version>
  84. <type>pom</type>
  85. <scope>import</scope>
  86. </dependency>
  87. </dependencies>
  88. </dependencyManagement>
  89. <build>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-maven-plugin</artifactId>
  94. <configuration>
  95. <excludes>
  96. <exclude>
  97. <groupId>org.projectlombok</groupId>
  98. <artifactId>lombok</artifactId>
  99. </exclude>
  100. </excludes>
  101. </configuration>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. </project>