pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.5.3</version>
  10. </parent>
  11. <groupId>com.zoro</groupId>
  12. <artifactId>multiDb</artifactId>
  13. <packaging>jar</packaging>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter</artifactId>
  18. </dependency>
  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-aop</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.oracle.database.jdbc</groupId>
  29. <artifactId>ojdbc8</artifactId>
  30. <version>12.2.0.1</version>
  31. <scope>runtime</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.alibaba</groupId>
  35. <artifactId>druid-spring-boot-starter</artifactId>
  36. <version>1.2.16</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.projectlombok</groupId>
  40. <artifactId>lombok</artifactId>
  41. <version>1.18.20</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.commons</groupId>
  45. <artifactId>commons-lang3</artifactId>
  46. <version>3.10</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.mybatis.spring.boot</groupId>
  50. <artifactId>mybatis-spring-boot-starter</artifactId>
  51. <version>1.3.2</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-test</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.dameng</groupId>
  60. <artifactId>Dm8JdbcDriver18</artifactId>
  61. <version>8.1.1.49</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework</groupId>
  65. <artifactId>spring-jdbc</artifactId>
  66. <version>5.3.4</version>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-resources-plugin</artifactId>
  78. <version>3.1.0</version>
  79. </plugin>
  80. </plugins>
  81. <!-- 如果不添加此节点src/main/java目录下的所有配置文件都会被漏掉。 -->
  82. <resources>
  83. <resource>
  84. <directory>src/main/java</directory>
  85. <includes>
  86. <include>**/*.xml</include>
  87. </includes>
  88. <filtering>false</filtering>
  89. </resource>
  90. <resource>
  91. <directory>src/main/resources</directory>
  92. <includes>
  93. <include>**/*.xml</include>
  94. <include>**/*.yaml</include>
  95. </includes>
  96. </resource>
  97. </resources>
  98. </build>
  99. </project>