pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. 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. <groupId>com.platomix</groupId>
  6. <artifactId>platomix-userprofile</artifactId>
  7. <version>2.0</version>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>2.2.13.RELEASE</version>
  12. </parent>
  13. <properties>
  14. <java.version>1.8</java.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <mybatis-plus.version>3.4.2</mybatis-plus.version>
  18. <mybatis-plus-dynamic-datasource.version>3.5.0</mybatis-plus-dynamic-datasource.version>
  19. <p6spy.version>3.8.2</p6spy.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.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-jdbc</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.fasterxml.jackson.core</groupId>
  32. <artifactId>jackson-databind</artifactId>
  33. </dependency>
  34. <!-- dynamic-datasource 依赖配置 -->
  35. <dependency>
  36. <groupId>com.baomidou</groupId>
  37. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  38. <version>${mybatis-plus-dynamic-datasource.version}</version>
  39. </dependency>
  40. <!-- MybatisPlus 依赖配置 -->
  41. <dependency>
  42. <groupId>com.baomidou</groupId>
  43. <artifactId>mybatis-plus-boot-starter</artifactId>
  44. <version>${mybatis-plus.version}</version>
  45. </dependency>
  46. <!-- sql性能监控 <dependency> <groupId>p6spy</groupId> <artifactId>p6spy</artifactId>
  47. <version>${p6spy.version}</version> </dependency> -->
  48. <dependency>
  49. <groupId>com.alibaba</groupId>
  50. <artifactId>druid-spring-boot-starter</artifactId>
  51. <version>1.2.4</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.projectlombok</groupId>
  55. <artifactId>lombok</artifactId>
  56. </dependency>
  57. <!-- JSON 解析器和生成器 -->
  58. <dependency>
  59. <groupId>com.alibaba</groupId>
  60. <artifactId>fastjson</artifactId>
  61. <version>1.2.75</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>cn.hutool</groupId>
  65. <artifactId>hutool-all</artifactId>
  66. <version>5.8.0.M3</version>
  67. </dependency>
  68. <!-- oracle数据库依赖 -->
  69. <dependency>
  70. <groupId>com.oracle</groupId>
  71. <artifactId>ojdbc7</artifactId>
  72. <version>12.2.0.1</version>
  73. <scope>system</scope>
  74. <systemPath>${project.basedir}/lib/ojdbc7-12.2.0.1.jar</systemPath>
  75. </dependency>
  76. <dependency>
  77. <groupId>mysql</groupId>
  78. <artifactId>mysql-connector-java</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.clickhouse</groupId>
  82. <artifactId>clickhouse-jdbc</artifactId>
  83. <version>0.3.2</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-cache</artifactId>
  88. </dependency>
  89. <!-- 缓存处理 -->
  90. <dependency>
  91. <groupId>com.github.ben-manes.caffeine</groupId>
  92. <artifactId>caffeine</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>commons-io</groupId>
  96. <artifactId>commons-io</artifactId>
  97. <version>2.11.0</version>
  98. </dependency>
  99. <!-- swagger <dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>knife4j-spring-boot-starter</artifactId>
  100. <version>2.0.8</version> </dependency> -->
  101. </dependencies>
  102. <build>
  103. <finalName>platomix-userprofile-v${project.version}</finalName>
  104. <resources>
  105. <resource>
  106. <directory>src/main/resources</directory>
  107. <includes>
  108. <include>**/*.txt</include>
  109. <include>**/*.yml</include>
  110. <include>**/*.xml</include>
  111. <include>**/*.sql</include>
  112. </includes>
  113. <filtering>false</filtering>
  114. </resource>
  115. <resource>
  116. <directory>lib/</directory>
  117. <includes>
  118. <include>**/*.jar</include>
  119. </includes>
  120. <filtering>false</filtering>
  121. </resource>
  122. </resources>
  123. <plugins>
  124. <plugin>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-maven-plugin</artifactId>
  127. <configuration>
  128. <finalName>${project.build.finalName}</finalName>
  129. <layers>
  130. <enabled>true</enabled>
  131. </layers>
  132. </configuration>
  133. <executions>
  134. <execution>
  135. <goals>
  136. <goal>repackage</goal>
  137. </goals>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-compiler-plugin</artifactId>
  144. <configuration>
  145. <source>${java.version}</source>
  146. <target>${java.version}</target>
  147. <encoding>UTF-8</encoding>
  148. <compilerArgs>
  149. <arg>-parameters</arg>
  150. </compilerArgs>
  151. </configuration>
  152. </plugin>
  153. </plugins>
  154. </build>
  155. <repositories>
  156. <repository>
  157. <id>alimaven</id>
  158. <name>aliyun maven</name>
  159. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  160. <releases>
  161. <enabled>true</enabled>
  162. </releases>
  163. <snapshots>
  164. <enabled>false</enabled>
  165. </snapshots>
  166. </repository>
  167. </repositories>
  168. <pluginRepositories>
  169. <pluginRepository>
  170. <id>alimaven</id>
  171. <name>aliyun maven</name>
  172. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  173. <releases>
  174. <enabled>true</enabled>
  175. </releases>
  176. <snapshots>
  177. <enabled>false</enabled>
  178. </snapshots>
  179. </pluginRepository>
  180. </pluginRepositories>
  181. </project>