pom.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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>com.yushu</groupId>
  7. <artifactId>iot-framework</artifactId>
  8. <version>${revision}</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>iot-spring-boot-starter-mybatis</artifactId>
  13. <packaging>jar</packaging>
  14. <name>${project.artifactId}</name>
  15. <description>数据库连接池、多数据源、事务、MyBatis 拓展</description>
  16. <properties>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.yushu</groupId>
  21. <artifactId>iot-common</artifactId>
  22. </dependency>
  23. <!-- Web 相关 -->
  24. <dependency>
  25. <groupId>com.yushu</groupId>
  26. <artifactId>iot-spring-boot-starter-web</artifactId>
  27. <scope>provided</scope> <!-- 设置为 provided,只有 OncePerRequestFilter 使用到 -->
  28. </dependency>
  29. <!-- DB 相关 -->
  30. <dependency>
  31. <groupId>mysql</groupId>
  32. <artifactId>mysql-connector-java</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.alibaba</groupId>
  36. <artifactId>druid-spring-boot-starter</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.baomidou</groupId>
  40. <artifactId>mybatis-plus-boot-starter</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.baomidou</groupId>
  44. <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
  45. </dependency>
  46. </dependencies>
  47. </project>