pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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.1.7.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.xin</groupId>
  12. <artifactId>shardingsphere-jdbc-study</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>shardingsphere-jdbc-study</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <shardingsphere.version>4.0.0</shardingsphere.version>
  19. <shardingsphere.spi.impl.version>4.0.0</shardingsphere.spi.impl.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.mybatis.spring.boot</groupId>
  28. <artifactId>mybatis-spring-boot-starter</artifactId>
  29. <version>2.1.2</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>mysql</groupId>
  33. <artifactId>mysql-connector-java</artifactId>
  34. <scope>runtime</scope>
  35. </dependency>
  36. <!-- https://mvnrepository.com/artifact/com.alibaba/druid -->
  37. <dependency>
  38. <groupId>com.alibaba</groupId>
  39. <artifactId>druid</artifactId>
  40. <version>1.1.21</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.baomidou</groupId>
  44. <artifactId>mybatis-plus-boot-starter</artifactId>
  45. <version>3.3.2</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.shardingsphere</groupId>
  49. <artifactId>sharding-jdbc-spring-boot-starter</artifactId>
  50. <version>${shardingsphere.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>io.shardingsphere</groupId>
  54. <artifactId>sharding-jdbc-core</artifactId>
  55. <version>${shardingsphere.version}</version>
  56. </dependency>
  57. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  58. <dependency>
  59. <groupId>com.alibaba</groupId>
  60. <artifactId>fastjson</artifactId>
  61. <version>1.2.41</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-test</artifactId>
  66. <scope>test</scope>
  67. <exclusions>
  68. <exclusion>
  69. <groupId>org.junit.vintage</groupId>
  70. <artifactId>junit-vintage-engine</artifactId>
  71. </exclusion>
  72. </exclusions>
  73. </dependency>
  74. <!--get set-->
  75. <dependency>
  76. <groupId>org.projectlombok</groupId>
  77. <artifactId>lombok</artifactId>
  78. <scope>provided</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.github.pagehelper</groupId>
  82. <artifactId>pagehelper-spring-boot-starter</artifactId>
  83. <version>1.2.10</version>
  84. </dependency>
  85. </dependencies>
  86. <repositories>
  87. <repository>
  88. <id>aliyun-repos</id>
  89. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  90. <snapshots>
  91. <enabled>false</enabled>
  92. </snapshots>
  93. </repository>
  94. </repositories>
  95. <build>
  96. <plugins>
  97. <plugin>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-maven-plugin</artifactId>
  100. </plugin>
  101. </plugins>
  102. </build>
  103. </project>