pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  53. <dependency>
  54. <groupId>com.alibaba</groupId>
  55. <artifactId>fastjson</artifactId>
  56. <version>1.2.41</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-test</artifactId>
  61. <scope>test</scope>
  62. <exclusions>
  63. <exclusion>
  64. <groupId>org.junit.vintage</groupId>
  65. <artifactId>junit-vintage-engine</artifactId>
  66. </exclusion>
  67. </exclusions>
  68. </dependency>
  69. <!--get set-->
  70. <dependency>
  71. <groupId>org.projectlombok</groupId>
  72. <artifactId>lombok</artifactId>
  73. <scope>provided</scope>
  74. </dependency>
  75. </dependencies>
  76. <repositories>
  77. <repository>
  78. <id>aliyun-repos</id>
  79. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  80. <snapshots>
  81. <enabled>false</enabled>
  82. </snapshots>
  83. </repository>
  84. </repositories>
  85. <build>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-maven-plugin</artifactId>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. </project>