pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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-data-safe</artifactId>
  7. <version>0.0.1</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. <p6spy.version>3.8.2</p6spy.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. <exclusions>
  25. <exclusion>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-tomcat</artifactId>
  28. </exclusion>
  29. </exclusions>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-undertow</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-jdbc</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.fasterxml.jackson.core</groupId>
  41. <artifactId>jackson-databind</artifactId>
  42. </dependency>
  43. <!-- MybatisPlus 依赖配置 -->
  44. <dependency>
  45. <groupId>com.baomidou</groupId>
  46. <artifactId>mybatis-plus-boot-starter</artifactId>
  47. <version>${mybatis-plus.version}</version>
  48. </dependency>
  49. <!-- sql性能监控 -->
  50. <dependency>
  51. <groupId>p6spy</groupId>
  52. <artifactId>p6spy</artifactId>
  53. <version>${p6spy.version}</version>
  54. </dependency>
  55. <!-- <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId>
  56. <version>1.2.4</version> </dependency> -->
  57. <dependency>
  58. <groupId>org.projectlombok</groupId>
  59. <artifactId>lombok</artifactId>
  60. </dependency>
  61. <!-- JSON 解析器和生成器 -->
  62. <dependency>
  63. <groupId>com.alibaba</groupId>
  64. <artifactId>fastjson</artifactId>
  65. <version>1.2.75</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>cn.hutool</groupId>
  69. <artifactId>hutool-all</artifactId>
  70. <version>5.7.9</version>
  71. </dependency>
  72. <!-- clickhouse数据库依赖 -->
  73. <dependency>
  74. <groupId>com.clickhouse</groupId>
  75. <artifactId>clickhouse-jdbc</artifactId>
  76. <version>0.3.2</version>
  77. </dependency>
  78. <!-- 缓存处理 -->
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-cache</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.github.ben-manes.caffeine</groupId>
  85. <artifactId>caffeine</artifactId>
  86. </dependency>
  87. <!--
  88. <dependency>
  89. <groupId>commons-io</groupId>
  90. <artifactId>commons-io</artifactId>
  91. <version>2.6</version>
  92. </dependency>
  93. 文件上传所依赖的jar包
  94. <dependency>
  95. <groupId>commons-fileupload</groupId>
  96. <artifactId>commons-fileupload</artifactId>
  97. <version>1.3.3</version>
  98. </dependency>
  99. -->
  100. </dependencies>
  101. <build>
  102. <finalName>platomix-datasafe</finalName>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-maven-plugin</artifactId>
  107. <configuration>
  108. <finalName>${project.build.finalName}</finalName>
  109. <layers>
  110. <enabled>true</enabled>
  111. </layers>
  112. </configuration>
  113. <executions>
  114. <execution>
  115. <goals>
  116. <goal>repackage</goal>
  117. </goals>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-compiler-plugin</artifactId>
  124. <configuration>
  125. <source>${java.version}</source>
  126. <target>${java.version}</target>
  127. <encoding>UTF-8</encoding>
  128. <compilerArgs>
  129. <arg>-parameters</arg>
  130. </compilerArgs>
  131. </configuration>
  132. </plugin>
  133. </plugins>
  134. </build>
  135. <repositories>
  136. <repository>
  137. <id>alimaven</id>
  138. <name>aliyun maven</name>
  139. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  140. <releases>
  141. <enabled>true</enabled>
  142. </releases>
  143. <snapshots>
  144. <enabled>false</enabled>
  145. </snapshots>
  146. </repository>
  147. </repositories>
  148. <pluginRepositories>
  149. <pluginRepository>
  150. <id>alimaven</id>
  151. <name>aliyun maven</name>
  152. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  153. <releases>
  154. <enabled>true</enabled>
  155. </releases>
  156. <snapshots>
  157. <enabled>false</enabled>
  158. </snapshots>
  159. </pluginRepository>
  160. </pluginRepositories>
  161. </project>