pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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.seamew</groupId>
  7. <artifactId>Lottery</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <modules>
  11. <module>lottery-rpc</module>
  12. <module>lottery-interfaces</module>
  13. <module>lottery-common</module>
  14. <module>lottery-infrastructure</module>
  15. <module>lottery-domain</module>
  16. <module>lottery-application</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. <!-- Base -->
  23. <jdk.version>1.8</jdk.version>
  24. <sourceEncoding>UTF-8</sourceEncoding>
  25. </properties>
  26. <parent>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-parent</artifactId>
  29. <version>2.3.5.RELEASE</version>
  30. <relativePath/> <!-- lookup parent from repository -->
  31. </parent>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. </dependency>
  37. </dependencies>
  38. <dependencyManagement>
  39. <dependencies>
  40. <!-- mybatis -->
  41. <dependency>
  42. <groupId>org.mybatis.spring.boot</groupId>
  43. <artifactId>mybatis-spring-boot-starter</artifactId>
  44. <version>2.2.2</version>
  45. </dependency>
  46. <!-- dubbo -->
  47. <dependency>
  48. <groupId>org.apache.dubbo</groupId>
  49. <artifactId>dubbo</artifactId>
  50. <version>2.7.21</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.dubbo</groupId>
  54. <artifactId>dubbo-spring-boot-starter</artifactId>
  55. <version>2.7.21</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.curator</groupId>
  59. <artifactId>curator-framework</artifactId>
  60. <version>4.2.0</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.curator</groupId>
  64. <artifactId>curator-recipes</artifactId>
  65. <version>4.2.0</version>
  66. </dependency>
  67. <!-- 三方工具包 -->
  68. <dependency>
  69. <groupId>cn.hutool</groupId>
  70. <artifactId>hutool-all</artifactId>
  71. <version>5.8.11</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.alibaba</groupId>
  75. <artifactId>fastjson</artifactId>
  76. <version>2.0.23</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.mapstruct</groupId>
  80. <artifactId>mapstruct</artifactId>
  81. <version>1.4.2.Final</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.mapstruct</groupId>
  85. <artifactId>mapstruct-processor</artifactId>
  86. <version>1.4.2.Final</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.xuxueli</groupId>
  90. <artifactId>xxl-job-core</artifactId>
  91. <version>2.3.1</version>
  92. </dependency>
  93. <!-- 分库分表插件 -->
  94. <dependency>
  95. <groupId>com.seamew</groupId>
  96. <artifactId>db-router-spring-boot-starter</artifactId>
  97. <version>1.2-SNAPSHOT</version>
  98. </dependency>
  99. </dependencies>
  100. </dependencyManagement>
  101. <build>
  102. <plugins>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-surefire-plugin</artifactId>
  106. <version>2.20</version>
  107. <configuration>
  108. <skipTests>true</skipTests>
  109. </configuration>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-compiler-plugin</artifactId>
  114. <configuration>
  115. <source>8</source>
  116. <target>8</target>
  117. </configuration>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. </project>