pom.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>cn.itlym.platform</groupId>
  7. <artifactId>shoulder-platform-parent</artifactId>
  8. <version>1.0-SNAPSHOT</version><!-- shoulder-platform-version -->
  9. <relativePath>../shoulder-platform-parent/pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>shoulder-platform-starter-db</artifactId>
  13. <dependencies>
  14. <!-- spring boot + shoulder 数据库能力 -->
  15. <dependency>
  16. <groupId>cn.itlym</groupId>
  17. <artifactId>shoulder-data-db</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>cn.itlym</groupId>
  21. <artifactId>shoulder-starter</artifactId>
  22. </dependency>
  23. <!-- 默认使用 mybatis -->
  24. <dependency>
  25. <groupId>com.baomidou</groupId>
  26. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.github.pagehelper</groupId>
  30. <artifactId>pagehelper-spring-boot-starter</artifactId>
  31. </dependency>
  32. <!-- 默认使用 mysql -->
  33. <dependency>
  34. <groupId>com.mysql</groupId>
  35. <artifactId>mysql-connector-j</artifactId>
  36. </dependency>
  37. <!-- 数据库 连接池 默认使用高性能的 beecp (性能是 spring-boot 默认 hikairCP 两倍,功能较少)-->
  38. <dependency>
  39. <groupId>com.github.chris2018998</groupId>
  40. <artifactId>beecp</artifactId>
  41. </dependency>
  42. <!-- beecp 的 starter 官方提供的有 bug 因为其 provide 属性会导致编译失败 -->
  43. <!--<dependency>
  44. <groupId>com.github.chris2018998</groupId>
  45. <artifactId>spring-boot-starter-beecp</artifactId>
  46. <version>1.3.5.RELEASE</version>
  47. </dependency>-->
  48. <!-- 弥补 beecp 的功能缺失(打印SQL日志、监控) -->
  49. <dependency>
  50. <groupId>p6spy</groupId>
  51. <artifactId>p6spy</artifactId>
  52. </dependency>
  53. <!-- 其他推荐连接池-->
  54. <!--
  55. <dependency>
  56. <groupId>com.zaxxer</groupId>
  57. <artifactId>HikariCP</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>druid-spring-boot-starter</artifactId>
  62. </dependency>
  63. -->
  64. <!-- 解决mybatis 和 LocalDateTime 的问题 -->
  65. <dependency>
  66. <groupId>org.mybatis</groupId>
  67. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  68. <version>1.0.2</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.fasterxml.jackson.datatype</groupId>
  72. <artifactId>jackson-datatype-jsr310</artifactId>
  73. </dependency>
  74. <!-- 分布式事务 -->
  75. <!--数据库文档-->
  76. <!--https://gitee.com/enilu/database-doc-generator-->
  77. </dependencies>
  78. </project>