pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. </dependencies>
  37. <dependencyManagement>
  38. <dependencies>
  39. <!-- mybatis -->
  40. <dependency>
  41. <groupId>org.mybatis.spring.boot</groupId>
  42. <artifactId>mybatis-spring-boot-starter</artifactId>
  43. <version>2.2.2</version>
  44. </dependency>
  45. <!-- dubbo -->
  46. <dependency>
  47. <groupId>org.apache.dubbo</groupId>
  48. <artifactId>dubbo</artifactId>
  49. <version>2.7.21</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.dubbo</groupId>
  53. <artifactId>dubbo-spring-boot-starter</artifactId>
  54. <version>2.7.21</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.curator</groupId>
  58. <artifactId>curator-framework</artifactId>
  59. <version>4.2.0</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.curator</groupId>
  63. <artifactId>curator-recipes</artifactId>
  64. <version>4.2.0</version>
  65. </dependency>
  66. <!-- 三方工具包 -->
  67. <dependency>
  68. <groupId>cn.hutool</groupId>
  69. <artifactId>hutool-all</artifactId>
  70. <version>5.8.11</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.alibaba</groupId>
  74. <artifactId>fastjson</artifactId>
  75. <version>2.0.23</version>
  76. </dependency>
  77. </dependencies>
  78. </dependencyManagement>
  79. <build>
  80. <plugins>
  81. <plugin>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-surefire-plugin</artifactId>
  84. <version>2.20</version>
  85. <configuration>
  86. <skipTests>true</skipTests>
  87. </configuration>
  88. </plugin>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-compiler-plugin</artifactId>
  92. <configuration>
  93. <source>8</source>
  94. <target>8</target>
  95. </configuration>
  96. </plugin>
  97. </plugins>
  98. </build>
  99. </project>