pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. </modules>
  17. <properties>
  18. <maven.compiler.source>8</maven.compiler.source>
  19. <maven.compiler.target>8</maven.compiler.target>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <!-- Base -->
  22. <jdk.version>1.8</jdk.version>
  23. <sourceEncoding>UTF-8</sourceEncoding>
  24. </properties>
  25. <parent>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-parent</artifactId>
  28. <version>2.3.5.RELEASE</version>
  29. <relativePath/> <!-- lookup parent from repository -->
  30. </parent>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.projectlombok</groupId>
  34. <artifactId>lombok</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.slf4j</groupId>
  38. <artifactId>slf4j-log4j12</artifactId>
  39. </dependency>
  40. </dependencies>
  41. <dependencyManagement>
  42. <dependencies>
  43. <!-- mybatis -->
  44. <dependency>
  45. <groupId>org.mybatis.spring.boot</groupId>
  46. <artifactId>mybatis-spring-boot-starter</artifactId>
  47. <version>2.2.2</version>
  48. </dependency>
  49. <!-- dubbo -->
  50. <dependency>
  51. <groupId>org.apache.dubbo</groupId>
  52. <artifactId>dubbo</artifactId>
  53. <version>2.7.21</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.dubbo</groupId>
  57. <artifactId>dubbo-spring-boot-starter</artifactId>
  58. <version>2.7.21</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.curator</groupId>
  62. <artifactId>curator-framework</artifactId>
  63. <version>4.2.0</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.curator</groupId>
  67. <artifactId>curator-recipes</artifactId>
  68. <version>4.2.0</version>
  69. </dependency>
  70. <!-- 三方工具包 -->
  71. <dependency>
  72. <groupId>cn.hutool</groupId>
  73. <artifactId>hutool-all</artifactId>
  74. <version>5.8.11</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.alibaba</groupId>
  78. <artifactId>fastjson</artifactId>
  79. <version>2.0.23</version>
  80. </dependency>
  81. </dependencies>
  82. </dependencyManagement>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-surefire-plugin</artifactId>
  88. <version>2.20</version>
  89. <configuration>
  90. <skipTests>true</skipTests>
  91. </configuration>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-compiler-plugin</artifactId>
  96. <configuration>
  97. <source>8</source>
  98. <target>8</target>
  99. </configuration>
  100. </plugin>
  101. </plugins>
  102. </build>
  103. </project>