pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. <parent>
  7. <groupId>com.seamew</groupId>
  8. <artifactId>Lottery</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>lottery-interfaces</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <dependencies>
  18. <!-- spring -->
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-web</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-test</artifactId>
  26. <scope>test</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-configuration-processor</artifactId>
  31. <optional>true</optional>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-autoconfigure</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-aop</artifactId>
  40. </dependency>
  41. <!-- mysql -->
  42. <dependency>
  43. <groupId>com.seamew</groupId>
  44. <artifactId>db-router-spring-boot-starter</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.mybatis.spring.boot</groupId>
  48. <artifactId>mybatis-spring-boot-starter</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>mysql</groupId>
  52. <artifactId>mysql-connector-java</artifactId>
  53. </dependency>
  54. <!-- dubbo -->
  55. <!--<dependency>-->
  56. <!-- <groupId>org.apache.dubbo</groupId>-->
  57. <!-- <artifactId>dubbo</artifactId>-->
  58. <!--</dependency>-->
  59. <!--<dependency>-->
  60. <!-- <groupId>org.apache.dubbo</groupId>-->
  61. <!-- <artifactId>dubbo-spring-boot-starter</artifactId>-->
  62. <!--</dependency>-->
  63. <!--<dependency>-->
  64. <!-- <groupId>org.apache.curator</groupId>-->
  65. <!-- <artifactId>curator-framework</artifactId>-->
  66. <!--</dependency>-->
  67. <!--<dependency>-->
  68. <!-- <groupId>org.apache.curator</groupId>-->
  69. <!-- <artifactId>curator-recipes</artifactId>-->
  70. <!--</dependency>-->
  71. <!-- 三方工具包 -->
  72. <dependency>
  73. <groupId>org.apache.commons</groupId>
  74. <artifactId>commons-lang3</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.alibaba</groupId>
  78. <artifactId>fastjson</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>junit</groupId>
  82. <artifactId>junit</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.mapstruct</groupId>
  87. <artifactId>mapstruct</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.mapstruct</groupId>
  91. <artifactId>mapstruct-processor</artifactId>
  92. </dependency>
  93. <!-- 业务包 -->
  94. <dependency>
  95. <groupId>com.seamew</groupId>
  96. <artifactId>lottery-infrastructure</artifactId>
  97. <version>1.0-SNAPSHOT</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.seamew</groupId>
  101. <artifactId>lottery-rpc</artifactId>
  102. <version>1.0-SNAPSHOT</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.seamew</groupId>
  106. <artifactId>lottery-domain</artifactId>
  107. <version>1.0-SNAPSHOT</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.seamew</groupId>
  111. <artifactId>lottery-application</artifactId>
  112. <version>1.0-SNAPSHOT</version>
  113. </dependency>
  114. </dependencies>
  115. <build>
  116. <finalName>Lottery</finalName>
  117. <resources>
  118. <resource>
  119. <directory>src/main/resources</directory>
  120. <filtering>true</filtering>
  121. <includes>
  122. <include>**/**</include>
  123. </includes>
  124. </resource>
  125. </resources>
  126. <testResources>
  127. <testResource>
  128. <directory>src/test/resources</directory>
  129. <filtering>true</filtering>
  130. <includes>
  131. <include>**/**</include>
  132. </includes>
  133. </testResource>
  134. </testResources>
  135. <plugins>
  136. <plugin>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-maven-plugin</artifactId>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-compiler-plugin</artifactId>
  143. <configuration>
  144. <source>8</source>
  145. <target>8</target>
  146. </configuration>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. </project>